Skip to content

Commit

Permalink
build: adding python 312 support.
Browse files Browse the repository at this point in the history
  • Loading branch information
awais786 committed Feb 15, 2024
1 parent 280a76b commit fd3417d
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
---------------------

Expand Down
2 changes: 1 addition & 1 deletion edx_django_utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion requirements/doc.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ readme_renderer # Validates README.rst for usage on PyPI
Sphinx # Documentation builder
twine
factory-boy
pytest #Needed?
pytest #Needed?
wheel
4 changes: 3 additions & 1 deletion requirements/doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions requirements/quality.in
Original file line number Diff line number Diff line change
Expand Up @@ -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

2 changes: 1 addition & 1 deletion requirements/quality.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
],
)
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py38-django{32, 42}
envlist = py{38,312}-django{42}

[doc8]
ignore = D000, D001
Expand Down Expand Up @@ -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 =
Expand Down Expand Up @@ -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
Expand All @@ -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

0 comments on commit fd3417d

Please sign in to comment.