Skip to content

Commit f96bc43

Browse files
committed
GHA: Test more Python versions on macOS
* Remove PyConfig.use_system_logger
1 parent 8a52253 commit f96bc43

File tree

2 files changed

+17
-9
lines changed

2 files changed

+17
-9
lines changed

.github/workflows/build.yml

+17-6
Original file line numberDiff line numberDiff line change
@@ -51,20 +51,31 @@ jobs:
5151
include:
5252
# Windows: test old and new Python
5353
- os: windows-latest
54-
python: 3.6
54+
python: "3.6"
5555
- os: windows-latest
56-
python: 3.13
56+
python: "3.13"
5757

58-
# macOS: test only new Python
58+
# macOS
59+
# Python 3.8 is the oldest version available on macOS/arm64.
5960
- os: macos-latest
60-
python: 3.12
61+
python: "3.8"
62+
- os: macos-latest
63+
python: "3.9"
64+
- os: macos-latest
65+
python: "3.10"
66+
- os: macos-latest
67+
python: "3.11"
68+
- os: macos-latest
69+
python: "3.12"
70+
- os: macos-latest
71+
python: "3.13"
6172

6273
# Ubuntu: test deadsnakes Python versions which are not supported by
6374
# GHA python-versions.
6475
- os: ubuntu-20.04
65-
python: 3.6
76+
python: "3.6"
6677
- os: ubuntu-22.04
67-
python: 3.7
78+
python: "3.7"
6879

6980
steps:
7081
# 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)