Skip to content

Commit

Permalink
🔥 Drop the support for EOL Python 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Ousret committed Jan 29, 2023
1 parent 9b216b5 commit 7ba00d8
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 31 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/mypyc-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, "3.10"]
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
os: [ubuntu-latest]

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ 3.6, 3.7, 3.8, 3.9, "3.10", "3.11" ]
python-version: [ 3.7, 3.8, 3.9, "3.10", "3.11" ]
os: [ ubuntu-latest ]

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, "3.10", "3.11", "3.12-dev"]
python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12-dev"]
os: [ubuntu-latest]

steps:
Expand Down
7 changes: 3 additions & 4 deletions build-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# in the meantime we migrate to pyproject.toml
# this represent the minimum requirement to build (for the optional speedup)
mypy==0.991; python_version >= "3.7"
mypy==0.971; python_version < "3.7"
build==0.9.0
wheel==0.37.1
mypy==0.991
build==0.10.0
wheel==0.38.4
2 changes: 1 addition & 1 deletion charset_normalizer/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
Expose version
"""

__version__ = "3.0.1"
__version__ = "3.1.0-dev0"
VERSION = __version__.split(".")
31 changes: 10 additions & 21 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,24 +1,13 @@
flake8==5.0.4
chardet==5.0.0
isort==5.10.1
chardet==5.1.0
isort==5.11.4
codecov==2.1.12
pytest-cov==4.0.0
build==0.9.0
wheel==0.37.1

# The vast majority of project dropped Python 3.6
# This is to ensure build are reproducible >=3.6
black==22.8.0; python_version < "3.7"
black==22.10.0; python_version >= "3.7"

mypy==0.991; python_version >= "3.7"
mypy==0.971; python_version < "3.7"

Flask==2.2.2; python_version >= "3.7"
Flask==2.0.3; python_version < "3.7"

pytest==7.0.0; python_version < "3.7"
pytest==7.2.0; python_version >= "3.7"

requests==2.27.1; python_version < "3.7"
requests==2.28.1; python_version >= "3.7"
build==0.10.0
wheel==0.38.4

black==22.12.0
mypy==0.991
Flask==2.2.2
pytest==7.2.1
requests==2.28.2
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ url = https://github.com/Ousret/charset_normalizer
license = MIT
author_email = [email protected]
author = Ahmed TAHRI
python_requires = >=3.6.0
python_requires = >=3.7.0
project_urls =
Bug Reports = https://github.com/Ousret/charset_normalizer/issues
Documentation = https://charset-normalizer.readthedocs.io/en/latest
Expand All @@ -20,7 +20,6 @@ classifiers =
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Expand Down

0 comments on commit 7ba00d8

Please sign in to comment.