New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release 4.0.0 #140
Release 4.0.0 #140
Commits on Jun 8, 2017
-
Convert single-byte charset probers to use nested dicts for language …
…models (#121) * Convert single byte charset modules to use dicts of dicts for language modules - Also provide conversion script * Fix debug logging check * Keep Hungarian commented out until we retrain
Commits on Oct 3, 2017
-
Add API option to get all the encodings confidence #96 (#111)
* Add API option to get all the encodings confidence #96 * make code more straightforward by treating the self.done = True as a real finish point of the analysis * use detect_all instead of detect(.., all=True) * fix corner case of when there is no good prober
Commits on Oct 11, 2017
Commits on Oct 19, 2017
Commits on Oct 21, 2017
-
Include license file in the generated wheel package
The wheel package format supports including the license file. This is done using the [metadata] section in the setup.cfg file. For additional information on this feature, see: https://wheel.readthedocs.io/en/stable/index.html#including-the-license-in-the-generated-wheel-file
-
Merge pull request #141 from jdufresne/wheel-license
Include license file in the generated wheel package
Commits on Dec 11, 2017
-
Drop support for Python 2.6 (#143)
Python 2.6 and 3.3 is EOL and is no longer receiving bug fixes, including security fixes. https://snarky.ca/stop-using-python-2-6/ http://www.curiousefficiency.org/posts/2015/04/stop-supporting-python26.html Fixes #133
-
Remove unused coverage configuration (#142)
Last use removed in 1f1cf1c.
Commits on Jan 18, 2018
-
Doc the chardet package suitable for production (#144)
No longer considered "beta".
Commits on Apr 26, 2018
-
Pass python_requires argument to setuptools (#150)
Helps pip decide what version of the library to install. https://packaging.python.org/tutorials/distributing-packages/#python-requires > If your project only runs on certain Python versions, setting the > python_requires argument to the appropriate PEP 440 version specifier > string will prevent pip from installing the project on other Python > versions. https://setuptools.readthedocs.io/en/latest/setuptools.html#new-and-changed-setup-keywords > python_requires > > A string corresponding to a version specifier (as defined in PEP 440) > for the Python version, used to specify the Requires-Python defined in > PEP 345.
Commits on Jun 26, 2018
-
Update pypi.python.org URL to pypi.org (#155)
For details on the new PyPI, see the blog post: https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html
Commits on Aug 8, 2018
Commits on Nov 11, 2019
-
Test Python 3.7 and 3.8 and document support (#175)
Document that PyPy is also supported.
-
Drop support for end-of-life Python 3.4 (#181)
Python 3.4 went EOL on 2019-03-18. For additional details, see: https://devguide.python.org/devcycle/#end-of-life-branches
Commits on Nov 12, 2019
-
-
Remove deprecated license_file from setup.cfg (#182)
Starting with wheel 0.32.0 (2018-09-29), the "license_file" option is deprecated. https://wheel.readthedocs.io/en/stable/news.html The wheel will continue to include LICENSE, it is now included automatically: https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file
Commits on Nov 1, 2020
Commits on Dec 8, 2020
-
-
-
-
Remove shebang from nonexecutable script (#192)
When packaging chardet and pip (which bundles it) in Fedora, we have realized that there is a nonexecuatble file with a shebang line. It seems that the primary purpose of this file is to be imported from Python code or to be executed via python chardet/cli/chardetect.py or python -m chardet.cli.chardetect and hence the shebang appears to be unnecessary. Shebangs are hard to handle when doing downstream packaging, because it makes sense for upstream to use #!/usr/bin/env python while in the RPM package, we need to avoid that and use a more specific interpreter. Since the shebang was unused, I propose to remove it to avoid the problems.
-
Remove use of deprecated 'setup.py test' (#187)
Since setuptools v41.5.0 (27 Oct 2019), the 'test' command is formally deprecated and should not be used. The pytest-runner package also lists itself as deprecated: https://github.com/pytest-dev/pytest-runner > Deprecation Notice > > pytest-runner depends on deprecated features of setuptools and relies > on features that break security mechanisms in pip. For example > 'setup_requires' and 'tests_require' bypass pip --require-hashes. See > also pypa/setuptools#1684.
-
Remove unnecessary numeric placeholders from format strings (#176)
Has been unnecessary since Python 2.7.
-
-
Remove shebang and executable bit from chardet/cli/chardetect.py (#171)
The CLI entry point is installed by setuptools through the console_scripts option. This setuptools feature automatically constructs a file with a shebang and sets the executable bit. The imported file chardet.cli.chardetect doesn't also require this bit.
-
Commits on Dec 10, 2020
-
-
Properly set CharsetGroupProber.state to FOUND_IT (#203)
Throughout the rest of the chardet code we assume that FOUND_IT means we can stop looking. Previously the CharsetGroupProber did not set its state appropriately when a child prober returned FOUND_IT. This substantially speeds up the chardet for most encodings. Fixes #202
-