Skip to content

Commit fe481ce

Browse files
hugovkborntyping
authored andcommitted
Drop support for EOL Python 3.5
1 parent cdccf3d commit fe481ce

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
runs-on: "ubuntu-latest"
2929
strategy:
3030
matrix:
31-
python-version: ["3.5", "3.6", "3.7", "3.8", "3.9"]
31+
python-version: ["3.6", "3.7", "3.8", "3.9"]
3232
dependencies: ["", "colorama"]
3333
steps:
3434
- uses: "actions/checkout@master"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ Add colours to the output of Python's `logging` module.
1313
Status
1414
------
1515

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

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

colorlog/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@
4747
"TTYColoredFormatter",
4848
)
4949

50-
if sys.version_info < (3, 5):
50+
if sys.version_info < (3, 6):
5151
warnings.warn(
52-
"Colorlog requires Python 3.5 or above. Pin 'colorlog<5' to your dependencies "
52+
"Colorlog requires Python 3.6 or above. Pin 'colorlog<5' to your dependencies "
5353
"if you require compatibility with older versions of Python. See "
5454
"https://github.com/borntyping/python-colorlog#status for more information."
5555
)

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
':sys_platform=="win32"': ["colorama"],
1818
"development": ["black", "flake8", "mypy", "pytest", "types-colorama"],
1919
},
20-
python_requires=">=3.5",
20+
python_requires=">=3.6",
2121
classifiers=[
2222
"Development Status :: 5 - Production/Stable",
2323
"Environment :: Console",
@@ -26,7 +26,6 @@
2626
"Operating System :: OS Independent",
2727
"Programming Language :: Python",
2828
"Programming Language :: Python :: 3",
29-
"Programming Language :: Python :: 3.5",
3029
"Programming Language :: Python :: 3.6",
3130
"Programming Language :: Python :: 3.7",
3231
"Programming Language :: Python :: 3.8",

0 commit comments

Comments
 (0)