Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 88e74b9

Browse files
Add Python 3.10 and 3.11 to CI and tox
1 parent 9dd59a9 commit 88e74b9

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
python-version: [3.6, 3.7, 3.8, 3.9, pypy3]
13+
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "pypy3"]
1414
steps:
1515
- name: Checkout
1616
uses: "actions/checkout@v2"

.github/workflows/tox-fedora.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
- py38
2424
- py39
2525
- py310
26+
- py311
2627
- c90-py36
2728
- c90-py37
2829
- py3-nosasltls

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ class OpenLDAP2:
9090
'Programming Language :: Python :: 3.7',
9191
'Programming Language :: Python :: 3.8',
9292
'Programming Language :: Python :: 3.9',
93+
'Programming Language :: Python :: 3.10',
94+
'Programming Language :: Python :: 3.11',
9395
# Note: when updating Python versions, also change tox.ini and .github/workflows/*
9496

9597
'Topic :: Database',

tox.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
[tox]
77
# Note: when updating Python versions, also change setup.py and .github/worlflows/*
8-
envlist = py{36,37,38,39,310},c90-py{36,37},py3-nosasltls,doc,py3-trace,pypy3
8+
envlist = py{36,37,38,39,310,311},c90-py{36,37},py3-nosasltls,doc,py3-trace,pypy3
99
minver = 1.8
1010

1111
[gh-actions]
@@ -14,6 +14,8 @@ python =
1414
3.7: py37
1515
3.8: py38, doc, py3-nosasltls
1616
3.9: py39, py3-trace
17+
3.10: py310
18+
3.11: py311
1719
pypy3: pypy3
1820

1921
[testenv]

0 commit comments

Comments
 (0)