File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 37
37
pull-requests : write
38
38
strategy :
39
39
matrix :
40
- # psycopg 2.9.10 isn't supported on Python 3.9 for macos-14. See
41
- # https://github.com/psycopg/psycopg2/issues/1737. But it is supported
42
- # on macos-12. When Python 3.9 reaches end-of-life, we should change
43
- # this back to only run the Mac tests on macos-latest.
44
- os : [windows-latest, ubuntu-latest]
40
+ os : [macos-latest, windows-latest, ubuntu-latest]
45
41
python-version : ["3.9", "3.13"]
46
- include :
47
- - os : macos-12
48
- python-version : " 3.9"
49
- - os : macos-latest
50
- python-version : " 3.13"
51
42
fail-fast : false
52
43
steps :
53
44
- name : Checkout code
Original file line number Diff line number Diff line change 1
1
asyncpg==0.30.0
2
2
mock==5.1.0
3
3
pg8000==1.31.2
4
- psycopg2-binary==2.9.10
4
+
5
+ # psycopg 2.9.10 isn't supported on Python 3.9 for macos-latest GitHub runner.
6
+ # It is supported for macos-12 runner:
7
+ # https://github.com/psycopg/psycopg2/issues/1737. But macos-12 runner is
8
+ # deprecated: https://github.com/actions/runner-images/issues/10721. So we
9
+ # install psycopg 2.9.9 on Python 3.9 for macos-latest runner.
10
+ psycopg2-binary==2.9.9; python_version == "3.9" and sys_platform == "darwin"
11
+ psycopg2-binary==2.9.10; python_version == "3.9" and sys_platform != "darwin"
12
+ psycopg2-binary==2.9.10; python_version > "3.9"
13
+
5
14
pytest==8.3.4
6
15
pytest-asyncio==0.24.0
7
16
pytest-cov==6.0.0
You can’t perform that action at this time.
0 commit comments