diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0dad2f982..33b32a1ab 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -46,7 +46,6 @@ jobs: "ubuntu-py39", "ubuntu-py310", "ubuntu-py311", - "ubuntu-py311-exceptiongroup", "ubuntu-pypy3", "macos-py37", @@ -116,10 +115,6 @@ jobs: os: ubuntu-latest tox_env: "py311" use_coverage: true - - name: "ubuntu-py311-exceptiongroup" - python: "3.11-dev" - os: ubuntu-latest - tox_env: "py311-exceptiongroup" - name: "ubuntu-pypy3" python: "pypy-3.7" os: ubuntu-latest diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 68d1e3cc0..72e1d8d62 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -68,7 +68,8 @@ repos: - packaging - tomli - types-pkg_resources - # for python>=3.11 + # for mypy running on python>=3.11 since exceptiongroup is only a dependency + # on <3.11 - exceptiongroup>=1.0.0rc8 - repo: local hooks: diff --git a/tox.ini b/tox.ini index 9a30bbc3a..f1ab4b815 100644 --- a/tox.ini +++ b/tox.ini @@ -11,13 +11,16 @@ envlist = py311 pypy3 py37-{pexpect,xdist,unittestextras,numpy,pluggymain} - py311-exceptiongroup doctesting plugins py37-freeze docs docs-checklinks + # checks that 3.11 native ExceptionGroup works with exceptiongroup + # not included in CI. + py311-exceptiongroup + [testenv]