Skip to content

Commit

Permalink
3.13 support (#16)
Browse files Browse the repository at this point in the history
3.13 support
  • Loading branch information
Tinche authored Jun 24, 2024
1 parent 3255b20 commit f6b0a48
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.8"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "pypy-3.8"]

steps:
- uses: "actions/checkout@v4"
Expand All @@ -33,7 +33,7 @@ jobs:
python -Im pip install --upgrade pip wheel
python -Im pip install --upgrade pdm tox tox-gh-actions
python -Im tox
- name: "Upload coverage data"
uses: "actions/upload-artifact@v3"
with:
Expand All @@ -48,11 +48,11 @@ jobs:

steps:
- uses: "actions/checkout@v4"

- uses: "actions/setup-python@v4"
with:
cache: "pip"
python-version: "3.11"
python-version: "3.12"

- run: "python -Im pip install --upgrade coverage[toml]"

Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
with:
name: "html-report"
path: "htmlcov"

- name: "Update badge"
if: github.ref == 'refs/heads/main'
uses: "schneegans/[email protected]"
Expand All @@ -104,7 +104,7 @@ jobs:

- uses: "actions/setup-python@v4"
with:
python-version: "3.11"
python-version: "3.12"

- name: "Install tools"
run: "python -m pip install twine check-wheel-contents build"
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ The **third number** is when we need to start branches for older releases (only

- Fix a code generation issue with context managers, and generate prettier code (for inspection).
([#15](https://github.com/Tinche/incant/pull/15))
- Python 3.12 support.
([#16](https://github.com/Tinche/incant/pull/16))
- Use Ruff for import sorting.

## 23.2.0 (2023-10-30)
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Typing :: Typed",
Expand Down
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
python =
3.8: py38
3.9: py39
3.10: py310, lint
3.10: py310
3.11: py311
3.12: py312
3.12: py312, lint
3.13: py313
pypy-3.8: pypy38

[tox]
envlist = py38, py39, py310, py311, py312, pypy38, lint
envlist = py38, py39, py310, py311, py312, py313, pypy38, lint
isolated_build = true
skipsdist = true

Expand Down

0 comments on commit f6b0a48

Please sign in to comment.