Skip to content

Commit

Permalink
feat: add support for 3.12 (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
majorgreys authored Jul 31, 2023
1 parent 4818f9e commit ff2895d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", pypy-3.7]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12-dev", pypy-3.7]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 4 additions & 0 deletions releasenotes/notes/support-312-3b5195255f2e0055.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
features:
- |
Add support for CPython 3.12
2 changes: 1 addition & 1 deletion riotfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Venv(
name="test",
command="pytest -n auto --dist loadscope {cmdargs}",
pys=["3.7", "3.8", "3.9", "3.10", "3.11"],
pys=["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"],
pkgs={
"pytest": latest,
"pytest-cov": latest,
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
entry_points={"console_scripts": ["riot = riot.__main__:main"]},
long_description=long_description,
Expand All @@ -32,6 +33,7 @@
"rich",
"pexpect",
"packaging",
"setuptools; python_version>='3.12'",
],
setup_requires=["setuptools_scm"],
use_scm_version=True,
Expand Down

0 comments on commit ff2895d

Please sign in to comment.