Skip to content

Commit

Permalink
Drop support for EOL Python 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored and borntyping committed Jun 14, 2021
1 parent cdccf3d commit fe481ce
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
runs-on: "ubuntu-latest"
strategy:
matrix:
python-version: ["3.5", "3.6", "3.7", "3.8", "3.9"]
python-version: ["3.6", "3.7", "3.8", "3.9"]
dependencies: ["", "colorama"]
steps:
- uses: "actions/checkout@master"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ Add colours to the output of Python's `logging` module.
Status
------

colorlog currently requires Python 3.5 or higher. Older versions (below 5.x.x)
colorlog currently requires Python 3.6 or higher. Older versions (below 5.x.x)
support Python 2.6 and above.

* colorlog 6.x requires Python 3.5 or higher.
* colorlog 6.x requires Python 3.6 or higher.
* colorlog 5.x is an interim version that will warn Python 2 users to downgrade.
* colorlog 4.x is the final version supporting Python 2.

Expand Down
4 changes: 2 additions & 2 deletions colorlog/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
"TTYColoredFormatter",
)

if sys.version_info < (3, 5):
if sys.version_info < (3, 6):
warnings.warn(
"Colorlog requires Python 3.5 or above. Pin 'colorlog<5' to your dependencies "
"Colorlog requires Python 3.6 or above. Pin 'colorlog<5' to your dependencies "
"if you require compatibility with older versions of Python. See "
"https://github.com/borntyping/python-colorlog#status for more information."
)
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
':sys_platform=="win32"': ["colorama"],
"development": ["black", "flake8", "mypy", "pytest", "types-colorama"],
},
python_requires=">=3.5",
python_requires=">=3.6",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
Expand All @@ -26,7 +26,6 @@
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
Expand Down

0 comments on commit fe481ce

Please sign in to comment.