Skip to content

Commit

Permalink
Support python3.10 and 3.11 for ubuntu 22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
nzlosh committed Dec 1, 2023
1 parent af96b13 commit e74d442
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/lint-and-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ jobs:
fail-fast: false
matrix:
version:
- "3.6"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
steps:
- uses: actions/checkout@v3

Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# python-ldap 3.4.1 adds support for openldap 2.5+
python-ldap>=3.4.0,<3.5.0
# cachetools:
# - 3 requires python3.4+; 4 requires python3.5+; 5 requires python3.7+
# - 3 adds python3.7 support; 3.1 adds python3.8; 4.2 adds python3.9;
# - 3.1 adds python3.8
# - 4.2 adds python3.9
# - 5.2.1 adds python3.11
cachetools>=2.0.1,<5.4.0
cachetools>=3.1,<5.4.0
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
'Environment :: Console',
],
platforms=['Any'],
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py27,py36,lint
envlist = py38,py39,py310,py311,lint

[testenv]
deps = -r{toxinidir}/requirements.txt
Expand Down

0 comments on commit e74d442

Please sign in to comment.