Skip to content

Commit f2186a8

Browse files
committed
Support Python 3.11
1 parent c699443 commit f2186a8

File tree

10 files changed

+20
-19
lines changed

10 files changed

+20
-19
lines changed

Diff for: .flake8

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[flake8]
22
ignore = E722,W503
3-
exclude = .git,.pytest_cache,.tox,.venv,.idea,__pycache__,build,dist,docs
3+
exclude = .git,.pytest_cache,.tox,.venv,.idea,__pycache__,build,build,dist,docs,local
44
max-line-length = 79

Diff for: .github/workflows/publish_on_pypi.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
python: ['3.9']
13+
python: ['3.10']
1414

1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v3
1717

1818
- name: Set up Python ${{ matrix.python }}
19-
uses: actions/setup-python@v2
19+
uses: actions/setup-python@v4
2020
with:
2121
python-version: ${{ matrix.python }}
2222

2323
- name: Build source tarball
24-
if: matrix.python == 3.9
24+
if: matrix.python == 3.10
2525
run: python setup.py sdist
2626

2727
- name: Build wheel

Diff for: .github/workflows/test_with_tox.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python: ['3.6', '3.7', '3.8', '3.9', '3.10']
10+
python: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11']
1111

1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v3
1414

1515
- name: Setup Python ${{ matrix.python }}
16-
uses: actions/setup-python@v2
16+
uses: actions/setup-python@v4
1717
with:
1818
python-version: ${{ matrix.python }}
1919

2020
- run: pip install tox
2121

2222
- run: tox -e py
2323

24-
- if: matrix.python == 3.9
24+
- if: matrix.python == 3.10
2525
run: TOXENV=flake8,manifest,docs,spell tox

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ to a database that can be used in all kinds of multi-threaded environments.
77
The suite supports DB-API 2 compliant database interfaces
88
and the classic PyGreSQL interface.
99

10-
The current version 3.0.2 of DBUtils supports Python versions 3.6 to 3.10.
10+
The current version 3.0.2 of DBUtils supports Python versions 3.6 to 3.11.
1111

1212
**Please have a look at the [changelog](https://webwareforpython.github.io/DBUtils/changelog.html), because there were some breaking changes in version 2.0.**
1313

Diff for: docs/main.de.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ <h3>Installation</h3>
136136
</section>
137137
<section id="anforderungen">
138138
<h2>Anforderungen</h2>
139-
<p>DBUtils unterstützt die <a class="reference external" href="https://www.python.org">Python</a> Versionen 3.6 bis 3.10.</p>
139+
<p>DBUtils unterstützt die <a class="reference external" href="https://www.python.org">Python</a> Versionen 3.6 bis 3.11.</p>
140140
<p>Die Module in der Variante für klassisches PyGreSQL benötigen <a class="reference external" href="https://www.pygresql.org/">PyGreSQL</a>
141141
Version 4.0 oder höher, während die Module in der allgemeinen Variante
142142
für DB-API 2 mit jedem beliebigen Python-Datenbankadapter-Modul zusammenarbeiten,

Diff for: docs/main.de.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ herunterzuladen und zu installieren::
9898
Anforderungen
9999
=============
100100

101-
DBUtils unterstützt die Python_ Versionen 3.6 bis 3.10.
101+
DBUtils unterstützt die Python_ Versionen 3.6 bis 3.11.
102102

103103
Die Module in der Variante für klassisches PyGreSQL benötigen PyGreSQL_
104104
Version 4.0 oder höher, während die Module in der allgemeinen Variante

Diff for: docs/main.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ <h3>Installation</h3>
133133
</section>
134134
<section id="requirements">
135135
<h2>Requirements</h2>
136-
<p>DBUtils supports <a class="reference external" href="https://www.python.org">Python</a> versions 3.6 to 3.10.</p>
136+
<p>DBUtils supports <a class="reference external" href="https://www.python.org">Python</a> versions 3.6 to 3.11.</p>
137137
<p>The modules in the classic PyGreSQL variant need <a class="reference external" href="https://www.pygresql.org/">PyGreSQL</a> version 4.0
138138
or above, while the modules in the universal DB-API 2 variant run with
139139
any Python <a class="reference external" href="https://www.python.org/dev/peps/pep-0249/">DB-API 2</a> compliant database interface module.</p>

Diff for: docs/main.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ It is even easier to download and install the package in one go using `pip`_::
9595
Requirements
9696
============
9797

98-
DBUtils supports Python_ versions 3.6 to 3.10.
98+
DBUtils supports Python_ versions 3.6 to 3.11.
9999

100100
The modules in the classic PyGreSQL variant need PyGreSQL_ version 4.0
101101
or above, while the modules in the universal DB-API 2 variant run with

Diff for: setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
'Programming Language :: Python :: 3.8',
4040
'Programming Language :: Python :: 3.9',
4141
'Programming Language :: Python :: 3.10',
42+
'Programming Language :: Python :: 3.11',
4243
'Operating System :: OS Independent',
4344
],
4445
author='Christoph Zwerschke',

Diff for: tox.ini

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py3{6,7,8,9,10}, flake8, manifest, docs, spell
2+
envlist = py3{6,7,8,9,10,11}, flake8, manifest, docs, spell
33

44
[testenv]
55
setenv =
@@ -9,25 +9,25 @@ commands =
99
pytest {posargs}
1010

1111
[testenv:spell]
12-
basepython = python3.9
12+
basepython = python3.10
1313
deps = codespell
1414
commands =
1515
codespell .
1616

1717
[testenv:flake8]
18-
basepython = python3.9
18+
basepython = python3.10
1919
deps = flake8
2020
commands =
2121
flake8 .
2222

2323
[testenv:manifest]
24-
basepython = python3.9
24+
basepython = python3.10
2525
deps = check-manifest
2626
commands =
2727
check-manifest -v
2828

2929
[testenv:docs]
30-
basepython = python3.9
30+
basepython = python3.10
3131
deps = docutils
3232
changedir = docs
3333
commands =

0 commit comments

Comments
 (0)