Commit graph

762 commits

Author SHA1 Message Date
Lumir Balhar
99563953da Fix CVE-2022-42919 2022-11-09 12:09:08 +01:00
Miro Hrončok
89d9f92697 Update to 3.10.8
Patch 382 was merged upstream.
2022-10-12 15:58:11 +02:00
Miro Hrončok
511bdb75bd Update to 3.10.7, with security fix for CVE-2020-10735 2022-09-07 16:29:08 +02:00
Tomáš Hrnčiar
8a53c5ea64 Update to 3.10.6 2022-08-02 15:31:52 +02:00
Charalampos Stratakis
479c2b397f Security fix for CVE-2015-20107
Resolves: rhbz#2075390
2022-06-09 21:59:36 +02:00
Tomáš Hrnčiar
1cba7ca6d7 Update to 3.10.5 2022-06-07 13:36:29 +02:00
Miro Hrončok
5b70ab91fe Don't hardcode %{ABIFLAGS_debug} 2022-06-01 14:24:11 +02:00
Miro Hrončok
fd2542f9c3 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-06-01 14:24:11 +02:00
Tomas Orsava
ba94183739 Move _sysconfigdata_d_linux*.py to the debug subpackage 2022-06-01 14:24:11 +02:00
Tomas Orsava
6928c91eb9 Remove an rpmlintrc rule that was only relevant to flatpackages 2022-06-01 14:24:11 +02:00
Tomas Orsava
68d2217237 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-06-01 14:24:11 +02:00
Tomas Orsava
9aecf247bb Add new bcond for python_abi_provides_for_alt_pythons
By default enabled on EL, disabled on Fedora
2022-06-01 14:24:11 +02:00
Tomas Orsava
3463fb44bf 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-06-01 14:24:11 +02:00
Tomas Orsava
a7b4c9c13d Let there *not* be flatpackage
Remove the flatpackage bcond entirely
2022-06-01 14:23:43 +02:00
Tomas Orsava
7a9076d0e1 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 08:44:32 +00:00
Tomáš Hrnčiar
dfe2d475a9 Update to 3.10.4 2022-03-25 08:18:30 +01:00
Tomáš Hrnčiar
bc7ab932a7 Update to 3.10.3 2022-03-18 09:49:27 +01:00
Tomáš Hrnčiar
41c4f95a61 Update to 3.10.2 2022-01-17 11:26:38 +01:00
Miro Hrončok
2b285dee4e 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:19:55 +01:00
Miro Hrončok
7c6eb17d2b Instruct pypa/distutils to add /local/ addition to prefix 2021-12-09 11:26:00 +01:00
Miro Hrončok
b7b2fa452d Fedora < 36 only: Instruct pip to use distutils
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2014513
2021-12-09 11:23:00 +01:00
Tomáš Hrnčiar
f7c55a4f2f Update to 3.10.1 2021-12-08 07:45:59 +01:00
Miro Hrončok
dd94826d72 Fedora CI: Also test virtualenv 2021-12-07 15:50:02 +01:00
Miro Hrončok
0cd2202156 Cosmetic CI config change: Use the new tox package name 2021-12-07 15:49:48 +01:00
Tomáš Hrnčiar
d2a365c76d 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 13:57:42 +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
943f8cc201 Fedora CI: Add rpm -qa output for debugging 2021-06-21 12:01:41 +02:00
Miro Hrončok
d85cc76235 Fedora CI: This is now the main Python 2021-06-21 12:01:41 +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
Python Maint
bc9e36d400 Bootstrap for Python 3.10 2021-06-01 16:09:23 +02:00
Tomas Hrnciar
ee49981462 Update to 3.10.0b2 2021-06-01 13:46:16 +02:00
Charalampos Stratakis
da277b0c4e Use the system installed mpdecimal instead of the bundled copy (#1943359) 2021-05-26 10:42:28 +00:00
Miro Hrončok
dd49c3369d Fedora CI: Make the marshalparser dependency mandatory
Fedora 32 goes EOL and marshalparser is available on Fedora 33+.
2021-05-25 00:56:32 +02:00
ac9a5093cb Add Provides to match the Ubuntu convention
There are many Ubuntu users out there. Let's be nice and Provide the
same package name, so that a command typed from memory will also work
here.
2021-05-13 13:11:06 +00:00
Tomas Hrnciar
5c3c99eb42 Update to 3.10.0b1 2021-05-04 18:13:03 +02:00
Miro Hrončok
fceb683095 Add rpminspect configuration file 2021-04-28 14:16:26 +00:00
Miro Hrončok
593224df20 Stop Recommending setuptools and move the pip Recommendation to python3-devel
With modern pip, setuptools is not required on runtime.
Python packages use PEP 517 instead.

Hence, we no longer Recommend setuptools and pip, but pip only.

Users who are impacted may see one of:

    ModuleNotFoundError: No module named 'setuptools'
    ModuleNotFoundError: No module named 'pkg_resoureces'

They can easily recover by installing python3-setuptools or python3-pkg_resources.

Related but not explicitly part of:
https://fedoraproject.org/wiki/Changes/Reduce_dependencies_on_python3-setuptools

Together with this change, we move the pip Recommendation to the python3-devel package.
"Regular users" of Fedora are less likely to need pip and more likely to brick
their systems with it. If they need pip, they can dnf install pip.

Pip (incl. setuptools) still works in environments created with venv or virtualenv.

Not bumping the release because this only affects the package when we
upgrade the main Python in Fedora to 3.10.
2021-04-23 12:57:43 +02:00
Miro Hrončok
19bf595786 Do not require python3-setuptools from python3-devel
See https://fedoraproject.org/wiki/Changes/Reduce_dependencies_on_python3-setuptools

Not bumping the release because this only affects the package in Copr for now,
until we upgrade the main Python in Fedora to 3.10.

Co-authored-by: Tomas Hrnciar <thrnciar@redhat.com>
2021-04-19 13:26:17 +02:00
Tomas Hrnciar
9f5874443d Update to 3.10.0a7 2021-04-06 14:27:52 +02:00
Miro Hrončok
786b31e188 rpmlint: Filter a new way of unversioned Obsoletes warning 2021-03-26 14:29:07 +00:00
Miro Hrončok
a17e94618c rpmlint: library-not-linked-against-libc/shared-lib-without-dependency-information may be a warning 2021-03-26 14:48:26 +01:00
Miro Hrončok
d11fccfd4f rpmlint: Don't report extra tokens at the end of %endif/%else directives 2021-03-26 14:48:26 +01:00