Skip to content

Commit 03043e3

Browse files
authored
GHA: Test more Python versions on macOS/Windows (#132)
Remove PyConfig.use_system_logger: it will only be available on Python 3.13.2 which is not released yet.
1 parent 8a52253 commit 03043e3

File tree

2 files changed

+30
-10
lines changed

2 files changed

+30
-10
lines changed

.github/workflows/build.yml

+30-7
Original file line numberDiff line numberDiff line change
@@ -49,22 +49,45 @@ jobs:
4949
- "pypy3.7-v7.3.2"
5050

5151
include:
52-
# Windows: test old and new Python
52+
# Windows
5353
- os: windows-latest
54-
python: 3.6
54+
python: "3.6"
5555
- os: windows-latest
56-
python: 3.13
56+
python: "3.7"
57+
- os: windows-latest
58+
python: "3.8"
59+
- os: windows-latest
60+
python: "3.9"
61+
- os: windows-latest
62+
python: "3.10"
63+
- os: windows-latest
64+
python: "3.11"
65+
- os: windows-latest
66+
python: "3.12"
67+
- os: windows-latest
68+
python: "3.13"
5769

58-
# macOS: test only new Python
70+
# macOS
71+
# Python 3.8 is the oldest version available on macOS/arm64.
72+
- os: macos-latest
73+
python: "3.8"
74+
- os: macos-latest
75+
python: "3.9"
76+
- os: macos-latest
77+
python: "3.10"
78+
- os: macos-latest
79+
python: "3.11"
80+
- os: macos-latest
81+
python: "3.12"
5982
- os: macos-latest
60-
python: 3.12
83+
python: "3.13"
6184

6285
# Ubuntu: test deadsnakes Python versions which are not supported by
6386
# GHA python-versions.
6487
- os: ubuntu-20.04
65-
python: 3.6
88+
python: "3.6"
6689
- os: ubuntu-22.04
67-
python: 3.7
90+
python: "3.7"
6891

6992
steps:
7093
# https://github.com/actions/checkout

pythoncapi_compat.h

-3
Original file line numberDiff line numberDiff line change
@@ -2082,9 +2082,6 @@ PyConfig_Get(const char *name)
20822082
PYTHONCAPI_COMPAT_SPEC(use_frozen_modules, BOOL, _Py_NULL),
20832083
#endif
20842084
PYTHONCAPI_COMPAT_SPEC(use_hash_seed, BOOL, _Py_NULL),
2085-
#if 0x030D0000 <= PY_VERSION_HEX && defined(__APPLE__)
2086-
PYTHONCAPI_COMPAT_SPEC(use_system_logger, BOOL, _Py_NULL),
2087-
#endif
20882085
PYTHONCAPI_COMPAT_SPEC(user_site_directory, BOOL, _Py_NULL),
20892086
#if 0x030A0000 <= PY_VERSION_HEX
20902087
PYTHONCAPI_COMPAT_SPEC(warn_default_encoding, BOOL, _Py_NULL),

0 commit comments

Comments
 (0)