diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 494163f8..e5e84066 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,8 +15,8 @@ jobs: strategy: matrix: os: [ubuntu-20.04] - python-version: ['3.8'] - toxenv: [docs, quality, django32, django42] + python-version: ['3.8', '3.12'] + toxenv: [docs, quality, django42] steps: - uses: actions/checkout@v4 diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 41e31c45..3d18ae26 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -11,6 +11,14 @@ Change Log .. There should always be an "Unreleased" section for changes pending release. +[5.10.2] - 2024-02-15 +--------------------- + +Added +~~~~~ +* Added python3.12 support + + [5.10.1] - 2024-01-17 --------------------- diff --git a/edx_django_utils/__init__.py b/edx_django_utils/__init__.py index 25396ddf..e0a21e17 100644 --- a/edx_django_utils/__init__.py +++ b/edx_django_utils/__init__.py @@ -2,7 +2,7 @@ EdX utilities for Django Application development.. """ -__version__ = "5.10.1" +__version__ = "5.10.2" default_app_config = ( "edx_django_utils.apps.EdxDjangoUtilsConfig" diff --git a/requirements/dev.txt b/requirements/dev.txt index e667eefa..0e3f8932 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -92,7 +92,7 @@ exceptiongroup==1.2.0 # pytest factory-boy==3.3.0 # via -r requirements/quality.txt -faker==23.1.0 +faker==23.2.0 # via # -r requirements/quality.txt # factory-boy diff --git a/requirements/doc.in b/requirements/doc.in index 8135a8fd..78d67225 100644 --- a/requirements/doc.in +++ b/requirements/doc.in @@ -9,4 +9,5 @@ readme_renderer # Validates README.rst for usage on PyPI Sphinx # Documentation builder twine factory-boy -pytest #Needed? \ No newline at end of file +pytest #Needed? +wheel \ No newline at end of file diff --git a/requirements/doc.txt b/requirements/doc.txt index 0855b930..1254edec 100644 --- a/requirements/doc.txt +++ b/requirements/doc.txt @@ -67,7 +67,7 @@ factory-boy==3.3.0 # via # -r requirements/doc.in # -r requirements/test.txt -faker==23.1.0 +faker==23.2.0 # via # -r requirements/test.txt # factory-boy @@ -235,6 +235,8 @@ urllib3==2.2.0 # via # requests # twine +wheel==0.42.0 + # via -r requirements/doc.in zipp==3.17.0 # via # importlib-metadata diff --git a/requirements/quality.in b/requirements/quality.in index 738b13f9..3e741c49 100644 --- a/requirements/quality.in +++ b/requirements/quality.in @@ -7,3 +7,4 @@ edx-lint # edX pylint rules and plugins isort # to standardize order of imports pycodestyle # PEP 8 compliance validation pydocstyle # PEP 257 compliance validation + diff --git a/requirements/quality.txt b/requirements/quality.txt index 0bacf24f..bcf14dd6 100644 --- a/requirements/quality.txt +++ b/requirements/quality.txt @@ -53,7 +53,7 @@ exceptiongroup==1.2.0 # pytest factory-boy==3.3.0 # via -r requirements/test.txt -faker==23.1.0 +faker==23.2.0 # via # -r requirements/test.txt # factory-boy diff --git a/requirements/test.txt b/requirements/test.txt index b8626fe6..81a038b0 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -33,7 +33,7 @@ exceptiongroup==1.2.0 # via pytest factory-boy==3.3.0 # via -r requirements/test.in -faker==23.1.0 +faker==23.2.0 # via factory-boy iniconfig==2.0.0 # via pytest diff --git a/setup.py b/setup.py index 19c8d394..89bcf132 100644 --- a/setup.py +++ b/setup.py @@ -127,12 +127,12 @@ def is_requirement(line): classifiers=[ 'Development Status :: 3 - Alpha', 'Framework :: Django', - 'Framework :: Django :: 3.2', 'Framework :: Django :: 4.2', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Natural Language :: English', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.12', ], ) diff --git a/tox.ini b/tox.ini index 328b95d7..f82d62cb 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py38-django{32, 42} +envlist = py{38,312}-django{42} [doc8] ignore = D000, D001 @@ -37,7 +37,6 @@ norecursedirs = .* docs requirements [testenv] deps = - django32: Django>=3.2,<4.0 django42: Django>=4.2,<4.3 -r{toxinidir}/requirements/test.txt commands = @@ -71,7 +70,8 @@ allowlist_externals = touch deps = -r{toxinidir}/requirements/quality.txt -commands = + setuptools +commands = touch tests/__init__.py pylint edx_django_utils tests test_utils manage.py setup.py rm tests/__init__.py @@ -85,6 +85,6 @@ allowlist_externals = make deps = -r{toxinidir}/requirements/quality.txt -commands = +commands = isort tests test_utils edx_django_utils manage.py setup.py test_settings.py