Skip to content
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

Merged
merged 34 commits into from Dec 10, 2020
Merged

Release 4.0.0 #140

merged 34 commits into from Dec 10, 2020

Commits on Jun 8, 2017

  1. 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
    dan-blanchard committed Jun 8, 2017
    Copy the full SHA
    ec3bce7 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2017

  1. 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
    mdamien authored and dan-blanchard committed Oct 3, 2017
    Copy the full SHA
    c68f120 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2017

  1. Copy the full SHA
    d7c7343 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2017

  1. Bump version to 4.0.0

    dan-blanchard committed Oct 19, 2017
    Copy the full SHA
    b3d867a View commit details
    Browse the repository at this point in the history
  2. add benchmark script

    dan-blanchard committed Oct 19, 2017
    Copy the full SHA
    d702545 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    8dccd00 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    726973e View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    71a0fad View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2017

  1. 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
    jdufresne committed Oct 21, 2017
    Copy the full SHA
    5b05c5d View commit details
    Browse the repository at this point in the history
  2. Merge pull request #141 from jdufresne/wheel-license

    Include license file in the generated wheel package
    sigmavirus24 committed Oct 21, 2017
    Copy the full SHA
    c4c1ba0 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2017

  1. 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
    jdufresne authored and dan-blanchard committed Dec 11, 2017
    Copy the full SHA
    d94c13b View commit details
    Browse the repository at this point in the history
  2. Remove unused coverage configuration (#142)

    Last use removed in 1f1cf1c.
    jdufresne authored and dan-blanchard committed Dec 11, 2017
    Copy the full SHA
    38b43cd View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2018

  1. Doc the chardet package suitable for production (#144)

    No longer considered "beta".
    jdufresne authored and dan-blanchard committed Jan 18, 2018
    Copy the full SHA
    53914f3 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2018

  1. 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.
    jdufresne authored and dan-blanchard committed Apr 26, 2018
    Copy the full SHA
    d79a194 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2018

  1. Copy the full SHA
    1721846 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2018

  1. Typo fix (#159)

    Bulgairan -> Bulgarian
    saintamh authored and dan-blanchard committed Aug 8, 2018
    Copy the full SHA
    b5194bf View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2019

  1. Copy the full SHA
    440828f View commit details
    Browse the repository at this point in the history
  2. Test Python 3.7 and 3.8 and document support (#175)

    Document that PyPy is also supported.
    jdufresne authored and dan-blanchard committed Nov 11, 2019
    Copy the full SHA
    388501a View commit details
    Browse the repository at this point in the history
  3. 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
    jdufresne authored and dan-blanchard committed Nov 11, 2019
    Copy the full SHA
    a4605d5 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2019

  1. Copy the full SHA
    b411a97 View commit details
    Browse the repository at this point in the history
  2. 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
    jdufresne authored and dan-blanchard committed Nov 12, 2019
    Copy the full SHA
    eb1a10a View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2020

  1. Copy the full SHA
    96f8cff View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2020

  1. Copy the full SHA
    1be32c9 View commit details
    Browse the repository at this point in the history
  2. Adds explicit os and distro definitions

    José Eduardo Montenegro Cavalcanti de Oliveira authored and dan-blanchard committed Dec 8, 2020
    Copy the full SHA
    0608f05 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    5b1d7d5 View commit details
    Browse the repository at this point in the history
  4. 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.
    hrnciar committed Dec 8, 2020
    Copy the full SHA
    4650dbf View commit details
    Browse the repository at this point in the history
  5. 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.
    jdufresne committed Dec 8, 2020
    Copy the full SHA
    6a59c4b View commit details
    Browse the repository at this point in the history
  6. Remove unnecessary numeric placeholders from format strings (#176)

    Has been unnecessary since Python 2.7.
    jdufresne committed Dec 8, 2020
    Copy the full SHA
    e4290b6 View commit details
    Browse the repository at this point in the history
  7. Update links (#152)

    aaaxx committed Dec 8, 2020
    Copy the full SHA
    55ef330 View commit details
    Browse the repository at this point in the history
  8. 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.
    jdufresne committed Dec 8, 2020
    Copy the full SHA
    056a2a4 View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    1db0347 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2020

  1. Copy the full SHA
    a9286f7 View commit details
    Browse the repository at this point in the history
  2. 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
    dan-blanchard committed Dec 10, 2020
    Copy the full SHA
    1e208b7 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    53854fb View commit details
    Browse the repository at this point in the history