Commit graph

834 commits

Author SHA1 Message Date
Karolina Surma
daba5b738c Update to Python 3.10.21 2026-08-14 11:30:25 +02:00
Miro Hrončok
b4205523e7 Only explicitly require expat >= installed version when expat < 2.7.4
See https://src.fedoraproject.org/rpms/expat/c/4da0543472

(cherry picked from python3.15 commit ce1bde3e67443b7cf5df33bf58cb2ec75cc2c8e2)
2026-08-12 19:04:54 +00:00
Miro Hrončok
7da201e900 Skip UDP Lite tests if it's not supported
- Fixes FTBFS on Linux kernel 7.1 and newer
2026-07-30 17:25:58 +02:00
Fedora Release Engineering
c30eb40478 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-16 22:47:20 +00:00
Lumír Balhar
e6d9413cd5 Run a new test to monitor changes in required symbols
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-07-03 12:23:27 +02:00
Miro Hrončok
16aa6aa9ff Fix ssl.SSLError: [ASN1: NOT_ENOUGH_DATA] not enough data with OpenSSL 3.5.7+ 2026-07-02 10:59:38 +02:00
Miro Hrončok
458effe6fa Explicitly build with OpenSSL 3 for now
https://fedoraproject.org/wiki/Changes/OpenSSL40
2026-04-11 14:54:00 +02:00
Tomáš Hrnčiar
c9e6166456 Update to 3.10.20 2026-03-03 14:27:39 +01:00
Tomáš Hrnčiar
e0dac6a2c5 Security fixes for CVE-2026-0865, CVE-2025-15366 and CVE-2025-15367 2026-02-19 09:22:53 +01:00
Fedora Release Engineering
6c0fab4bc9 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 10:39:54 +00:00
Karolina Surma
311900d817 Extend the expat requirement to differentiate between 32 and 64 arches
(cherry picked from python3.15 commit a5ca170d3f1e6e19f5df66f21482c2b10593af42)
2026-01-13 16:34:20 +01:00
Karolina Surma
14cfcd8b1f Require at least the same expat version as used during the build
The versioned requirement is no longer valid -
this happens again now with expat 2.7.2 introducing new symbols.

Make the versioned requirement future-proof - the generated version will always
match at least the one present in the buildroot during the Python build.
2026-01-07 17:00:41 +01:00
Miro Hrončok
bd23e23416 Inject SBOM into the installed wheels (when using the bundled ones) 2025-11-20 09:51:47 +00:00
Karolina Surma
a3bdce551c Update to Python 3.10.19 2025-10-10 14:22:08 +02:00
Lumir Balhar
b1fc74dd76 rpminspect: Wrap strings with globs with single quotes
It seems to be required since rpminspect 2.0:
1593c38ce4
2025-08-26 13:27:51 +02:00
Lukáš Zachar
207259522d Drop STI and use tmt instead
Resolves: rhbz#2383056
2025-08-04 22:43:47 +00:00
Fedora Release Engineering
9d6cf58680 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 11:18:56 +00:00
Miro Hrončok
ec3cbfebe9 Fixup the patch 1 commit message after the importpatches/exportpatches change
This fixes up 772c5976f4 + 75538d3684.
2025-06-26 13:13:07 +02:00
Tomáš Hrnčiar
6c238008d1 Update to 3.10.18 2025-06-04 13:38:00 +02:00
Charalampos Stratakis
75538d3684 Fix PySSL_SetError handling SSL_ERROR_SYSCALL
This fixes random flakiness of test_ssl on stressed machines
2025-05-13 02:32:52 +02:00
Tomáš Hrnčiar
772c5976f4 Regenerate patches with updated importpatches script 2025-04-17 11:43:22 +02:00
Charalampos Stratakis
234d41ca6b test_ssl: Don't stop ThreadedEchoServer on OSError in ConnectionHandler
Fixes: rhbz#2355052
2025-04-16 22:47:54 +02:00
Miro Hrončok
a48837eb4a Update to 3.10.17
Patches 438 and 450 merged upstream.
2025-04-09 09:54:55 +02:00
Charalampos Stratakis
aceb601ce3 Properly apply exported CFLAGS for dtrace/systemtap builds
Fixes: rhbz#2356303
2025-04-01 01:44:48 +02:00
Charalampos Stratakis
df9826a90e Security fix for CVE-2025-0938
Fixes: rhbz#2343276
2025-02-10 23:40:17 +01:00
Miro Hrončok
ee2c642d12 Rebuilt with mpdecimal 4.0.0 2025-02-06 12:04:28 +01:00
Miro Hrončok
dfe7d50957 Ensure this package is built with Tk 8
- Fixes: rhbz#2337757
2025-02-03 12:21:09 +01:00
Björn Esser
df15baee47
Add explicit BR: libxcrypt-devel
Signed-off-by: Björn Esser <besser82@fedoraproject.org>
2025-02-01 19:56:54 +01:00
Fedora Release Engineering
10df377823 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-18 21:08:05 +00:00
Charalampos Stratakis
9af4582cf9 Update to 3.10.16
Security fix for CVE-2024-9287

Resolves: rhbz#2321654
2024-12-05 00:54:17 +01:00
Miro Hrončok
5c73fd0f8e Fix ThreadedVSOCKSocketStreamTest 2024-09-11 20:20:50 +02:00
Miro Hrončok
cdabc2abe7 Skip test_sendfile_close_peer_in_the_middle_of_receiving on ppc64le
Reported upstream https://github.com/python/cpython/issues/123384
Which was a duplicate of https://github.com/python/cpython/issues/120226

The test is fixed on the main branch, but skipping is easier than backporting.

The failure occurs with Kernel 6.10.x even when Python is built with an older Kernel.
2024-09-09 16:10:38 +02:00
Tomáš Hrnčiar
6d6290fa95 Update to 3.10.15 2024-09-09 10:54:57 +02:00
Lumir Balhar
67b71083fa Require systemtap-sdt-devel for sys/sdt.h 2024-07-23 13:23:31 +02:00
Fedora Release Engineering
f7d93eee18 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 17:26:02 +00:00
Miro Hrončok
b3ea7e1f7d Require expat >= 2.6 to prevent errors when creating venvs with older expat
The code in CPython uses XML_SetReparseDeferralEnabled when expat is >= 2.6 during the build.
However, when users upgrade Python independently on the expat package,
they may have expat 2.5 installed and see errors like:

    $ python3.1X -m venv venv
    Error: Command '['venv/bin/python3.1X', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.

    $ venv/bin/python3.1X -m ensurepip --upgrade --default-pip
    Traceback (most recent call last):
      ...
      File "/tmp/.../pip-24.0-py3-none-any.whl/pip/_internal/commands/install.py", line 15, in <module>
        from pip._internal.cli.req_command import (
        ...<3 lines>...
        )
      File "/tmp/.../pip-24.0-py3-none-any.whl/pip/_internal/cli/req_command.py", line 21, in <module>
        from pip._internal.index.package_finder import PackageFinder
      File "/tmp/.../pip-24.0-py3-none-any.whl/pip/_internal/index/package_finder.py", line 30, in <module>
        from pip._internal.req import InstallRequirement
      File "/tmp/.../pip-24.0-py3-none-any.whl/pip/_internal/req/__init__.py", line 8, in <module>
        from .req_install import InstallRequirement
      File "/tmp/.../pip-24.0-py3-none-any.whl/pip/_internal/req/req_install.py", line 40, in <module>
        from pip._internal.operations.install.wheel import install_wheel
      File "/tmp/.../pip-24.0-py3-none-any.whl/pip/_internal/operations/install/wheel.py", line 39, in <module>
        from pip._vendor.distlib.scripts import ScriptMaker
      File "/tmp/.../pip-24.0-py3-none-any.whl/pip/_vendor/distlib/scripts.py", line 16, in <module>
        from .compat import sysconfig, detect_encoding, ZipFile
      File "/tmp/.../pip-24.0-py3-none-any.whl/pip/_vendor/distlib/compat.py", line 81, in <module>
        import xmlrpc.client as xmlrpclib
      File "/usr/lib64/python3.1X/xmlrpc/client.py", line 138, in <module>
        from xml.parsers import expat
      File "/usr/lib64/python3.1X/xml/parsers/expat.py", line 4, in <module>
        from pyexpat import *
    ImportError: /usr/lib64/python3.1X/lib-dynload/pyexpat.cpython-31X-x86_64-linux-gnu.so: undefined symbol: XML_SetReparseDeferralEnabled
    Traceback (most recent call last):
      ...
    subprocess.CalledProcessError: Command '['venv/bin/python3.1X', '-W', 'ignore::DeprecationWarning', '-c', '\nimport runpy\nimport sys\nsys.path = [\'/tmp/.../pip-24.0-py3-none-any.whl\'] + sys.path\nsys.argv[1:] = [\'install\', \'--no-cache-dir\', \'--no-index\', \'--find-links\', \'/tmp/...\', \'--upgrade\', \'pip\']\nrunpy.run_module("pip", run_name="__main__", alter_sys=True)\n']' returned non-zero exit status 1.

Thanks to Markus Falb for discovering this problem.

https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/7XHGWHBQDNFKNGSZTP44SSD6PQKZPG6C/
2024-04-18 01:50:23 +02:00
Tomáš Hrnčiar
8ba4297490 Update to 3.10.14 2024-03-20 11:33:47 +01:00
Tomáš Hrnčiar
88602725a6 Merge rawhide with f39 2024-03-20 11:30:32 +01:00
Charalampos Stratakis
d897af59da Fix tests for XMLPullParser with Expat 2.6.0
See also: https://bugzilla.redhat.com/2264859
2024-02-28 17:10:33 +01:00
Charalampos Stratakis
f8879650f9 Fix tests for XMLPullParser with Expat 2.6.0
See also: https://bugzilla.redhat.com/2264859
2024-02-28 17:08:06 +01:00
Karolina Surma
433e38e58c Fix test_zlib with zlib-ng-compat 2024-01-29 12:00:35 +01:00
Fedora Release Engineering
740efdfb46 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 13:31:26 +00:00
Fedora Release Engineering
8e56c79b2a Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 09:21:36 +00:00
Lumir Balhar
034e3e58be Security fix for CVE-2023-27043 (rhbz#2196187) 2023-12-18 13:15:37 +01:00
Tomáš Hrnčiar
f9e0b9baea Update to 3.10.13 2023-08-28 15:35:01 +02:00
Charalampos Stratakis
53f7dd0a42 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:16:20 +02:00
Fedora Release Engineering
1a8b07885e Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 15:41:58 +00:00
Tomáš Hrnčiar
718dd7e9a5 Update to 3.10.12 2023-06-08 09:33:27 +02:00
Charalampos Stratakis
db3fe4ad65 Fix for CVE-2023-24329
Resolves: rhbz#2174010
2023-05-29 17:16:39 +02:00
Tomáš Hrnčiar
1797d63700 Update to 3.10.11 2023-04-06 09:58:27 +02:00