Skip to content

Commit bde23c0

Browse files
committed
Test on newer Python versions
1 parent 7cc0cd0 commit bde23c0

File tree

5 files changed

+27
-5
lines changed

5 files changed

+27
-5
lines changed

.github/workflows/python_ci_linux.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: "ubuntu-22.04"
2424
continue-on-error: ${{ matrix.config.experimental }}
2525
env:
26-
USING_COVERAGE: '3.7,3.8,3.9,3.10,pypy-3.7'
26+
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12,3.13,pypy-3.7'
2727

2828
strategy:
2929
fail-fast: False
@@ -33,6 +33,9 @@ jobs:
3333
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
3434
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
3535
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
36+
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
37+
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
38+
- {python-version: "3.13", testenvs: "py313,build", experimental: False}
3639
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
3740

3841
steps:

.github/workflows/python_ci_macos.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: "macos-${{ matrix.config.os-ver }}"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.7,3.8,3.9,3.10,pypy-3.7'
25+
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12,3.13,pypy-3.7'
2626

2727
strategy:
2828
fail-fast: False
@@ -32,6 +32,9 @@ jobs:
3232
- {python-version: "3.8", os-ver: "14", testenvs: "py38,build", experimental: False}
3333
- {python-version: "3.9", os-ver: "14", testenvs: "py39,build", experimental: False}
3434
- {python-version: "3.10", os-ver: "14", testenvs: "py310,build", experimental: False}
35+
- {python-version: "3.11", os-ver: "14", testenvs: "py311,build", experimental: False}
36+
- {python-version: "3.12", os-ver: "14", testenvs: "py312,build", experimental: False}
37+
- {python-version: "3.13", os-ver: "14", testenvs: "py313,build", experimental: False}
3538
- {python-version: "pypy-3.7", os-ver: "13", testenvs: "pypy37,build", experimental: False}
3639

3740
steps:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ always = [ "greppy", "greppy.__main__",]
3131

3232
[tool.whey]
3333
base-classifiers = [ "Typing :: Typed",]
34-
python-versions = [ "3.7", "3.8", "3.9", "3.10",]
34+
python-versions = [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13",]
3535
python-implementations = [ "CPython", "PyPy",]
3636
platforms = [ "Linux", "macOS",]
3737
license-key = "MIT"

repo_helper.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ python_versions:
2222
- 3.8
2323
- 3.9
2424
- "3.10"
25+
- "3.11"
26+
- "3.12"
27+
- "3.13"
2528
- pypy37
2629

2730
sphinx_html_theme: furo

tox.ini

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# * pytest
2323

2424
[tox]
25-
envlist = py37, py38, py39, py310, pypy37, mypy, build
25+
envlist = py37, py38, py39, py310, py311, py312, py313, pypy37, mypy, build
2626
skip_missing_interpreters = True
2727
isolated_build = True
2828
requires =
@@ -32,7 +32,7 @@ requires =
3232
virtualenv!=20.16.0
3333

3434
[envlists]
35-
test = py37, py38, py39, py310, pypy37
35+
test = py37, py38, py39, py310, py311, py312, py313, pypy37
3636
qa = mypy, lint
3737
cov = py38, coverage
3838

@@ -51,6 +51,19 @@ setenv =
5151
PYTHONDEVMODE=1
5252
PIP_DISABLE_PIP_VERSION_CHECK=1
5353

54+
[testenv:py313]
55+
download = True
56+
setenv =
57+
PYTHONDEVMODE=1
58+
PIP_DISABLE_PIP_VERSION_CHECK=1
59+
UNSAFE_PYO3_SKIP_VERSION_CHECK=1
60+
61+
[testenv:py312]
62+
download = True
63+
setenv =
64+
PYTHONDEVMODE=1
65+
PIP_DISABLE_PIP_VERSION_CHECK=1
66+
5467
[testenv:docs]
5568
setenv = SHOW_TODOS = 1
5669
passenv = SPHINX_BUILDER

0 commit comments

Comments
 (0)