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
Miro Hrončok
6e7145108a
Import the python3.11 package history
2022-10-27 16:31:04 +02:00
Gwyn Ciesla
1d084bcc4d
Added the README
2022-10-27 14:25:57 +00:00
Miro Hrončok
58109b55ab
Update to 3.11.0
2022-10-25 00:46:26 +02:00
Miro Hrončok
2d80073286
Update the license tag to SPDX
...
See https://gitlab.com/fedora/legal/fedora-license-data/-/merge_requests/61
The LICENSE file differs from the text at https://spdx.org/licenses/Python-2.0.1.html
only by:
- not saying "Python 2.0.1" but "Python" which is considered OK
- copyright years which is considered OK
- formatting
- listing the history and license for code examples from the documentation
(the documentation is not shipped via this package)
2022-09-13 13:30:06 +02:00
Miro Hrončok
38b3f29b55
Update to 3.11.0rc2
2022-09-13 11:00:55 +02:00
Miro Hrončok
216f3d53bc
rpminspect: Explicitly list allowed badfuncs in the _socket module
...
See https://github.com/rpminspect/rpminspect/pull/805
2022-09-05 17:32:25 +00:00
Miro Hrončok
0c6709aa13
rpmlint: Remove a superfluous space in one of the filters
...
The warnings look like:
python3.11-debugsource.x86_64: W: files-duplicate /usr/src/debug/python3.11-3.11.0~rc1-2.fc38.x86_64/build/optimized/Include/pydtrace_probes.h /usr/src/debug/python3.11-3.11.0~rc1-2.fc38.x86_64/build/debug/Include/pydtrace_probes.h
python3.11-debugsource.x86_64: W: files-duplicate /usr/src/debug/python3.11-3.11.0~rc1-2.fc38.x86_64/build/optimized/Modules/config.c /usr/src/debug/python3.11-3.11.0~rc1-2.fc38.x86_64/build/debug/Modules/config.c
python3.11-debugsource.x86_64: W: files-duplicate /usr/src/debug/python3.11-3.11.0~rc1-2.fc38.x86_64/build/optimized/Python/deepfreeze/deepfreeze.c /usr/src/debug/python3.11-3.11.0~rc1-2.fc38.x86_64/build/debug/Python/deepfreeze/deepfreeze.c
python3.11-debugsource.x86_64: W: files-duplicate /usr/src/debug/python3.11-3.11.0~rc1-2.fc38.x86_64/build/optimized/Python/frozen_modules/getpath.h /usr/src/debug/python3.11-3.11.0~rc1-2.fc38.x86_64/build/debug/Python/frozen_modules/getpath.h
2022-09-05 11:20:40 +02:00
Miro Hrončok
a71ba97787
Add more rpmlint rules to avoid all reports we see and don't care about
2022-08-23 15:12:53 +00:00
Miro Hrončok
252afb8c11
Update rpmlintrc to rpmlint 2
...
- Rename to rpmlint.toml
- Change from Python function calls to TOML list
- Remove rpmlint 1.1 workarounds
- Add rpmlint 2.2 workarounds
- Adjusts some filters to match rpmlint 2.2 messages
2022-08-23 15:12:53 +00:00
Miro Hrončok
d75ca77a64
Don't use custom installation schemes
2022-08-17 14:57:24 +02:00
Tomáš Hrnčiar
ab88d7f86c
Update to 3.11.0rc1
2022-08-08 16:04:49 +02:00
Tomáš Hrnčiar
9518f2915c
Update to 3.11.0b5
2022-07-26 13:55:26 +02:00
Fedora Release Engineering
2742991dbe
Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 23:46:54 +00:00
Miro Hrončok
44b7dd93c4
CI tests config: Define and reuse the pybasever variable
...
This will make future changes easier to backport to other Python versions.
Note that with jinja2 expressions, we need to quote them to preserve valid yaml, see:
https://docs.ansible.com/ansible/latest/user_guide/playbooks_variables.html#when-to-quote-variables-a-yaml-gotcha
2022-07-12 15:56:13 +00:00
Miro Hrončok
b2d80045f9
Update to 3.11.0b4
...
Patches 383 and 384 were merged upstream.
Patch 385 was partially merged upstream, the PR with test is still open.
2022-07-12 00:52:25 +02:00
Miro Hrončok
c7432171d0
Finish bootstrap of the re module speed regression fix
2022-07-09 01:23:18 +02:00
Miro Hrončok
0b91c9eccc
Fix speed regression in the re module which prevented chromium from building
...
For details, see https://github.com/python/cpython/issues/94675
Backported from upstream 3.11 branch + https://github.com/python/cpython/pull/94685
Needs bootstrap for test_distutils (assert _sre.MAGIC == MAGIC, "SRE module mismatch").
2022-07-08 19:30:05 +02:00
Tomáš Hrnčiar
7ce324c29a
Add patches #371 & #384
...
Clear and reset sqlite3 statements properly in cursor iternext (fixes rhbz#2099049)
Revert a problematic fix of threading._shutdown() again (fixes rhbz#2100282)
2022-06-24 12:22:45 +02:00
Miro Hrončok
17d458f006
Build Python with the optimized Blake2 library libb2
...
See https://github.com/python/cpython/issues/91251
> Distributors are encouraged to build Python with the optimized Blake2
> library libb2.
2022-06-23 12:32:46 +00:00
Tomáš Hrnčiar
73f080a859
Fedora CI: Make CI tests compatible with both main and non-main Python
2022-06-23 11:12:45 +02:00
Miro Hrončok
d4eda6057a
rpminspect: exclude the debug build from annocheck entirely
2022-06-21 20:50:42 +00:00
Miro Hrončok
a5905dea5f
Make C++ version of _Py_CAST work with 0/NULL
2022-06-21 12:50:11 +02:00
Tomáš Hrnčiar
3a1b573f2d
Finish bootstrapping for Python 3.11 mass rebuild
2022-06-13 13:39:47 +02:00
Tomáš Hrnčiar
135d879194
Initial bootstrap for Python 3.11 mass rebuild
2022-06-13 11:58:44 +02:00
Miro Hrončok
d6b108d1a6
Update to 3.11.0b3
...
Patch 381 was merged upstream
(it was the motivation for an expedited release).
2022-06-01 19:08:32 +02:00
Miro Hrončok
4e62ac5fa9
Ensure that AST nodes without explicit end positions can be compiled
2022-06-01 01:08:48 +02:00
Miro Hrončok
f8d78fe8c7
Update to 3.11.0b2
2022-05-31 21:47:45 +02:00
Miro Hrončok
d7833ee876
Don't hardcode %{ABIFLAGS_debug}
2022-05-31 21:47:45 +02:00
Miro Hrončok
f43b8c104e
Don't exclude files that don't exist
...
When built without debug_build, RPM warns:
File not found: /builddir/build/BUILDROOT/python3.11-3.11.0~b2-1.fc37.x86_64/usr/lib64/python3.11/_sysconfigdata_d_linux_x86_64-linux-gnu.py
File not found: /builddir/build/BUILDROOT/python3.11-3.11.0~b2-1.fc37.x86_64/usr/lib64/python3.11/__pycache__/_sysconfigdata_d_linux_x86_64-linux-gnu.cpython-311*.pyc
This might become an error in some distant future.
2022-05-31 21:47:45 +02:00
Tomáš Hrnčiar
ac73e8a04f
Finish bootstrapping 3.11.0b1
2022-05-10 12:56:18 +02:00
Tomáš Hrnčiar
1993f3aaf2
Update to 3.11.0b1
2022-05-10 11:47:06 +02:00
Tomas Orsava
0ff6a2eef6
Move _sysconfigdata_d_linux*.py to the debug subpackage
2022-04-29 12:24:01 +02:00
Tomas Orsava
bc0e6d534a
Remove an rpmlintrc rule that was only relevant to flatpackages
2022-04-29 12:24:01 +02:00
Tomas Orsava
93bef0917d
Drop old no-longer-needed Obsoletes of python311 and python3-tools
2022-04-29 12:24:00 +02:00
Tomas Orsava
ff6e0ec3a6
Do not Recommend python*-pip if this is not the main_python
...
Because we do not ship pip for alternative stacks (outside of `venv`).
2022-04-29 12:23:42 +02:00
Tomas Orsava
294b2649fb
Add new bcond for python_abi_provides_for_alt_pythons
...
By default enabled on EL, disabled on Fedora
2022-04-29 12:23:42 +02:00