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 19, 2024
1 parent a7b2abc commit a265829
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 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: [quality, django32, django42, check_keywords]
python-version: ['3.8', '3.12']
toxenv: [quality, django42, check_keywords]
steps:
- uses: actions/checkout@v4
- name: setup pythons
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Change Log
Unreleased
--------------------

* Add support for Python 3.12

[1.8.0]
-------
* Switch from ``edx-sphinx-theme`` to ``sphinx-book-theme`` since the former is
Expand Down
2 changes: 1 addition & 1 deletion edx_rbac/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Library to help managing role based access controls for django apps.
"""

__version__ = '1.8.0'
__version__ = '1.9.0'
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,12 @@ def is_requirement(line):
classifiers=[
'Development Status :: 3 - Alpha',
'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 or later (AGPLv3+)',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8'
'Programming Language :: Python :: 3.12'
],
)
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py38-django{32,42},quality
envlist = py{38,312}-django{42},quality

[doc8]
max-line-length = 120
Expand All @@ -18,8 +18,7 @@ addopts = --cov edx_rbac --cov-report term-missing --cov-report xml
norecursedirs = .* docs requirements venvs

[testenv]
deps =
django32: Django>=3.2,<4.0
deps =
django42: Django>=4.2,<4.3
-r{toxinidir}/requirements/test.txt
allowlist_externals =
Expand Down

0 comments on commit a265829

Please sign in to comment.