Skip to content

Commit

Permalink
chore: Drop support for Python 3.8
Browse files Browse the repository at this point in the history
Python 3.8 will end security support on 2024-10-31; drop support
for Python 3.8 in this plugin.
  • Loading branch information
Maari Tamm committed Oct 3, 2024
1 parent daf98c1 commit cf549a5
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 11 deletions.
1 change: 0 additions & 1 deletion .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ jobs:
strategy:
matrix:
python-version:
- 3.8
- 3.9
- "3.10"
- 3.11
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Unreleased
----------------------------
* Drop support for Python 3.8.

When updating your plugin to this version, you'll need to rebuild the image.

Version 1.6.0 (2024-08-07)
----------------------------
* [Enhancement] Support Tutor 18 and Open edX Redwood.
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ appropriate one:
|------------------|-------------------|------------------------|---------------|----------------|
| Lilac | `>=12.0, <13` | Not supported | Not supported | Not supported |
| Maple | `>=13.2, <14`[^1] | `>=6.0, <7.0` | `maple` | 0.3.x |
| Nutmeg | `>=14.0, <15` | `>=7.0, <7.12` | `quince` | `>=1.0, <1.6` |
| Olive | `>=15.0, <16` | `>=7.0, <7.12` | `quince` | `>=1.0, <1.6` |
| Palm | `>=16.0, <17` | `>=7.0, <7.12` | `quince` | `>=1.0, <1.6` |
| Quince | `>=17.0, <18` | `>=7.0, <7.12` | `quince` | `>=1.0, <1.6` |
| Redwood | `>=18.0, <19` | `>=7.12.0` | `main` | `>=1.6.x` |
| Nutmeg | `>=14.0, <15` | `>=7.0, <7.12` | `quince` | `>=1.0, <2` |
| Olive | `>=15.0, <16` | `>=7.0, <7.12` | `quince` | `>=1.0, <2` |
| Palm | `>=16.0, <17` | `>=7.0, <7.12` | `quince` | `>=1.0, <2` |
| Quince | `>=17.0, <18` | `>=7.0, <7.12` | `quince` | `>=1.0, <2` |
| Redwood | `>=18.0, <19` | `>=7.12.0` | `main` | `>=2` |

[^1]: For Open edX Maple and Tutor 13, you must run version 13.2.0 or
later. That is because this plugin uses the Tutor v1 plugin API,
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def load_readme():
long_description_content_type='text/markdown',
packages=find_packages(exclude=["tests*"]),
include_package_data=True,
python_requires=">=3.8",
python_requires=">=3.9",
install_requires=["tutor <19, >=14.0.0"],
setup_requires=["setuptools-scm"],
entry_points={
Expand All @@ -40,7 +40,6 @@ def load_readme():
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
[tox]
envlist = gitlint,py{38,39,310,311,312},flake8
envlist = gitlint,py{39,310,311,312},flake8

[gh-actions]
python =
3.8: gitlint,py38,flake8
3.9: gitlint,py39,flake8
3.10: gitlint,py310,flake8
3.11: gitlint,py311,flake8
Expand Down
2 changes: 1 addition & 1 deletion tutorhastexo/templates/hastexo/build/hastexo/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.8
FROM python:3.11
ENV PYTHONUNBUFFERED 1
ARG HASTEXO_XBLOCK_GIT_REPOSITORY=https://github.com/hastexo/hastexo-xblock.git
ARG HASTEXO_XBLOCK_VERSION={{ HASTEXO_XBLOCK_VERSION }}
Expand Down

0 comments on commit cf549a5

Please sign in to comment.