From 28edf106c45e26d4f03e923b360bc9da2151fdb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Tue, 30 Nov 2021 10:47:08 +0100 Subject: [PATCH] chore: drop python 3.5 compatibility Python 3.5 has reached end of life in September 3.5. Anyway, Tutor was not compatible because some dev dependencies, such as astroid 2.8.3, are no longer available in 3.5. This means that we can now start using many python 3.6 niceties, such as f-strings \o/ --- CHANGELOG-nightly.md | 1 + setup.py | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG-nightly.md b/CHANGELOG-nightly.md index f240b3c..665d430 100644 --- a/CHANGELOG-nightly.md +++ b/CHANGELOG-nightly.md @@ -2,6 +2,7 @@ Note: Breaking changes between versions are indicated by "💥". +- 💥[Improvement] Drop Python 3.5 compatibility. - [Bugfix] Fix docker-compose project name in development on nightly branch. - 💥[Bugfix] No longer track the Tutor version number in resource labels (and label selectors, which breaks the update of Deployment resources), but instead do so in resource annotations. - [Bugfix] Make it possible for plugins to implement the "caddyfile" patch without relying on the "port" local variable. diff --git a/setup.py b/setup.py index 982c941..2f77aaa 100644 --- a/setup.py +++ b/setup.py @@ -52,7 +52,7 @@ setup( long_description_content_type="text/x-rst", packages=find_packages(exclude=["tests*"]), include_package_data=True, - python_requires=">=3.5", + python_requires=">=3.6", install_requires=load_requirements(), entry_points={"console_scripts": ["tutor=tutor.commands.cli:main"]}, classifiers=[ @@ -61,7 +61,6 @@ setup( "License :: OSI Approved :: GNU Affero General Public License v3", "Operating System :: OS Independent", "Programming Language :: Python", - "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8",