Skip to content

Commit

Permalink
Exclude Pytest 8.2 from setup.cfg
Browse files Browse the repository at this point in the history
We cannot use pytest-async 0.23 because of pytest-dev/pytest-asyncio#706
We need to use pytest-async 0.23 if we use pytest 8.2 because of pytest-dev/pytest#12269
This may be fixed bt this backport of the fix in pytest-async 0.23: pytest-dev/pytest-asyncio#823

Test MacOs using Python 3.8 becuase GHA no longer providing 3.7 on that platform
  • Loading branch information
wxtim committed Apr 30, 2024
1 parent ecf9e78 commit a1cedaf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Expand Up @@ -21,7 +21,7 @@ jobs:
python: ['3.7', '3.8', '3.9', '3.10', '3.11']
include:
- os: 'macos-latest'
python: '3.7'
python: '3.8'
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_fast.yml
Expand Up @@ -24,7 +24,7 @@ jobs:
include:
# mac os test
- os: 'macos-11'
python-version: '3.7' # oldest supported version
python-version: '3.8' # oldest supported version
# non-utc timezone test
- os: 'ubuntu-latest'
python-version: '3.9' # not the oldest, not the most recent version
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Expand Up @@ -117,7 +117,7 @@ tests =
flake8>=3.0.0
mypy>=0.910,<1.9
# https://github.com/pytest-dev/pytest-asyncio/issues/706
pytest-asyncio>=0.17,!=0.23.*
pytest-asyncio>=0.17,!=0.23.0,!=0.23.1
pytest-cov>=2.8.0
pytest-xdist>=2
pytest-env>=0.6.2
Expand Down

0 comments on commit a1cedaf

Please sign in to comment.