From 174c82ee1321e14bcd238e45b747203131f2e599 Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Sat, 7 Mar 2026 19:41:37 -0500 Subject: [PATCH 1/3] chore: drop Python 3.11 support Remove Python 3.11 from CI matrix, tox envlist, setup.py classifiers, and pypi-publish.yml. Update python_requires to >=3.12. Part of the broader effort to drop 3.11 across openedx repos: https://github.com/openedx/public-engineering/issues/499 Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/ci.yml | 2 +- .github/workflows/pypi-publish.yml | 2 +- setup.py | 3 +-- tox.ini | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 238fa05..23f1639 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python-version: ['3.11', '3.12'] + python-version: ['3.12'] toxenv: [django42, django52, quality, package] steps: diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 66103a7..87a9f1a 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -15,7 +15,7 @@ jobs: - name: setup python uses: actions/setup-python@v6 with: - python-version: 3.11 + python-version: 3.12 - name: Install Dependencies run: pip install -r requirements/pip.txt diff --git a/setup.py b/setup.py index 2d6385f..47ca914 100644 --- a/setup.py +++ b/setup.py @@ -114,7 +114,6 @@ def package_data(pkg, root_list): long_description_content_type='text/markdown', classifiers=[ 'Programming Language :: Python', - 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', 'Framework :: Django', 'Framework :: Django :: 4.2', @@ -127,5 +126,5 @@ def package_data(pkg, root_list): }, packages=['image_explorer'], package_data=package_data("image_explorer", ["static", "templates", "public", "translations"]), - python_requires=">=3.11", + python_requires=">=3.12", ) diff --git a/tox.ini b/tox.ini index d5ff1ea..61febf1 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{311,312}-django{42,52},quality,package +envlist = py312-django{42,52},quality,package [pytest] DJANGO_SETTINGS_MODULE = workbench.settings From f1c2f6636082e677d6b7e319e771884c749d4ed8 Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Sat, 7 Mar 2026 19:42:35 -0500 Subject: [PATCH 2/3] chore: regenerate requirements with Python 3.12 Co-Authored-By: Claude Sonnet 4.6 --- requirements/base.txt | 8 ++++---- requirements/ci.txt | 12 +++++++----- requirements/pip-tools.txt | 2 +- requirements/pip.txt | 2 +- requirements/test.txt | 16 +++++++--------- 5 files changed, 20 insertions(+), 20 deletions(-) diff --git a/requirements/base.txt b/requirements/base.txt index 3648167..c69d746 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.11 +# This file is autogenerated by pip-compile with Python 3.12 # by the following command: # # make upgrade @@ -8,13 +8,13 @@ appdirs==1.4.4 # via fs asgiref==3.11.1 # via django -boto3==1.42.59 +boto3==1.42.63 # via fs-s3fs -botocore==1.42.59 +botocore==1.42.63 # via # boto3 # s3transfer -django==5.2.11 +django==5.2.12 # via # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt # openedx-django-pyfs diff --git a/requirements/ci.txt b/requirements/ci.txt index 92d8831..748a1aa 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -1,10 +1,10 @@ # -# This file is autogenerated by pip-compile with Python 3.11 +# This file is autogenerated by pip-compile with Python 3.12 # by the following command: # # make upgrade # -cachetools==7.0.2 +cachetools==7.0.3 # via tox colorama==0.4.6 # via tox @@ -19,7 +19,7 @@ packaging==26.0 # via # pyproject-api # tox -platformdirs==4.9.2 +platformdirs==4.9.4 # via # python-discovery # tox @@ -28,9 +28,11 @@ pluggy==1.6.0 # via tox pyproject-api==1.10.0 # via tox -python-discovery==1.1.0 +python-discovery==1.1.1 # via virtualenv -tox==4.47.0 +tomli-w==1.2.0 + # via tox +tox==4.49.0 # via -r requirements/ci.in virtualenv==21.1.0 # via tox diff --git a/requirements/pip-tools.txt b/requirements/pip-tools.txt index c952cd2..d89516b 100644 --- a/requirements/pip-tools.txt +++ b/requirements/pip-tools.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.11 +# This file is autogenerated by pip-compile with Python 3.12 # by the following command: # # make upgrade diff --git a/requirements/pip.txt b/requirements/pip.txt index 35dcee6..084d708 100644 --- a/requirements/pip.txt +++ b/requirements/pip.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.11 +# This file is autogenerated by pip-compile with Python 3.12 # by the following command: # # make upgrade diff --git a/requirements/test.txt b/requirements/test.txt index 33f6ca6..1b0ee97 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.11 +# This file is autogenerated by pip-compile with Python 3.12 # by the following command: # # make upgrade @@ -18,22 +18,20 @@ astroid==4.0.4 # via # pylint # pylint-celery -binaryornot==0.4.4 +binaryornot==0.5.0 # via cookiecutter -boto3==1.42.59 +boto3==1.42.63 # via # -r requirements/base.txt # fs-s3fs -botocore==1.42.59 +botocore==1.42.63 # via # -r requirements/base.txt # boto3 # s3transfer certifi==2026.2.25 # via requests -chardet==6.0.0.post1 - # via binaryornot -charset-normalizer==3.4.4 +charset-normalizer==3.4.5 # via requests click==8.3.1 # via @@ -45,7 +43,7 @@ click-log==0.4.0 # via edx-lint code-annotations==2.3.2 # via edx-lint -cookiecutter==2.7.0 +cookiecutter==2.7.1 # via xblock-sdk coverage[toml]==7.13.4 # via pytest-cov @@ -117,7 +115,7 @@ openedx-django-pyfs==3.8.0 # xblock packaging==26.0 # via pytest -platformdirs==4.9.2 +platformdirs==4.9.4 # via pylint pluggy==1.6.0 # via From fd3e0efafdb01da6b6715229580c9407aae847f1 Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Sat, 7 Mar 2026 19:42:44 -0500 Subject: [PATCH 3/3] chore: bump version to 3.1.1 Co-Authored-By: Claude Sonnet 4.6 --- image_explorer/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image_explorer/__init__.py b/image_explorer/__init__.py index 464bf53..3a606ad 100644 --- a/image_explorer/__init__.py +++ b/image_explorer/__init__.py @@ -22,4 +22,4 @@ """ from .image_explorer import ImageExplorerBlock -__version__ = '3.1.0' +__version__ = '3.1.1'