Commit Graph

250 Commits

Author SHA1 Message Date
OscarL
ea0fafb7c7 python3.14: new recipe. (#11298)
* python3.14: new recipe.

First alpha release. Final 3.14.0 version expected next year.

Only tested unoptimized 64 bits builds so far.

* python3.14: update to alpha2. Works on 32 bits now!

* python3.14: update to alpha3.

* python3.14: update to alpha4.

Removed patch for `config.guess`, as it is now not needed.

* python3.14: update to alpha5.

* python3.14: make sure 'spawn' is used and not 'forkserver'.

* python3.14: update to alpha6.

* python3.14: update to alpha7.

* python3.14: update to 3.14.0 beta1.
2025-05-08 07:40:26 +00:00
OscarL
92413b58b1 python3.13: update to version 3.13.3. (#12213) 2025-04-20 04:27:51 +00:00
OscarL
40045a4ffd python3.12: update to version 3.12.10. (#12153)
Re-run the test suite on both bare-metal nightly 32 bits (hrev58812),
and beta5 64 bits under VMware, to double check which tests still hang
and which work.

Did my best to add some notes on possible causes for the failing ones.
2025-04-15 06:11:39 +00:00
OscarL
8d9e0240e9 python3.11: update to version 3.11.12. (#12151) 2025-04-14 15:09:39 +00:00
OscarL
c059c9729c python3.10: fix 32 bits build. (#12132) 2025-04-11 09:55:04 +00:00
OscarL
60bc6c068e python3.10: update to version 3.10.17. (#12131)
Enable creation of a _debuginfo package (in hopes that it can make crash
reports more useful).
2025-04-10 13:01:10 +00:00
OscarL
56946bb4b6 python3.9: update to version 3.9.22. (#12126) 2025-04-10 10:51:17 +00:00
OscarL
e95927343b python3.12: update to version 3.12.9. (#11723) 2025-02-05 07:17:47 +00:00
OscarL
351094338c python3.13: update to version 3.13.2. (#11722) 2025-02-05 07:17:33 +00:00
OscarL
be3dd1015a python3.13: update to version 3.13.1. (#11453) 2024-12-14 13:33:09 +01:00
OscarL
e2335de1d1 python3.9: update to version 3.9.21. (#11446) 2024-12-14 09:52:26 +01:00
OscarL
80baac6fdc python3.11: update to version 3.11.11. (#11445) 2024-12-14 09:05:02 +01:00
OscarL
a7c615e261 python3.12: update to version 3.12.8. (#11444) 2024-12-14 07:50:57 +01:00
OscarL
198fb2d211 python3.10: update to version 3.10.16. (#11442) 2024-12-14 07:15:59 +01:00
OscarL
d47fad6c21 python3.13: new recipe. (#10793)
Some notes:
- Enabled '--with-lto' for some extra bits of speed.
- Building the GIL-free version fails, so only the "traditional" available.
- Experimental JIT compiler also failed to build. Might try again on next releases.

This version removes, among other things, lib2to3, so we might face some compatibility issues
with older packages.
2024-10-11 17:36:42 +02:00
OscarL
f2f2723b8d python3.12: update to version 3.12.6. (#11122) 2024-09-17 15:53:55 +00:00
waddlesplash
99b6b022ff python3.10: Drop timezone_data requirement.
The "zoneinfo" module can function with a package from PyPI in its absence, and this would otherwise add a package to the default install.
2024-08-12 15:04:01 -04:00
Augustin Cavalier
cf41b3bf40 Tweak recipes for rebuild on x86 secondary arch.
Version requirements no longer needed now that OpenSSL devel package
does not specify devel provides anymore.
2024-08-09 12:39:45 -04:00
Augustin Cavalier
0e8ff9b52a Bump more packages to use openssl3. 2024-08-08 14:28:50 -04:00
OscarL
58b4797a43 python3.11: update to version 3.11.9. (#10789)
Reworked the .patchset, to match what has been done for other versions already.

According to "PEP 664 – Python 3.11 Release Schedule" this is 3.11's
"final regular bugfix release".
2024-08-06 13:17:21 +02:00
OscarL
ba2315f7ea python3.9: update to version 3.9.19. (#10785)
.patchset changes after the ones done for 3.10.
2024-08-04 08:53:25 +02:00
OscarL
689d29823f python3.10: fix build on 32 bits. (#10784) 2024-08-03 14:19:49 +02:00
OscarL
ca1fccee49 python3.10: fix a 'ctypes' bug I introduced on the 3.10.14 patchset. (#10783)
Also:
- consolidate recipe 'options' near the top.
- remove pyvenv from provides (removed on Python 3.8).
2024-08-03 11:14:39 +02:00
OscarL
7694f68eca python3.10: patch set re-work. (#10750)
Re-worked the patchset, mostly to avoid having scattered changes to the same
areas, trying to keep each "commit" on a narrower focus/topic.

Fixes #10211, and attempts to fix some remaining _INSTALL_SCHEMES issues.
(makes `platinclude` point to the system headers for the default scheme,
which should avoid having to set HAIKU_USE_VENDOR_DIRECTORIES=1 when bulding
gdb).
2024-07-31 08:02:34 +02:00
OscarL
30bae5bfd2 python3.12: update to version 3.12.4. (#10752) 2024-07-29 21:32:47 +02:00
OscarL
5cef8c24c3 python3.10: update to version 3.10.14. (#10696) 2024-07-17 11:01:41 +02:00
Alexander von Gluck IV
6f79a984a8 python: fix config.guess for non-x86 arch
* Should fix build on arm, arm64, riscv64, etc
2024-03-14 12:58:13 -05:00
OscarL
8a3f3ee2ae python3.12: update to version 3.12.2. (#10111) 2024-02-16 11:27:40 +01:00
OscarL
eef3fd5c7a python3.11: update to version 3.11.8. (#10110) 2024-02-16 11:27:27 +01:00
OscarL
d75085a35b python3.10: fix builds on nightlies that include kqueue. (#10101)
Fixes #10001.

Also:
- Use same way of excluding tests as in 3.11/3.12.
- Disable some more tests that hang reliably.
2024-02-13 17:56:39 +01:00
OscarL
1c4b106f6c python3.10: fix build with newer libedit. (#10019)
Reference: https://github.com/python/cpython/pull/110239
2024-01-28 17:54:07 +01:00
OscarL
015f20ff8f python3.12: update to version 3.12.1 (#9875) 2023-12-11 08:25:15 +01:00
OscarL
c7132aa43c python3.11: update to version 3.11.7 (#9874) 2023-12-11 08:24:31 +01:00
OscarL
6a03b68d44 python3.12: add recipe for Python version 3.12.0. (#9602) 2023-10-11 05:48:14 +00:00
OscarL
98496e2705 python3.11: update to version 3.11.6 (#9561) 2023-10-03 09:58:18 +02:00
OscarL
ca273f2150 python3.8: remove recipe. (#9305)
This will get EOL-ed in October (assuming it ever gets a .19 release).

We've anounced its demise on the forums in March, with a 6 months grace
period. Now that we have 3.11 on the repos, time to let this one go.

While this only removes the Python 3.8 package, and not each individual
"_python38" package we have, at least it will make it obvious we need to
change those recipes at install/update/rebuild time.

Only one recipe (not under /dev-python/) uses `python3.8` directly, and that's
for `calibre`'s TEST() (that recipe needs moving to 3.10 anyway).

So long Python 3.8!
2023-08-30 11:44:30 +00:00
OscarL
37a948eaf7 python3.11: new recipe for Python 3.11 (#9284) 2023-08-29 16:12:29 +00:00
OscarL
b8cdf0e090 python3.10: update to version 3.10.13 (#9283) 2023-08-25 12:39:14 +03:00
OscarL
58ad33e89d python3.9: update to version 3.9.18 (#9281) 2023-08-25 10:13:08 +03:00
OscarL
c58157dc95 python3.8: update to version 3.8.18 (#9280)
* python3.8: update to version 3.8.18

* python3.8: recipe improvements "backported" from newer versions.
2023-08-25 09:54:04 +03:00
OscarL
b23c17e867 python3.7: remove EOL version. (#9229) 2023-08-16 05:47:59 +00:00
Schrijvers Luc
4bab264cd4 python2.7, drop obsolete version (#9176) 2023-08-11 16:12:55 +00:00
PulkoMandy
87f3d9e433 Python: make Python 3.10 the main one.
Python 3.9 is a bit broken (no readline/editline), so let's move on to
3.10 which works better.
2023-08-11 13:25:26 +02:00
OscarL
d8362722ab python3.10: update to version 3.10.12 (#8848)
* Use BASEFLAGS instead of CFLAGS, and set OPT to something better than "".
  This seems to finally make "--enable-optimizations" do some speedup :-)
* Disabled/skipped more hanging tests. If debugger is configured to "kill",
  running "hp --test python3.10" should finally not hang anymore.
2023-06-11 14:02:50 +02:00
OscarL
182e1d8b01 python3.9: update to version 3.9.17 (#8847)
* Use BASEFLAGS instead of CFLAGS, and set OPT to something better than "".
  This seems to finally make "--enable-optimizations" do some speedup, so
  lets use it for 3.9 too now.
* "backported" the 3.10 patch for "largefile" flag in tests, and also the
  entire TEST() function from the 3.10.12 recipe, as it makes possible to
  run `hp --test python3.9` without hanging (assuming Debugger is set to
  kill).
2023-06-11 14:02:33 +02:00
OscarL
de94305396 python3.10: cleanups, no functional changes. (#8648)
This is basically #3834, but for Python 3.10.

Only two "310" references remain, but those will go away for newer Pythons.
2023-05-16 14:13:12 +02:00
OscarL
baa6bd9d6c python3.10: update to 3.10.11 final. (#8629)
This is the last of the "regular" bugfixes releases.

Only "security updates", will be available, released as needed,
from this point forward, till around October 2026.
2023-05-12 15:28:01 +02:00
OscarL
6f08937c46 python3.8: update to 3.8.16, sync both _getuserbase() copies. (#7944)
This addresses the "small caveat" issue mentioned on #7531 that
affects all python versions, by making sure that both site.py's
and sysconfig.py's copies of _getuserbase() have the same code.

Also: renamed the package to be consistent with the rest of the
Python versions.
2023-03-11 19:15:36 +01:00
OscarL
077fd3fb53 python3.7: update to 3.7.16, sync both _getuserbase() copies. (#7942)
This addresses the "small caveat" issue mentioned on #7531 that
affects all python versions, by making sure that both site.py's
and sysconfig.py's copies of _getuserbase() have the same code.
2023-03-11 11:31:57 +01:00
OscarL
0f2e26b159 python3.9: update to 3.9.16, sync both _getuserbase() copies. (#7945)
This addresses the "small caveat" issue mentioned on #7531 that
affects all python versions, by making sure that both site.py's
and sysconfig.py's copies of _getuserbase() have the same code.
2023-03-11 11:31:05 +01:00