Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 6 additions & 21 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ jobs:
- "3.11"
- "3.12"
- "3.13"
cpython-beta: "3.14"
pypys:
- "3.11"
tox-factors:
- "chardet"
- "3.14"
cache-paths:
- ".mypy_cache/"
cache-key-hash-files:
- "docs/conf.py"
- "pyproject.toml"
- "requirements/*/requirements.txt"

Expand All @@ -35,7 +34,7 @@ jobs:
runner: "macos-latest"
cpythons:
- "3.10"
- "3.13"
- "3.14"
tox-factors:
- "chardet"
cache-key-hash-files:
Expand All @@ -46,27 +45,13 @@ jobs:
runner: "windows-latest"
cpythons:
- "3.10"
- "3.13"
- "3.14"
tox-factors:
- "chardet"
cache-key-hash-files:
- "pyproject.toml"
- "requirements/*/requirements.txt"

- name: "Quality"
runner: "ubuntu-latest"
cpythons:
- "3.13"
tox-environments:
- "docs"
- "mypy"
cache-paths:
- ".mypy_cache/"
cache-key-hash-files:
- "docs/conf.py"
- "pyproject.toml"
- "requirements/*/requirements.txt"

uses: "kurtmckee/github-workflows/.github/workflows/tox.yaml@19c3c069be51d3bfc3ac73e85e81b2b1646e91a8" # v1.7
with:
config: "${{ toJSON(matrix) }}"
4 changes: 0 additions & 4 deletions changelog.d/20241208_112335_kurtmckee_rm_pypy_3_9.rst

This file was deleted.

4 changes: 0 additions & 4 deletions changelog.d/20250707_083311_kurtmckee_pypy_3_11_only.rst

This file was deleted.

4 changes: 4 additions & 0 deletions changelog.d/20260131_110945_kurtmckee_drop_pypy_support.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Python support
--------------

* Drop PyPy as a supported interpreter.
23 changes: 8 additions & 15 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@ min_version = 4.17.0
envlist =
coverage_erase
py{3.14, 3.13, 3.12, 3.11, 3.10}{-chardet, }
pypy{3.11}{-chardet, }
coverage_report
docs
mypy-py{3.14, 3.13, 3.12, 3.11, 3.10}
labels =
ci-test-linux = py{3.14, 3.13, 3.12, 3.11, 3.10}-chardet, pypy{3.11}-chardet
ci-test-macos = py{3.13, 3.10}-chardet
ci-test-windows = py{3.13, 3.10}-chardet
update = update


[testenv]
description = Run the test suite ({env_name})
depends =
py{3.14, 3.13, 3.12, 3.11, 3.10}{-chardet, }: coverage_erase
pypy{3.11}{-chardet, }: coverage_erase
package = wheel
wheel_build_env = build_wheel
commands =
python -c "import sys; sys.exit('This is not a runnable tox environment')"


[testenv:py{3.14, 3.13, 3.12, 3.11, 3.10}{-chardet, }]
description = Run the test suite ({env_name})
depends =
coverage_erase
deps =
-r requirements/test/requirements.txt
chardet: chardet
Expand All @@ -40,7 +40,6 @@ commands =
description = Report code coverage after testing
depends =
py{3.13, 3.12, 3.11, 3.10, 3.9, py3.10}{-chardet, }
pypy{3.11}{-chardet, }
deps =
coverage[toml]
commands_pre =
Expand Down Expand Up @@ -71,9 +70,6 @@ recreate = true
skip_install = true
description = Update requirements and tool versions
base_python = py3.13
setenv =
# The actionlint pre-commit hook needs the GOCACHE environment variables.
GOCACHE={env_dir}/.gocache
deps =
poetry
poetry-plugin-export
Expand All @@ -91,6 +87,3 @@ commands =
# Update pre-commit hook versions
pre-commit autoupdate
upadup

# Run pre-commit immediately, but ignore its exit code
- pre-commit run -a