Commit Graph

845 Commits

Author SHA1 Message Date
Miro Hrončok
b919f67d5c CI: Remove tox+virtualenv tests until they are available in EPEL 10 2024-05-07 17:14:22 +02:00
Miro Hrončok
9f5de9df82 Remove the nis module, drop the dependency on libnsl2 2024-04-23 18:08:50 +02:00
Miro Hrončok
0ca4fb92bf Merge fedora/rawhide into c10s 2024-03-26 11:45:41 +01:00
Miro Hrončok
9c9178a72b Move all test modules to the test subpackage
- __phello__
  - _xxsubinterpreters
  - xxlimited
  - xxlimited_35
  - xxsubtype

Source: https://github.com/python/cpython/blob/v3.12.2/Tools/build/generate_stdlib_module_names.py#L23
2024-03-21 12:29:18 +01:00
Lumir Balhar
5d12698d82 Add provides and symbolic links for compatibility with platform-python
Resolves: RHEL-27855
2024-03-04 15:23:09 +01:00
Miro Hrončok
c0ffafcda5 Fix tests for XMLPullParser with Expat 2.6.0
See also: https://bugzilla.redhat.com/2264859
2024-02-21 11:58:17 +01:00
Tomáš Hrnčiar
d3e4f80070 Update to 3.12.2 2024-02-08 16:33:19 +01:00
Fedora Release Engineering
ff956d27be Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 13:32:50 +00:00
Fedora Release Engineering
c604248608 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 09:22:06 +00:00
Tomáš Hrnčiar
90929e6c2e Require python3-rpm-generators even when bootstrapping non-main Pythons 2024-01-05 11:51:54 +01:00
Lumir Balhar
7a094a0571 Security fix for CVE-2023-27043 (rhbz#2196190) 2023-12-18 13:17:51 +01:00
Miro Hrončok
3c67985ace Own stray directories in /usr/lib64/python3.12
Fixes https://bugzilla.redhat.com/2252143
2023-12-08 20:15:03 +01:00
Tomáš Hrnčiar
cc458c9fb3 Update to 3.12.1 2023-12-08 14:38:32 +01:00
Miro Hrončok
c41c6b28ff CI: Run smoke test with cython 2023-10-18 11:23:30 +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
Miro Hrončok
6324efea7a %check: Run tests with %{_smp_mflags} instead of -j0
-j0 means: Run tests in parallel, automatic number of workers, according to CPU count
%{_smp_mflags} means: -j%{_smp_build_ncpus} where %{_smp_build_ncpus} is the CPU count by default

Hence, this makes no difference unless %{_smp_build_ncpus} is manually clamped.
In that case, we now respect the wishes of the builder/packager/etc.
2022-11-16 23:38:50 +00:00
Miro Hrončok
5fcd231389 Add minimal version limits on setuptools/pip wheels
Fedora 37+ has setuptools 62.6+ and pip 22.2.2+
Fedora 36 is patched in:
https://src.fedoraproject.org/rpms/python-setuptools/pull-request/86
https://src.fedoraproject.org/rpms/python-pip/pull-request/117
2022-11-16 17:48:22 +01:00
Tomáš Hrnčiar
c12d924ecf Update to 3.12.0a2
Patches 389 and 390 merged upstream.

The distutils module was removed from Python 3.12:

- patch 1 removed, only patched distutils
  (the original rpath problem only affected numpy, numpy 1.23.4+ uses chrpath to fix it)
- patch 251 updated to remove the distutils hunk
  (which is already present in pypa/distutils ~ setuptools)

The debug _xxtestfuzz module was moved a bit in the list of files
when _testsinglephase was added, for consistency.

Co-Authored-By: Miro Hrončok <miro@hroncok.cz>
2022-11-15 20:16:38 +01:00
Miro Hrončok
6befb8fa5d Update comment about skipped test_freeze_simple_script 2022-10-31 18:01:13 +01:00
Miro Hrončok
1bc45ffecb Finish initial bootstrap of Python 3.12.0a1 2022-10-28 01:55:47 +02:00
Miro Hrončok
fe95b37f25 Make the package buildable without bootstrap 2022-10-28 00:13:16 +02:00
Tomáš Hrnčiar
6e2dac669d Exclude 32bit ARM from Python 3.12 2022-10-27 18:21:27 +02:00
Tomáš Hrnčiar
8003a07438 Initial Python 3.12 package forked from Python 3.11 2022-10-27 17:41:21 +02:00