8000 Test on newer Python versions · python-formate/snippet-fmt@5cb694a · GitHub
[go: up one dir, main page]

Skip to content

Commit 5cb694a

Browse files
committed
Test on newer Python versions
1 parent e1e2313 commit 5cb694a

File tree

6 files changed

+44
-10
lines changed

6 files changed

+44
-10
lines changed

.github/workflows/python_ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: "windows-2019"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11'
25+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13.0-alpha.1'
2626

2727
strategy:
2828
fail-fast: False
@@ -33,7 +33,9 @@ jobs:
3333
- {python-version: "3.8", testenvs: "py38-click{7,8},build", experimental: False}
3434
- {python-version: "3.9", testenvs: "py39-click{7,8},build", experimental: False}
3535
- {python-version: "3.10", testenvs: "py310-click{7,8},build", experimental: False}
36-
- {python-version: "3.11", testenvs: "py311-dev-click{7,8},build", experimental: True}
36+
- {python-version: "3.11", testenvs: "py311-click{7,8},build", experimental: False}
37+
- {python-version: "3.12", testenvs: "py312-click{7,8},build", experimental: False}
38+
- {python-version: "3.13.0-alpha.1", testenvs: "py313-dev-click{7,8},build", experimental: True}
3739

3840
steps:
3941
- name: Checkout 🛎️

.github/workflows/python_ci_linux.yml

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

2828
strategy:
2929
fail-fast: False
@@ -34,7 +34,9 @@ jobs:
3434
- {python-version: "3.8", testenvs: "py38-click{7,8},build", experimental: False}
3535
- {python-version: "3.9", testenvs: "py39-click{7,8},build", experimental: False}
3636
- {python-version: "3.10", testenvs: "py310-click{7,8},build", experimental: False}
37-
- {python-version: "3.11", testenvs: "py311-dev-click{7,8},build", experimental: True}
37+
- {python-version: "3.11", testenvs: "py311-click{7,8},build", experimental: False}
38+
- {python-version: "3.12", testenvs: "py312-click{7,8},build", experimental: False}
39+
- {python-version: "3.13.0-alpha.1", testenvs: "py313-dev-click{7,8},build", experimental: True}
3840

3941
steps:
4042
- name: Checkout 🛎️

.github/workflows/python_ci_macos.yml

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

2727
strategy:
2828
fail-fast: False
@@ -33,7 +33,9 @@ jobs:
3333
- {python-version: "3.8", testenvs: "py38-click{7,8},build", experimental: False}
3434
- {python-version: "3.9", testenvs: "py39-click{7,8},build", experimental: False}
3535
- {python-version: "3.10", testenvs: "py310-click{7,8},build", experimental: False}
36-
- {python-version: "3.11", testenvs: "py311-dev-click{7,8},build", experimental: True}
36+
- {python-version: "3.11", testenvs: "py311-click{7,8},build", experimental: False}
37+
- {python-version: "3.12", testenvs: "py312-click{7,8},build", experimental: False}
38+
- {python-version: "3.13.0-alpha.1", testenvs: "py313-dev-click{7,8},build", experimental: True}
3739

3840
steps:
3941
- name: Checkout 🛎️

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ base-classifiers = [
3434
"Intended Audience :: Developers",
3535
"Typing :: Typed",
3636
]
37-
python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10",]
37+
python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12",]
3838
python-implementations = [ "CPython",]
3939
platforms = [ "Windows", "macOS", "Linux",]
4040
license-key = "MIT"

repo_helper.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ python_versions:
2222
- '3.8'
2323
- '3.9'
2424
- "3.10"
25-
- 3.11-dev
25+
- "3.11"
26+
- "3.12"
27+
- 3.13-dev
2628

2729
keywords:
2830
- formatting

tox.ini

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
# * envlists
55
# * testenv
66
# * testenv:.package
7+
# * testenv:py313-dev
78
# * testenv:py312-dev
9+
# * testenv:py312
810
# * testenv:docs
911
# * testenv:build
1012
# * testenv:lint
@@ -25,7 +27,9 @@ envlist =
2527
py38-click{7,8}
2628
py39-click{7,8}
2729
py310-click{7,8}
28-
py311-dev-click{7,8}
30+
py311-click{7,8}
31+
py312-click{7,8}
32+
py313-dev-click{7,8}
2933
mypy
3034
build
3135
skip_missing_interpreters = True
@@ -43,7 +47,9 @@ test =
4347
py38-click{7,8}
4448
py39-click{7,8}
4549
py310-click{7,8}
46-
py311-dev-click{7,8}
50+
py311-click{7,8}
51+
py312-click{7,8}
52+
py313-dev-click{7,8}
4753
qa = mypy, lint
4854
cov = py38-click7, coverage
4955

@@ -65,6 +71,16 @@ setenv =
6571
PYTHONDEVMODE=1
6672
PIP_DISABLE_PIP_VERSION_CHECK=1
6773

74+
[testenv:py313-dev]
75+
setenv =
76+
PYTHONDEVMODE=1
77+
PIP_DISABLE_PIP_VERSION_CHECK=1
78+
79+
[testenv:py312]
80+
setenv =
81+
PYTHONDEVMODE=1
82+
PIP_DISABLE_PIP_VERSION_CHECK=1
83+
6884
[testenv:docs]
6985
setenv = SHOW_TODOS = 1
7086
passenv = SPHINX_BUILDER
@@ -216,3 +232,13 @@ filterwarnings =
216232
error
217233
ignore:lib2to3 package is deprecated and may not be able to parse Python 3.10+:DeprecationWarning
218234
ignore:lib2to3 package is deprecated and may not be able to parse Python 3.10+:PendingDeprecationWarning
235+
236+
[testenv:py312-click{7,8}]
237+
setenv =
238+
PYTHONDEVMODE=1
239+
PIP_DISABLE_PIP_VERSION_CHECK=1
240+
241+
[testenv:py313-dev-click{7,8}]
242+
setenv =
243+
PYTHONDEVMODE=1
244+
PIP_DISABLE_PIP_VERSION_CHECK=1

0 commit comments

Comments
 (0)
0