Commit graph

432 commits

Author SHA1 Message Date
Ivan Pozdeev c639152ac7
2.6.31 2026-05-11 01:39:26 +03:00
Ivan Pozdeev 40dba8256f
2.6.30 2026-05-08 17:37:31 +03:00
Ned Batchelder e30c23eac2
Add CPython 3.16-dev, switch 3.15-dev to maintenance branch (#3442)
3.15.0b1 released means we need 3.16 support
2026-05-08 17:10:22 +03:00
Ivan Pozdeev a7cc776274
2.6.29 2026-05-08 03:54:43 +03:00
Ivan Pozdeev 485090e713
2.6.28 2026-04-29 08:26:10 +03:00
Ivan Pozdeev 914ff80062
2.6.27 2026-04-08 18:26:46 +03:00
exurd ce491008e7
python-build: advise user with no c compiler (#3294)
this checks if "no acceptable C compiler found" is in the last 10 lines of the log, and asks if the user has correctly installed the build dependencies.
2026-04-01 21:32:48 +03:00
Ivan Pozdeev 174c61526f
2.6.26 2026-03-11 01:37:45 +03:00
Tekin Tian d5fa1e225e
Fix MacPorts OpenSSL formula detection (#3417)
Co-authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
2026-03-07 11:44:57 +03:00
Ivan Pozdeev aa2e8b8260
2.6.25 2026-03-03 20:06:38 +03:00
Ivan Pozdeev c89b6b46dc
2.6.24 2026-03-03 08:17:57 +03:00
Ivan Pozdeev 81befc1592
2.6.23 2026-02-17 02:38:47 +03:00
Ivan Pozdeev 57ec277d6a
2.6.22 2026-02-04 03:52:39 +03:00
Ivan Pozdeev 6d8c0e4021
2.6.21 2026-02-03 23:46:41 +03:00
Ivan Pozdeev 3441980e83
2.6.20 2026-01-15 07:05:06 +03:00
Ivan Pozdeev 92c9ab5273
2.6.19 2026-01-14 04:11:02 +03:00
Ivan Pozdeev c62be31e8c
2.6.18 2026-01-10 06:16:21 +03:00
native-api bf37e78693
Merge pull request #3379 from native-api/make_j_argument
Recognize an argument to -j in MAKEFLAGS when building extensions in 3.10-3.11 and latest 3.5-3.9
2025-12-27 06:23:19 +03:00
Ivan Pozdeev 56bc05d5d6
python-build: Use no-tests only for OpenSSL 1.1.1+
Introduced in 1.1.1-pre1
2025-12-27 02:56:15 +03:00
rockandska 2c38423a98
pyenv launcher: introduce and export _PYENV_INSTALL_PREFIX (#3334)
provides a reliable way for Pyenv code to locate other parts of Pyenv code that are not under `PYENV_ROOT`

* tests: Work with Git entirely in a test repo

Co-authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
2025-12-24 10:00:09 +03:00
Ivan Pozdeev 22b192913e
2.6.17 2025-12-16 23:30:42 +03:00
Ivan Pozdeev e805257c1f
2.6.16 2025-12-06 00:58:03 +03:00
Ivan Pozdeev 61d869f67e
2.6.15 2025-12-03 03:23:17 +03:00
Ivan Pozdeev d1ae7fd65d
2.6.14 2025-12-02 21:00:00 +03:00
native-api 94e4bf0ae8
Fix "ld: symbol(s) not found" for some C system calls in MacOS if XCode is for a newer major MacOS version (#3362)
Citing https://www.postgrespro.ru/list/id/E1kfzRR-0001EH-Ph@gemulon.postgresql.org
fixing the same problem:
We previously put the -isysroot switch only into CPPFLAGS, theorizing
that it was only needed to find the right copies of include files.
However, it seems that we also need to use it while linking programs,
to find the right stub ".tbd" files for libraries.  We got away
without that up to now, but apparently that was mostly luck.  It may
also be that failures are only observed when the Xcode version is
noticeably out of sync with the host macOS version; the case that's
prompting action right now is that builds fail when using latest Xcode
(12.2) on macOS Catalina, even though it's fine on Big Sur.

Specifically, the problem arises for `preadv' and `pwritev' (new in MacOS 11 Big Sur) when building with XCode 12.4 (supporting Big Sur) in MacOS 10.15 Catalina.
2025-12-01 22:01:15 +03:00
Ivan Pozdeev fdde91269b
2.6.13 2025-11-19 14:30:40 +03:00
Ivan Pozdeev c6ea700cdf 2.6.12 2025-10-31 23:27:18 +03:00
Ivan Pozdeev 94071a9374 2.6.11 2025-10-15 14:40:44 +03:00
native-api 8d3bba2f92
Support building against Homebrew Tcl/Tk 9 (#3343)
Use tclConfig.sh/tkConfig.sh for future-proofing
3.14.0 doesn't detect Tcl/Tk with external libtommath, have to do it ourselves
2025-10-11 00:19:06 +03:00
Ivan Pozdeev a419b003b4 2.6.10 2025-10-10 04:14:38 +03:00
Ivan Pozdeev 8087e811cd 2.6.9 2025-10-07 22:33:22 +03:00
Ivan Pozdeev 519ce9dbf0 2.6.8 2025-09-19 07:14:28 +03:00
Ivan Pozdeev ca551b3a55 Add PYTHON_BUILD_TCLTK_FORMULA to allow building against Tcl/Tk 9
Tcl/Tk 9.0 support was added in 3.13.0b3 and is not official as of 3.14.0;
the build with Homebrew version fails as of this writing
2025-09-19 06:20:41 +03:00
Ivan Pozdeev bbe6301f01 Use TCLTK_* and pkg-config for 3.11+ instead of --with-tcl-* and pkg-config
Fixes warnings "configure: WARNING: unrecognized options: --with-tcltk-libs, --with-tcltk-includes"

fix script
2025-09-19 06:20:41 +03:00
Ivan Pozdeev 0052372fa3 Explicitly include Homebrew at /usr/local/include if passing -isysroot
Apple CLang excludes it if -isysroot is passed
2025-09-18 19:02:46 +03:00
native-api 17fb66cd8b
Support curl from a snap (#3329) 2025-09-14 07:23:41 +03:00
native-api 692ac77559
Fix specifying XCode SDK for distutils; Revert to preferring XCode Zlib (#3316)
* Fix specifying XCode SDK for distutils

* Revert to preferring XCode Zlib

It turns out, everything since 2.7.12 and 3.5.2
can use libs from modern XCode SDK
which is always available unless we're using an alternate compiler
2025-09-01 01:09:57 +03:00
native-api 97eda4403f
Fix Readline and OpenSSL detection for MacPorts without the corresponding package (#3317) 2025-08-31 21:48:24 +03:00
Ivan Pozdeev 11c1898abb Fix using Zlib from Homebrew 2025-08-28 09:52:24 +03:00
Ivan Pozdeev 25e5989261 Prefer ZLib from Homebrew/MacPorts if present
Zlib from XCode is virtually always present now so it only makes sense to use it from elsewhere if it's preferred.
Works around build failure for 2.7 that's incapable of using Zlib from XCode 7+ (see #3301)
2025-08-28 09:36:13 +03:00
Jared Stever 71a8d47b81
Use Zlib from XCode SDK in a way compatible with XCode 16 and CLT (#3301)
* use `xcrun` instead of `xcodebuild` which is absent in CLT
* use an alternative way that's compatible with CPython's setup.py since 3.5.2

---------

Co-authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
2025-08-16 20:17:53 +03:00
Ivan Pozdeev 3dbdfdf39a 2.6.7 2025-08-15 21:49:48 +03:00
native-api 10675af5a6
Don't fail the build if xcodebuild fails (#3302) 2025-08-14 22:40:54 +03:00
native-api 685f281526
Skip Zlib from XCode for XCode 16+ (#3298)
It breaks the build due to yet unknown structural changes from XCode 15
2025-08-08 23:05:49 +03:00
Ivan Pozdeev d56241330c 2.6.6 2025-08-07 23:17:54 +03:00
Ivan Pozdeev df84c42653 2.6.5 2025-07-23 21:20:39 +03:00
native-api 798d21e0ca
(regression) Use Zlib from XCode SDK in MacOS without Homebrew or Macports (#3282) 2025-06-29 19:51:25 +03:00
Danny Kim e13b5848be
Support linking to MacPorts ports installed from binary archives (#3272) 2025-06-14 09:38:35 +03:00
Pedro Fonini 70b973fdd4
Fix python-build's has_broken_mac_readline when Readline is explicitly configured (#3254) 2025-05-22 07:58:25 +03:00
Alexander Studnitskiy f24ff8d152
Add MacPorts support for python-build (#3186)
Did not implement customizable priority due to unclear use feedback and more compilation in the code, can decide and do that separately

Tcl/Tk from MacPorts support is omitted due to CPython's only being compatible with 
Tcl/Tk 9 since 3.12.5 and 3.13.0.

Co-authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
2025-05-18 18:24:38 +03:00