Skip to content

Commit

Permalink
Add support for Python 3.11 (#627)
Browse files Browse the repository at this point in the history
Precli already supports 3.12 and 3.13. It should easily also be able to
support 3.11.

This should help adoption by supporting more versions of Python.

Signed-off-by: Eric Brown <[email protected]>
  • Loading branch information
ericwb authored Oct 9, 2024
1 parent 41ec081 commit a660b35
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ jobs:
strategy:
matrix:
python-version: [
["3.11", "311"],
["3.12", "312"],
["3.13", "313"],
]
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ classifier =
Operating System :: Microsoft :: Windows
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3.13
Topic :: Security
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@


setuptools.setup(
python_requires=">=3.12", setup_requires=["pbr>=2.0.0"], pbr=True
python_requires=">=3.11", setup_requires=["pbr>=2.0.0"], pbr=True
)
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[tox]
minversion = 3.2.0
envlist = py312,py313
envlist = py313

[testenv]
usedevelop = True
Expand Down

0 comments on commit a660b35

Please sign in to comment.