Skip to content

Commit

Permalink
Add Python 3.11, drop Python 3.7 (#383)
Browse files Browse the repository at this point in the history
AWS Lambda is phasing out Python 3.7, too, so let't do it.
  • Loading branch information
eumiro authored Sep 18, 2023
1 parent 6b44f23 commit 473627a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: "${{ matrix.os }}"
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "pypy-3.7"]
python-version: ["3.8", "3.9", "3.10", "3.11", "pypy-3.9"]
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
steps:
- uses: "actions/checkout@v3"
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ classifiers =
Operating System :: POSIX
Natural Language :: English
Programming Language :: Python
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
Programming Language :: Python :: 3 :: Only
Topic :: Documentation
Topic :: Utilities
Expand All @@ -38,7 +38,7 @@ classifiers =
Topic :: Text Processing :: Markup :: XML

[options]
python_requires = >=3.7
python_requires = >=3.8
install_requires =
reportlab
lxml
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[tox]
envlist =
py311
py310
py39
py38
py37
flake8

[testenv]
Expand All @@ -13,14 +13,14 @@ commands =
python -m pytest {posargs}

[testenv:flake8]
basepython = python3.7
basepython = python3.8
deps = flake8
commands =
flake8 . --count --show-source --statistics

[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311

0 comments on commit 473627a

Please sign in to comment.