Skip to content

Commit a1cedaf

Browse files
committed
Exclude Pytest 8.2 from setup.cfg
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
1 parent ecf9e78 commit a1cedaf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
python: ['3.7', '3.8', '3.9', '3.10', '3.11']
2222
include:
2323
- os: 'macos-latest'
24-
python: '3.7'
24+
python: '3.8'
2525
steps:
2626
- name: Checkout
2727
uses: actions/checkout@v3

.github/workflows/test_fast.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
include:
2525
# mac os test
2626
- os: 'macos-11'
27-
python-version: '3.7' # oldest supported version
27+
python-version: '3.8' # oldest supported version
2828
# non-utc timezone test
2929
- os: 'ubuntu-latest'
3030
python-version: '3.9' # not the oldest, not the most recent version

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ tests =
117117
flake8>=3.0.0
118118
mypy>=0.910,<1.9
119119
# https://github.com/pytest-dev/pytest-asyncio/issues/706
120-
pytest-asyncio>=0.17,!=0.23.*
120+
pytest-asyncio>=0.17,!=0.23.0,!=0.23.1
121121
pytest-cov>=2.8.0
122122
pytest-xdist>=2
123123
pytest-env>=0.6.2

0 commit comments

Comments
 (0)