graph-pattern-learner
graph-pattern-learner copied to clipboard
Bump chardet from 3.0.3 to 5.1.0
Bumps chardet from 3.0.3 to 5.1.0.
Release notes
Sourced from chardet's releases.
chardet 5.1.0
Features
- Add
should_rename_legacyargument to most functions, which will rename older encodings to their more modern equivalents (e.g.,GB2312becomesGB18030) (#264,@dan-blanchard)- Add capital letter sharp S and ISO-8859-15 support (#222,
@SimonWaldherr)- Add a prober for MacRoman encoding (#5 updated as c292b52a97e57c95429ef559af36845019b88b33, Rob Speer and
@dan-blanchard)- Add
--minimalflag tochardetectcommand (#214,@dan-blanchard)- Add type annotations to the project and run mypy on CI (#261,
@jdufresne)- Add support for Python 3.11 (#274,
@hugovk)Fixes
- Clarify LGPL version in License trove classifier (#255,
@musicinmybrain)- Remove support for EOL Python 3.6 (#260,
@jdufresne)- Remove unnecessary guards for non-falsey values (#259,
@jdufresne)Misc changes
- Switch to Python 3.10 release in GitHub actions (#257,
@jdufresne)- Remove setup.py in favor of build package (#262,
@jdufresne)- Run tests on macos, Windows, and 3.11-dev (#267,
@dan-blanchard)chardet 5.0.0
⚠️ This release is the first release of chardet that no longer supports Python < 3.6 ⚠️
In addition to that change, it features the following user-facing changes:
- Added a prober for Johab Korean (#207,
@grizlupo)- Added a prober for UTF-16/32 BE/LE (#109, #206,
@jpz)- Added test data for Croatian, Czech, Hungarian, Polish, Slovak, Slovene, Greek, and Turkish, which should help prevent future errors with those languages
- Improved XML tag filtering, which should improve accuracy for XML files (#208)
- Tweaked
SingleByteCharSetProberconfidence to match latest uchardet (#209)- Made
detect_allreturn child prober confidences (#210)- Updated examples in docs (#223,
@domdfcoding)- Documentation fixes (#212, #224, #225, #226, #220, #221, #244 from too many to mention)
- Minor performance improvements (#252,
@deedy5)- Add support for Python 3.10 when testing (#232,
@jdufresne)- Lots of little development cycle improvements, mostly thanks to
@jdufresnechardet 4.0.0
⚠️ This will be the last release of chardet to support Python 2.7. chardet 5.0 will only support 3.6+ ⚠️
Major Changes
This release is multiple years in the making, and provides some quality of life improvements to chardet. The primary user-facing changes are:
- Single-byte charset probers now use nested dictionaries under the hood, so they are usually a little faster than before. (See #121 for details)
- The
CharsetGroupProberclass now properly short-circuits when one of the probers in the group is considered a definite match. This lead to a substantial speedup.- There is now a
chardet.detect_allfunction that returns a list of possible encodings for the input with associated confidences.- We have dropped support for Python 2.6, 3.4, and 3.5 as they are all past end-of-life.
The changes in this release have also laid the groundwork for retraining the models to make them more accurate, and to support some more encodings/languages (see #99 for progress). This is our main focus for chardet 5.0 (beyond dropping Python 2 support).
... (truncated)
Commits
8087f00Bump version to 5.1.0041875fRevert "Distinguish between final and intermediate ResultDict (#266)"7264282Add support for Python 3.11 (#274)ac934feIgnore black reformatting for blamefa4c1afFix mypy error99cd852Update black pre-commit0a0aa94Fix linterc6f8e7dStop running jobs twice on PRs85035f5Make sure we have test dependencies when linting5b5e841Add should_rename_legacy flag- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)