diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1284a46a..f9a8940e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] # Add macos-latest later? - python-version: ['3.11', '3.12'] + python-version: ['3.12'] toxenv: ["django52", "package", "quality"] mysql-version: ["8"] services: diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 57c7ed41..3139bf89 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 pip run: pip install -r requirements/pip.txt diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 8d28a715..e1d54e12 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -10,6 +10,6 @@ sphinx: configuration: docs/conf.py python: - version: 3.11 + version: 3.12 install: - requirements: requirements/doc.txt diff --git a/requirements/base.txt b/requirements/base.txt index 4b248e30..dc1d689a 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 @@ -88,7 +88,7 @@ kombu==5.6.2 # via celery packaging==26.0 # via kombu -pillow==12.1.0 +pillow==12.1.1 # via edx-organizations prompt-toolkit==3.0.52 # via click-repl @@ -137,3 +137,6 @@ vine==5.1.0 # kombu wcwidth==0.6.0 # via prompt-toolkit + +# The following packages are considered to be unsafe in a requirements file: +# setuptools diff --git a/requirements/ci.txt b/requirements/ci.txt index b51e23d7..fc5012e1 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -1,16 +1,16 @@ # -# 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.4 +cachetools==7.0.5 # via tox colorama==0.4.6 # via tox distlib==0.4.0 # via virtualenv -filelock==3.25.0 +filelock==3.25.1 # via # python-discovery # tox @@ -28,11 +28,11 @@ pluggy==1.6.0 # via tox pyproject-api==1.10.0 # via tox -python-discovery==1.1.1 +python-discovery==1.1.3 # via virtualenv tomli-w==1.2.0 # via tox -tox==4.49.0 +tox==4.49.1 # via -r requirements/ci.in -virtualenv==21.1.0 +virtualenv==21.2.0 # via tox diff --git a/requirements/dev.txt b/requirements/dev.txt index 81fcb842..a35be818 100644 --- a/requirements/dev.txt +++ b/requirements/dev.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 @@ -19,10 +19,6 @@ astroid==4.0.4 # pylint-celery attrs==25.4.0 # via -r requirements/quality.txt -backports-tarfile==1.2.0 - # via - # -r requirements/quality.txt - # jaraco-context billiard==4.2.4 # via # -r requirements/quality.txt @@ -31,7 +27,7 @@ build==1.4.0 # via # -r requirements/pip-tools.txt # pip-tools -cachetools==7.0.4 +cachetools==7.0.5 # via # -r requirements/ci.txt # tox @@ -185,7 +181,7 @@ edx-drf-extensions==10.6.0 # via # -r requirements/quality.txt # edx-organizations -edx-i18n-tools==1.9.0 +edx-i18n-tools==2.0.0 # via -r requirements/dev.in edx-lint==5.6.0 # via -r requirements/quality.txt @@ -196,7 +192,7 @@ edx-opaque-keys==3.1.0 # edx-organizations edx-organizations==7.3.0 # via -r requirements/quality.txt -filelock==3.25.0 +filelock==3.25.1 # via # -r requirements/ci.txt # python-discovery @@ -218,10 +214,6 @@ idna==3.11 # requests import-linter==2.11 # via -r requirements/quality.txt -importlib-metadata==8.7.1 - # via - # -r requirements/quality.txt - # keyring iniconfig==2.3.0 # via # -r requirements/quality.txt @@ -323,7 +315,7 @@ pathspec==1.0.4 # via # -r requirements/quality.txt # mypy -pillow==12.1.0 +pillow==12.1.1 # via # -r requirements/quality.txt # edx-organizations @@ -426,7 +418,7 @@ python-dateutil==2.9.0.post0 # -r requirements/quality.txt # celery # freezegun -python-discovery==1.1.1 +python-discovery==1.1.3 # via # -r requirements/ci.txt # virtualenv @@ -504,7 +496,7 @@ tomlkit==0.14.0 # via # -r requirements/quality.txt # pylint -tox==4.49.0 +tox==4.49.1 # via -r requirements/ci.txt twine==6.2.0 # via -r requirements/quality.txt @@ -543,7 +535,7 @@ vine==5.1.0 # amqp # celery # kombu -virtualenv==21.1.0 +virtualenv==21.2.0 # via # -r requirements/ci.txt # tox @@ -555,10 +547,6 @@ wheel==0.46.3 # via # -r requirements/pip-tools.txt # pip-tools -zipp==3.23.0 - # via - # -r requirements/quality.txt - # importlib-metadata # The following packages are considered to be unsafe in a requirements file: # pip diff --git a/requirements/doc.txt b/requirements/doc.txt index 7ba1ccbc..8d4fafd9 100644 --- a/requirements/doc.txt +++ b/requirements/doc.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 @@ -220,14 +220,13 @@ packaging==26.0 # via # -r requirements/test.txt # kombu - # pydata-sphinx-theme # pytest # sphinx pathspec==1.0.4 # via # -r requirements/test.txt # mypy -pillow==12.1.0 +pillow==12.1.1 # via # -r requirements/test.txt # edx-organizations @@ -250,7 +249,7 @@ pycparser==3.0 # via # -r requirements/test.txt # cffi -pydata-sphinx-theme==0.15.4 +pydata-sphinx-theme==0.16.1 # via sphinx-book-theme pygments==2.19.2 # via @@ -326,13 +325,13 @@ snowballstemmer==3.0.1 # via sphinx soupsieve==2.8.3 # via beautifulsoup4 -sphinx==9.0.4 +sphinx==9.1.0 # via # -r requirements/doc.in # pydata-sphinx-theme # sphinx-book-theme # sphinxcontrib-django -sphinx-book-theme==1.1.4 +sphinx-book-theme==1.2.0 # via -r requirements/doc.in sphinxcontrib-applehelp==2.0.0 # via sphinx @@ -405,3 +404,6 @@ wcwidth==0.6.0 # via # -r requirements/test.txt # prompt-toolkit + +# The following packages are considered to be unsafe in a requirements file: +# setuptools diff --git a/requirements/pip-tools.txt b/requirements/pip-tools.txt index c952cd2a..d89516b8 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 35dcee6b..c87fe302 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 @@ -12,5 +12,5 @@ wheel==0.46.3 # The following packages are considered to be unsafe in a requirements file: pip==26.0.1 # via -r requirements/pip.in -setuptools==82.0.0 +setuptools==82.0.1 # via -r requirements/pip.in diff --git a/requirements/quality.txt b/requirements/quality.txt index bbbf2e5c..1120d216 100644 --- a/requirements/quality.txt +++ b/requirements/quality.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,8 +18,6 @@ astroid==4.0.4 # pylint-celery attrs==25.4.0 # via -r requirements/test.txt -backports-tarfile==1.2.0 - # via jaraco-context billiard==4.2.4 # via # -r requirements/test.txt @@ -174,8 +172,6 @@ idna==3.11 # requests import-linter==2.11 # via -r requirements/test.txt -importlib-metadata==8.7.1 - # via keyring iniconfig==2.3.0 # via # -r requirements/test.txt @@ -248,7 +244,7 @@ pathspec==1.0.4 # via # -r requirements/test.txt # mypy -pillow==12.1.0 +pillow==12.1.1 # via # -r requirements/test.txt # edx-organizations @@ -422,5 +418,6 @@ wcwidth==0.6.0 # via # -r requirements/test.txt # prompt-toolkit -zipp==3.23.0 - # via importlib-metadata + +# The following packages are considered to be unsafe in a requirements file: +# setuptools diff --git a/requirements/test.txt b/requirements/test.txt index 6187133e..ab6c759b 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 @@ -179,7 +179,7 @@ packaging==26.0 # pytest pathspec==1.0.4 # via mypy -pillow==12.1.0 +pillow==12.1.1 # via # -r requirements/base.txt # edx-organizations @@ -301,3 +301,6 @@ wcwidth==0.6.0 # via # -r requirements/base.txt # prompt-toolkit + +# The following packages are considered to be unsafe in a requirements file: +# setuptools diff --git a/setup.py b/setup.py index 6b525318..d451c1d6 100755 --- a/setup.py +++ b/setup.py @@ -75,7 +75,7 @@ def is_requirement(line): packages=find_packages("src"), include_package_data=True, install_requires=load_requirements('requirements/base.in'), - python_requires=">=3.11", + python_requires=">=3.12", license="AGPL 3.0", zip_safe=False, keywords='Python edx', @@ -87,7 +87,6 @@ def is_requirement(line): 'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)', 'Natural Language :: English', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', ], ) diff --git a/src/openedx_core/__init__.py b/src/openedx_core/__init__.py index 3fab244c..8f0c306f 100644 --- a/src/openedx_core/__init__.py +++ b/src/openedx_core/__init__.py @@ -6,4 +6,4 @@ """ # The version for the entire repository -__version__ = "0.36.0" +__version__ = "0.37.0" diff --git a/tox.ini b/tox.ini index 0752b66c..e432cf83 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{311,312}-django{52}, quality, docs, pii_check, lint-imports +envlist = py312-django{52}, quality, docs, pii_check, lint-imports [doc8] ; D001 = Line too long