Skip to content

Commit

Permalink
feat: add support for python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
irtazaakram committed Feb 16, 2024
1 parent 652a94f commit 8f28b71
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04]
python-version: ['3.8']
toxenv: [django32, django40, django42, quality]
python-version: ['3.8', '3.12']
toxenv: [django42, quality]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion organizations/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""
edx-organizations app initialization module
"""
__version__ = '6.12.1' # pragma: no cover
__version__ = '6.13.0' # pragma: no cover
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,14 @@ def get_version(*file_paths):
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 3.2',
'Framework :: Django :: 4.0',
'Framework :: Django :: 4.2',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.12',
],
packages=find_packages(exclude=['tests']),
install_requires=load_requirements('requirements/base.in'),
Expand Down
6 changes: 2 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
[tox]
envlist = py38-django{32,40,42}, quality
envlist = py{38,312}-django{42}, quality

[testenv]
setenv =
DJANGO_SETTINGS_MODULE = test_settings
PYTHONPATH = {toxinidir}
deps =
django32: Django>=3.2,<4.0
django40: Django>=4.0,<4.1
django42: Django>=4.2,<4.3
-rtest-requirements.txt
commands =
Expand All @@ -18,7 +16,7 @@ commands =
setenv =
PYTHONPATH = {toxinidir}
deps =
Django>=3.2,<4.0
Django>=4.2,<4.3
-rtest-requirements.txt
commands =
pycodestyle organizations
Expand Down

0 comments on commit 8f28b71

Please sign in to comment.