Skip to content

Commit 473627a

Browse files
authored
Add Python 3.11, drop Python 3.7 (#383)
AWS Lambda is phasing out Python 3.7, too, so let't do it.
1 parent 6b44f23 commit 473627a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: "${{ matrix.os }}"
77
strategy:
88
matrix:
9-
python-version: ["3.7", "3.8", "3.9", "3.10", "pypy-3.7"]
9+
python-version: ["3.8", "3.9", "3.10", "3.11", "pypy-3.9"]
1010
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
1111
steps:
1212
- uses: "actions/checkout@v3"

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ classifiers =
2525
Operating System :: POSIX
2626
Natural Language :: English
2727
Programming Language :: Python
28-
Programming Language :: Python :: 3.7
2928
Programming Language :: Python :: 3.8
3029
Programming Language :: Python :: 3.9
3130
Programming Language :: Python :: 3.10
31+
Programming Language :: Python :: 3.11
3232
Programming Language :: Python :: 3 :: Only
3333
Topic :: Documentation
3434
Topic :: Utilities
@@ -38,7 +38,7 @@ classifiers =
3838
Topic :: Text Processing :: Markup :: XML
3939

4040
[options]
41-
python_requires = >=3.7
41+
python_requires = >=3.8
4242
install_requires =
4343
reportlab
4444
lxml

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[tox]
22
envlist =
3+
py311
34
py310
45
py39
56
py38
6-
py37
77
flake8
88

99
[testenv]
@@ -13,14 +13,14 @@ commands =
1313
python -m pytest {posargs}
1414

1515
[testenv:flake8]
16-
basepython = python3.7
16+
basepython = python3.8
1717
deps = flake8
1818
commands =
1919
flake8 . --count --show-source --statistics
2020

2121
[gh-actions]
2222
python =
23-
3.7: py37
2423
3.8: py38
2524
3.9: py39
2625
3.10: py310
26+
3.11: py311

0 commit comments

Comments
 (0)