Skip to content

Commit

Permalink
Test on newer Python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Oct 20, 2023
1 parent 3c64d80 commit 18b4136
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 10 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/python_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: "windows-2019"
continue-on-error: ${{ matrix.config.experimental }}
env:
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10'
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13.0-alpha.1'

strategy:
fail-fast: False
Expand All @@ -32,7 +32,10 @@ jobs:
- {python-version: "3.7", testenvs: "py37,build", experimental: False}
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
- {python-version: "3.10", testenvs: "py310-dev,build", experimental: True}
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
- {python-version: "3.13.0-alpha.1", testenvs: "py313-dev,build", experimental: True}

steps:
- name: Checkout 🛎️
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/python_ci_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: "ubuntu-20.04"
continue-on-error: ${{ matrix.config.experimental }}
env:
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10'
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13.0-alpha.1'

strategy:
fail-fast: False
Expand All @@ -33,7 +33,10 @@ jobs:
- {python-version: "3.7", testenvs: "py37,build", experimental: False}
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
- {python-version: "3.10", testenvs: "py310-dev,build", experimental: True}
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
- {python-version: "3.13.0-alpha.1", testenvs: "py313-dev,build", experimental: True}

steps:
- name: Checkout 🛎️
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/python_ci_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: "macos-latest"
continue-on-error: ${{ matrix.config.experimental }}
env:
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10'
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13.0-alpha.1'

strategy:
fail-fast: False
Expand All @@ -32,7 +32,10 @@ jobs:
- {python-version: "3.7", testenvs: "py37,build", experimental: False}
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
- {python-version: "3.10", testenvs: "py310-dev,build", experimental: True}
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
- {python-version: "3.13.0-alpha.1", testenvs: "py313-dev,build", experimental: True}

steps:
- name: Checkout 🛎️
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ package = "yapf_isort"

[tool.whey]
base-classifiers = [ "Typing :: Typed",]
python-versions = [ "3.6", "3.7", "3.8", "3.9",]
python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12",]
python-implementations = [ "CPython",]
platforms = [ "Windows", "macOS", "Linux",]
license-key = "Apache-2.0"
Expand Down
5 changes: 4 additions & 1 deletion repo_helper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ python_versions:
- 3.7
- 3.8
- 3.9
- 3.10-dev
- '3.10'
- '3.11'
- '3.12'
- 3.13-dev

tox_unmanaged:
- flake8
Expand Down
14 changes: 12 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# * pytest

[tox]
envlist = py36, py37, py38, py39, py310-dev, mypy, build
envlist = py36, py37, py38, py39, py310, py311, py312, py313-dev, mypy, build
skip_missing_interpreters = True
isolated_build = True
requires =
Expand All @@ -30,7 +30,7 @@ requires =
virtualenv!=20.16.0

[envlists]
test = py36, py37, py38, py39, py310-dev
test = py36, py37, py38, py39, py310, py311, py312, py313-dev
qa = mypy, lint
cov = py38, coverage

Expand All @@ -49,6 +49,16 @@ setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1

[testenv:py313-dev]
setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1

[testenv:py312]
setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1

[testenv:build]
setenv =
PYTHONDEVMODE=1
Expand Down

0 comments on commit 18b4136

Please sign in to comment.