Commit graph

853 commits

Author SHA1 Message Date
Karolina Surma
fa7c4e897f Declare the bundled mimalloc and update license tags accordingly
mimalloc provide is only declared in -libs subpackage, although
it's present also in -devel, -debug, -freethreading and
-freethreading-debug. All of those effectively require -libs, so
duplicating the provide accross all those was deemed unnecessary.
2024-04-12 13:00:08 +02:00
Karolina Surma
b95623ede3 Update to Python 3.13.0a6
Patch 00371 was removed as it no longer applies after
33da0e844c
We need to monitor the freeipa situation and rework the patch entirely in
case it is still needed.
See also https://bugzilla.redhat.com/2133853
2024-04-12 08:31:46 +02:00
Karolina Surma
c1d785c5ae Remove internal usage of @LIBPYTHON@ 2024-03-21 09:46:36 +01:00
Miro Hrončok
4161fb48da Move all test modules to the test subpackage
- __phello__
  - _xxinterpqueues
  - _xxsubinterpreters
  - xxlimited
  - xxlimited_35
  - xxsubtype

Source: https://github.com/python/cpython/blob/v3.13.0a5/Tools/build/generate_stdlib_module_names.py#L21
2024-03-13 12:42:47 +01:00
Miro Hrončok
0697d12bda Update to Python 3.13.0a5 2024-03-13 12:06:12 +01:00
Karolina Surma
c9e9f5fd4d Fix crash involving exhausted list operator
Additionally don't generate sbom (causes build to fail),
backport an accidentally lost _PyCFunctionFastWithKeywords name.
2024-02-21 10:43:57 +01:00
Karolina Surma
1ac5b6981e Update to Python 3.13.0a4 2024-02-16 10:14:00 +01:00
Fedora Release Engineering
08e077563c Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 13:33:15 +00:00
Miro Hrončok
f26990ceb8 Enable python3.13-freethreading and python3.13-freethreading-debug on ppc64le 2024-01-19 22:54:14 +01:00
Karolina Surma
1fd7efe735 Document how to find the bundled wheels versions 2024-01-19 12:29:04 +01:00
Karolina Surma
f6915d7e27 Update to Python 3.13.0a3 2024-01-19 12:29:01 +01:00
Miro Hrončok
864b42948f Update the comment for the bootstrap bcond 2024-01-08 13:16:49 +01:00
Tomáš Hrnčiar
f0b75f2c21 Require python3-rpm-generators even when bootstrapping non-main Pythons 2024-01-05 11:50:55 +01:00
Miro Hrončok
c01336e5dc Update rpmlint.toml with regards to the freethreading builds 2023-12-07 22:14:02 +01:00
Miro Hrončok
2da1bb9f6d Don't build the freethreding packages on ppc64le/s390x for now
See https://github.com/python/cpython/issues/112535
And https://github.com/python/cpython/pull/112624
And https://github.com/python/cpython/pull/112751

Rather than backporting a handful of small commits, let's wait for the next release.
2023-12-07 22:14:02 +01:00
Miro Hrončok
84d78b385a Add the python3.13-freethreading and python3.13-freethreading-debug packages
- See https://peps.python.org/pep-0703/
2023-12-07 22:14:02 +01:00
Miro Hrončok
f7b147540f Remove a duplicate %files entry for /usr/lib64/libpython3.Xd.so.1.0
This file is already listed as %{_libdir}/%{py_INSTSONAME_debug}.
The relevant nondebug file is in -libs, not -devel.
2023-11-29 16:20:16 +01:00
Miro Hrončok
0412f5117a Sanitize the %files section
- Don't bother listing %dirs and __pycache__ and *.py, list entire directories
- Keep pure Python and extension modules separated
- Sort things
- Macronize the list of extension modules for -debug
2023-11-29 16:20:16 +01:00
Karolina Surma
2e5126d7e1 Remove obsolete references to 2to3 2023-11-24 09:09:03 +01:00
Karolina Surma
55e8450a1f Update to Python 3.13a2 2023-11-24 09:08:21 +01:00
Miro Hrončok
a379172e60 Finish bootstrapping Python 3.13.0a1, use it to build self 2023-11-15 16:28:55 +01:00
Karolina Surma
a4428d6f28 Initial Python 3.13 package forked from Python 3.12 2023-10-19 01:33:48 +02:00
Yaakov Selkowitz
261b6e48d6 Use bundled libb2 in RHEL builds
Standalone libb2 is unwanted in RHEL.
2023-10-04 23:18:39 -04:00
Miro Hrončok
187d5c28b8 Update to 3.12.0 final 2023-10-02 18:40:13 +02:00
Miro Hrončok
fb0049bb7a Update to 3.12.0rc3 2023-09-19 23:20:46 +02:00
Tomáš Hrnčiar
614cafc400 Update to 3.12.0rc2 2023-09-06 14:15:23 +02:00
Tomáš Hrnčiar
67ba754f51 Temporarily skip test_check_probes in CI tests
See: https://github.com/python/cpython/issues/104280#issuecomment-1669249980
2023-08-29 16:20:07 +02:00
Tomáš Hrnčiar
0483fca31a Update to 3.12.0rc1 2023-08-08 16:16:05 +02:00
Charalampos Stratakis
1f830e372b Remove extra distro-applied CFLAGS passed to user-built C extensions
Only -fexceptions and -fcf-protection are preserved for binary
compatibility with user-built python C extension.

https://fedoraproject.org/wiki/Changes/Python_Extension_Flags_Reduction
2023-08-04 16:06:57 +02:00
Fedora Release Engineering
88668cf1f4 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 15:42:31 +00:00
Miro Hrončok
bc99d88db7 Update to 3.12.0b4
Patch 402 is part of this release.
2023-07-12 07:01:20 +02:00
Tomáš Hrnčiar
2d8f888430 Backport upstream patch to add PyType_GetDict() function 2023-06-21 10:04:34 +02:00
Tomáš Hrnčiar
8522651180 Update to 3.12.0b3 2023-06-20 18:45:12 +02:00
Python Maint
5b9ff3722c Rebuilt for Python 3.12 2023-06-13 17:23:48 +02:00
Python Maint
8b139823bd Bootstrap for Python 3.12 2023-06-13 15:03:26 +02:00
Tomáš Hrnčiar
036d63f211 Update to 3.12.0b2 2023-06-08 11:29:08 +02:00
Miro Hrončok
6073e4f006 --without rpmwheels: Declare bundled() provides and a complex License tag 2023-05-30 19:26:33 +02:00
Miro Hrončok
0c82a4ac9f Use wheels from RPMs, at least on Fedora 39+ 2023-05-29 16:00:31 +02:00
Tomáš Hrnčiar
8bed4bf373 Update to 3.12.0b1
This update enables budled pip, because in Fedora we don't have the
latest version yet.
See: https://src.fedoraproject.org/rpms/python-pip/pull-request/123#comment-142984
2023-05-25 14:53:49 +02:00
Miro Hrončok
dd482b1c20 Remove ExcludeArch for arm, Fedora 36 went EOL 2023-05-22 11:10:13 +02:00
Tomáš Hrnčiar
3f1a71ddff Update to 3.12.0a7 2023-04-05 10:38:44 +02:00
Miro Hrončok
7e80f75262 Increase the test timeout in %check
We see test failures lately mostly on ppc64le
due to test_compile taking more than 30 minutes.
2023-03-24 00:36:36 +01:00
Tomáš Hrnčiar
1e78502d6d Update to 3.12.0a6 2023-03-08 09:56:50 +01:00
Miro Hrončok
204e750d2e CI: Disable Cython checks on the smoke test for now
Even Cython from git HEAD does not support 3.12.0a5 yet.
2023-02-11 22:30:50 +01:00
Tomáš Hrnčiar
440cc12f14 Update to 3.12.0a5 2023-02-08 18:38:25 +01:00
Miro Hrončok
4aa8fa2b5a Don't require pyproject-rpm-macros on RHEL
See also https://src.fedoraproject.org/rpms/pyproject-rpm-macros/pull-request/345
2023-01-20 20:55:43 +00:00
Fedora Release Engineering
e190ec477f Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 18:45:19 +00:00
Tomáš Hrnčiar
d0514d9a61 Update to 3.12.0a4 2023-01-11 10:52:12 +01:00
Miro Hrončok
1f1415ae57 No longer patch the default bytecode cache invalidation policy
That is, drop patch 328.

Fixes https://bugzilla.redhat.com/2133850

See also https://src.fedoraproject.org/rpms/python-rpm-macros/pull-request/154

This is part of https://fedoraproject.org/wiki/Changes/ReproducibleBuildsClampMtimes
2022-12-19 15:51:17 +01:00
Tomáš Hrnčiar
88efa1916c Update to 3.12.0a3 2022-12-07 16:11:18 +01:00