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
Tomáš Hrnčiar
f7c068e6b9
Update to 3.10.10
2023-02-09 14:35:49 +01:00
Fedora Release Engineering
70c2981695
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 18:45:00 +00:00
Miro Hrončok
ad089d6d9f
Opt-out from https://fedoraproject.org/wiki/Changes/fno-omit-frame-pointer
...
See https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/6TQYCHMX4FZLF27U5BCEC7IFV6XNBKJP/
for rationale, namely https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/message/ZVDEXGPU6JQFXB3XHYZ4IXVQNNR3YM3V/
Summary: Python is currently slower with frame pointers
due to a slowdown in _PyEval_EvalFrameDefault,
but we expect this to be solved in Python 3.12.
Tracking bugzilla: https://bugzilla.redhat.com/2158729
This change does not require a release bump.
It is only needed to be here to prevent the next builds from including frame pointers.
2023-01-06 11:05:28 +00:00
Miro Hrončok
550562473d
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-21 12:41:55 +01:00
Miro Hrončok
f6a8197f41
Supplement tox from the devel package
...
tox only Recommends python3.10, not python3.10-devel.
Since this is the oldest "nonflat" alternate Python version package,
this was forgotten.
See https://src.fedoraproject.org/rpms/python3.11/c/771f810493740f35e92e75cdd52dd9dd4b5fa621
See also https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/NVVUXSVSPFQOWIGBE2JNI67HEO7R63ZQ/
2022-12-20 20:50:42 +01:00
Tomáš Hrnčiar
4c508562f0
Update to 3.10.9
2022-12-07 12:02:58 +01:00
Miro Hrončok
b399bc200e
Make IDLE work without python3-test installed
2022-11-14 16:23:15 +01:00
Lumir Balhar
924c3ebdb1
Fix CVE-2022-42919
2022-11-09 12:05:00 +01:00
Miro Hrončok
49411c201e
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)
Backported from https://src.fedoraproject.org/rpms/python3.11/c/2d800732862d491c7f7c355c86d86467c249b1ae
2022-10-12 22:40:34 +00:00
Miro Hrončok
3fef586c93
Update to 3.10.8
...
Patch 382 was merged upstream.
2022-10-12 15:45:54 +02:00
Miro Hrončok
3809748543
Update to 3.10.7, with security fix for CVE-2020-10735
2022-09-07 16:28:28 +02:00
Miro Hrončok
38f9dd1590
Don't use custom installation schemes
2022-08-22 12:03:59 +02:00
Tomáš Hrnčiar
f5d6ae420d
Update to 3.10.6
2022-08-02 15:33:21 +02:00
Fedora Release Engineering
ce2b654098
Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 23:46:44 +00:00
Tomáš Hrnčiar
563252ba42
Rebuilt for Python 3.11
2022-06-13 11:49:58 +02:00
Charalampos Stratakis
14dceddf56
Security fix for CVE-2015-20107
...
Resolves: rhbz#2075390
2022-06-09 15:46:59 +02:00
Tomáš Hrnčiar
940ad7f7ca
Update to 3.10.5
2022-06-07 13:29:54 +02:00
Miro Hrončok
7ff8be2916
Don't hardcode %{ABIFLAGS_debug}
2022-05-31 19:47:45 +00:00
Miro Hrončok
c060b0c436
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 19:47:45 +00:00
Tomas Orsava
55d25b67d6
Move _sysconfigdata_d_linux*.py to the debug subpackage
2022-05-14 10:51:11 +02:00
Tomas Orsava
861a7a4e00
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-05-14 10:47:56 +02:00
Tomas Orsava
153213a33d
Add new bcond for python_abi_provides_for_alt_pythons
...
By default enabled on EL, disabled on Fedora
2022-05-14 10:47:09 +02:00
Tomas Orsava
9fb3dbd8c9
Obsolete python3.X-foo from individual subpackages
...
e.g. python3-devel now Obsoletes python3.X-devel
We are contemplating splitting alternative Pythons into subpackages, so we need to obsolete each of them from the main Python version.
Related: rhbz#2063227
2022-05-14 10:47:09 +02:00
Tomas Orsava
b071d7f932
Let there *not* be flatpackage
...
Remove the flatpackage bcond entirely
2022-05-14 10:46:32 +02:00
Tomas Orsava
8055248c0e
Build Python 3.11 with subpackages (by disabling the flatpackage bcond)
...
No change in not providing `python(abi)` for alternative Python versions
Resolves: rhbz#2063227
2022-05-14 10:44:32 +02:00
Tomáš Hrnčiar
fdfd6c1d94
Update to 3.10.4
2022-03-25 08:04:17 +01:00
Tomáš Hrnčiar
3d2cdb2380
Update to 3.10.3
2022-03-18 09:23:26 +01:00
Tomas Orsava
1e4699e5bc
Use new macros %python_wheel_dir and %python_wheel_pkg_prefix
...
..for build/requiring wheel packages and for the file location.
This does not actually change the name or the contents of the subpackage.
2022-02-07 17:49:06 +01:00
Tomáš Hrnčiar
15f7528ae8
Backport AC_C_CHAR_UNSIGNED/__CHAR_UNSIGNED__ removal
2022-02-01 14:30:18 +01:00
Fedora Release Engineering
7dd344e69a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 16:48:45 +00:00
Tomáš Hrnčiar
bba9c24200
Update to 3.10.2
2022-01-17 08:58:44 +01:00
Miro Hrončok
00a20f7f43
Backport fixes for two Python 3.10.1 regressions
...
Fixes https://bugzilla.redhat.com/2030621
Fixes https://bugzilla.redhat.com/2034962
2022-01-12 18:20:15 +01:00
Miro Hrončok
ac4f898546
Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34
2022-01-08 11:12:32 +01:00
Tomáš Hrnčiar
4dc2200b8e
Update to 3.10.1
2021-12-07 14:51:31 +01:00
a707776bcf
Rebuild(libnsl2)
...
Signed-off-by: Björn Esser <besser82@fedoraproject.org>
2021-11-12 22:02:16 +01:00
Lumir Balhar
d5c558ed2a
Update patch 251 to include specific install scheme for virtualenv
2021-11-10 11:19:36 +01:00
Tomáš Hrnčiar
d2c17b67d0
Enable test_frozentable
...
test_frozentable was disabled due to error in Python 3.10.0a6. This is
now fixed so test can be enabled again.
2021-10-07 07:30:41 +02:00
Miro Hrončok
47935cfb98
Change the values of sysconfig's "posix_prefix" install scheme to /usr/local
...
- when RPM build or venv/virtualenv is not detected
- replaces the patch for distutils, as distutils is deprecated
The original values are saved as an additional "rpm_prefix" install scheme.
See https://discuss.python.org/t/pep-632-deprecate-distutils-module/5134/104
for a more detailed rationale.
Downstream only for now, waiting for https://bugs.python.org/issue43976
2021-10-05 11:53:19 +02:00
Miro Hrončok
f2ba079270
Update to 3.10.0 final
...
Patch 367 was included in this release.
2021-10-04 21:25:03 +02:00
Sahana Prasad
59e0a098f7
Rebuilt with OpenSSL 3.0.0
2021-09-14 19:12:37 +02:00
Tomas Hrnciar
19e0804a72
Update to 3.10.0rc2
2021-09-09 11:41:28 +02:00
Tomas Hrnciar
bda63fb917
Update to 3.10.0rc1
2021-08-04 12:42:48 +02:00
Fedora Release Engineering
7cf9a3a8cd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 10:31:38 +00:00
Petr Viktorin
d2d07f0ea7
Require pyproject-rpm-macros from python3-devel
...
Part of the new Python packaging guidelines change:
- https://fedoraproject.org/wiki/Changes/PythonPackagingGuidelines202x
- https://bugzilla.redhat.com/show_bug.cgi?id=1977883
2021-07-16 11:49:45 +02:00
Petr Viktorin
9d4a528953
Provide python3-turtle from python3-tkinter
...
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1952565
2021-07-16 11:49:45 +02:00
Miro Hrončok
08bde6d5c8
Update to 3.10.0b4
...
- patch 363 was a backport
- bundled pip was updated to 21.1.3
2021-07-12 00:27:27 +02:00
Miro Hrončok
51d9e334af
Update to 3.10.0b3
2021-06-18 15:32:30 +02:00
Python Maint
b8586120e5
Rebuilt for Python 3.10
2021-06-01 16:53:08 +02:00