Commit Graph

224 Commits

Author SHA1 Message Date
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
OscarL
ba0e97c0ba python3.10: update to 3.10.10, sync both _getuserbase() copies. (#7946)
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:30:01 +01:00
Jerome Duval
01a50ad278 python3.10: default haiku schemes 2023-03-07 20:08:08 +01:00
Jerome Duval
da07c7b2bf python3.7: add sysconfig haiku schemes 2023-03-07 20:08:08 +01:00
Jerome Duval
6a86ae3bdd python38: add sysconfig haiku schemes 2023-03-07 20:08:08 +01:00
Jerome Duval
c1113681e4 python3.9: add sysconfig haiku schemes 2023-03-06 23:03:05 +01:00
OscarL
08152db1bc python3.10: bump version to 3.10.8. (#7313)
* python310: bump revision to 3.10.8.

* Use "make altinstall".
* Documented problematic tests, and skipped the ones that hang/stall.
* Enable optimizations.
* Added a note regarding tests that invoke the crash dialog.

Running "hp --test python310" now gives the same results[*] for both
non-optimized, and optimized builds, so let's just enable
optimizations for 3.10.8.

[*] As there's some randomness involved in the test runs, YMMV.

Anecdotal/aditional info:

Building and testing with "--disable-test-modules" might be
considered? Python's docs read:

   "The test package is meant for internal use by Python only."

And that those are used for regression testing mostly. See:
https://docs.python.org/3/library/test.html#module-test

Personal experience: I got more consistent results with that flag
enabled, than witout it. I left it out, trying to avoid hiding
problems (a.k.a.: failing silently. A big NO-NO in QA/QC), and
because I assume that packaging Python counts as "internal use".

* python310: patch tests that need several GB of storage.

They now behave like on Windows or MacOSX, requiring to be enabled
by the use of the "largefile" resource usage flag.

* python3.10: rename package from python310 to python3.10.

This matches the rename of python3 to python3.7, and the similar
change for Python 3.9.

Renamed patchset files to match the recipe naming.

Sorted sections according to the Haikuporter Guidelines.
2022-12-04 16:53:38 +01:00
Augustin Cavalier
f4e7f37f8b Make Python 3.9 the default cmd:python3, rename recipes.
It's probable we should have a "_default" package for
Python3 the same way we do OpenJDK. But this should be OK
for the time being at least.
2022-10-19 16:10:24 -04:00
OscarL
1bd6275b9d python39: bump to version 3.9.14 (#7246)
* Sorted the requires libs/cmds. No functional changes intended.
* Removed a, now unnecessary, patch from the patchset.
2022-10-02 18:08:09 +02:00
OscarL
92a4913e68 python38: bump to version 3.8.14 (#7245)
Also: sorted the requires libs/cmds. No functional changes intended.
2022-10-02 16:19:03 +02:00
OscarL
ac2bea51f2 python3: bump to version 3.7.14 (#7244)
Also: sorted the requires libs/cmds. No functional changes intended.
2022-10-02 15:46:47 +02:00
Oscar Lesta
5d8b80ae20 python310: bumped version to 3.10.7
Also: build with "--with-readline=editline", which enables line-editting,
history, and tab-completion on the interactive interpreter prompt.

Closes #7183.
2022-10-02 08:34:52 +02:00
Schrijvers Luc
b7fa844cec python310, bump version (#7163) 2022-09-06 17:15:32 +02:00
Schrijvers Luc
90c40bd241 python 3.* revbump for 64bit (tk revbump) (#6938) 2022-05-24 08:14:09 +02:00
Schrijvers Luc
bda9fa31bd Python add tcl/tk dependency (make) for module _tkinter (#6932) 2022-05-24 07:05:08 +02:00
extrowerk
1eeb3e15fd Python39: bump (#6716) 2022-03-15 14:37:59 -04:00
Jerome Duval
8f0b488100 python310: bump version 2022-02-25 13:03:28 +01:00
Jerome Duval
736bf766c4 python310: add recipe for version 3.10.1 2021-12-11 19:52:27 +01:00
Jerome Duval
72c1b5431b python3: bump version 2021-11-22 21:04:22 +01:00
Jerome Duval
ddce87afa1 python38: bump version 2021-11-21 00:48:51 +01:00
Jerome Duval
c99b66170d python3.6: remove
EOL
2021-11-21 00:48:51 +01:00
Jérôme Duval
c138ecb3f0 python39: remove cmd:python and cmd:python3
conflicts with python3
2021-09-28 19:36:30 +02:00
waddlesplash
4f180bdb94 Utilize the new "all" ARCHITECTURES keyword in most recipes. (#6189)
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has,
is transformed into "all", and then the other entries in ARCHITECTURES
either dropped or rearranged appropriately.
2021-09-15 15:40:18 -04:00
Fredrik Holmqvist
6b6cf10a52 New revision 3 of python3.9.5 recipe
* arm arm64 and riscv64 arch
 * provide commands python and python3
2021-08-27 21:20:21 +02:00
Sergei Reznikov
0c3db1a5a2 python: bump to rebuild 2021-08-16 21:31:17 +03:00
Sergei Reznikov
b4f9d8cc23 rebuild packages depending on libffi 2021-08-16 14:12:36 +03:00
Jerome Duval
9119e38796 python2: bump version 2021-06-09 19:13:56 +02:00