8000 GHA: Test more Python versions on macOS · python/pythoncapi-compat@387f9c1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 387f9c1

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

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,20 +51,23 @@ 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: test old and new Python.
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.13"
6164

6265
# Ubuntu: test deadsnakes Python versions which are not supported by
6366
# GHA python-versions.
6467
- os: ubuntu-20.04
65-
python: 3.6
68+
python: "3.6"
6669
- os: ubuntu-22.04
67-
python: 3.7
70+
python: "3.7"
6871

6972
steps:
7073
# https://github.com/actions/checkout

pythoncapi_compat.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2082,9 +2082,6 @@ PyConfig_Get(const char 7411 *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)
0