Skip to content

Commit

Permalink
Merge pull request #212 from CZ-NIC/extend-support
Browse files Browse the repository at this point in the history
Drop old django versions and add new ones
  • Loading branch information
tpazderka authored Jul 3, 2023
2 parents e9cce17 + 7bcb9b8 commit 7c53b77
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python: [3.7, 3.8, 3.9, "3.10"]
python: [3.7, 3.8, 3.9, "3.10", "3.11"]

steps:
- uses: actions/checkout@v3
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# Changelog #
## Unreleased
* Removed support for Django 3.0 and 3.1
* Added support for Django 4.1 and 4.2
* Added support for Python 3.11

## 1.2.1
* Fixed metadata lookup for devices with device certificate directly in MDS

Expand Down
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
CLASSIFIERS = ['Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Framework :: Django',
'Framework :: Django :: 3.0',
'Framework :: Django :: 3.1',
'Framework :: Django :: 3.2',
'Framework :: Django :: 4.0',
'Framework :: Django :: 4.1',
'Framework :: Django :: 4.2',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Operating System :: OS Independent',
Expand All @@ -23,11 +23,12 @@
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Security :: Cryptography',
'Topic :: Software Development :: Libraries :: Python Modules']
INSTALL_REQUIRES = [
'Django>=3.0',
'Django>=3.2',
'fido2~=1.1.0',
'django-app-settings>=0.7.1',
'jwcrypto',
Expand Down
11 changes: 6 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ minversion = 3.15
isolated_build = True
envlist =
py{37,38,39,310}-quality
py37-django{30,31,32}-fido{11}
py{38,39}-django{30,31,32,40}-fido{11}
py310-django{32,40}-fido{11}
py37-django{32}-fido{11}
py{38,39}-django{32,40,41,42}-fido{11}
py310-django{32,40,41,42}-fido{11}
py311-django{41,42}-fido{11}
skip_missing_interpreters = True

[testenv]
Expand All @@ -17,10 +18,10 @@ setenv =
extras = test
deps =
coverage
django30: django == 3.0.*
django31: django == 3.1.*
django32: django == 3.2.*
django40: django == 4.0.*
django41: django == 4.1.*
django42: django == 4.2.*
fido11: fido2==1.1.*
commands =
coverage run --source=django_fido --branch -m django test {posargs:django_fido}
Expand Down

0 comments on commit 7c53b77

Please sign in to comment.