Commit Graph

62 Commits

Author SHA1 Message Date
Tomáš Hrnčiar
3216989552 Add patch to revert "bpo-1596321: Fix threading._shutdown() for
the main thread"

https://bodhi.fedoraproject.org/updates/FEDORA-2021-e152ce5f31
https://github.com/GrahamDumpleton/mod_wsgi/issues/730
2021-11-19 14:13:26 +01:00
Tomáš Hrnčiar
913221b8e2 Update to 3.9.9 2021-11-16 14:10:47 +01:00
Björn Esser
59f1238794
Rebuild(libnsl2)
Signed-off-by: Björn Esser <besser82@fedoraproject.org>
2021-11-12 22:26:58 +01:00
Tomáš Hrnčiar
dc16576a77 Update to 3.9.8 2021-11-08 08:56:26 +01:00
Sahana Prasad
010c643aae Rebuilt with OpenSSL 3.0.0 2021-09-14 19:12:46 +02:00
Miro Hrončok
9d73093ec3 Update to 3.9.7 2021-08-31 01:30:12 +02:00
Miro Hrončok
a43ee056fa Update description of the flat python3.9 package -- it is now older, not newer 2021-08-13 01:12:28 +02:00
Fedora Release Engineering
f60bd18051 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 10:32:23 +00:00
Petr Viktorin
c3420255b1 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 14:00:09 +02:00
Petr Viktorin
f4a64b51fd Provide python3-turtle from python3-tkinter
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1952565
2021-07-16 14:00:09 +02:00
Tomas Hrnciar
2b5ef05f9d Update to 3.9.6 2021-06-29 12:19:13 +02:00
Python Maint
b7d7c27b1b Rebuilt for Python 3.10 2021-06-01 16:14:28 +02:00
Miro Hrončok
dccd43b6f8 Set $LD_LIBRARY_PATH when asserting libmpdec version
Without $LD_LIBRARY_PATH, the test uses installed libpython,
which might be older Python version when updating
or missing entirely when building --with bootstrap.
2021-05-19 14:58:45 +02:00
Charalampos Stratakis
d3f5befac1 Add virtual provides for the bundled libmpdec (rhbz#1943359) 2021-05-17 18:58:51 +00:00
Zbigniew Jędrzejewski-Szmek
cf6fda7857 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 15:11:06 +02:00
Tomas Hrnciar
79e6e2b0ac Update to 3.9.5 2021-05-04 15:07:49 +02:00
Miro Hrončok
dfd0f2b7e8 Temporary workaround for missing %apply_patch in RPM 4.17 alpha
See https://bugzilla.redhat.com/show_bug.cgi?id=1954999
2021-04-30 12:34:18 +02:00
Tomas Hrnciar
1bbe5be624 Update to 3.9.4 2021-04-06 08:49:02 +02:00
Miro Hrončok
d7bac0b114 Skip test_gdb on arm on Fedora 33 once again
See https://bugzilla.redhat.com/show_bug.cgi?id=1846390
2021-02-20 21:06:06 +01:00
Miro Hrončok
81b2ac3ff9 Update to 3.9.2 2021-02-20 15:10:16 +01:00
Tomas Hrnciar
d1cb00ac5b Update to 3.9.2rc1 2021-02-18 15:37:32 +01:00
Miro Hrončok
ca1a2cefd8 Revert "Temporarily disable tests on 32 bit ARM, to be able to ship a CVE fix"
This reverts commit ca1a606565.
2021-01-29 11:08:34 +01:00
Fedora Release Engineering
563b4f4b59 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 14:28:24 +00:00
Miro Hrončok
0bfe73bb57 Rebuilt to be signed with Fedora 32 compatible signature
To fix mock bootstrap chroot on Fedora 32 (and possibly EPELs).

https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/OBEFWGCFXHE4EDBXFBZWDUPAJJS7QZAR/
2021-01-25 16:55:07 +01:00
Charalampos Stratakis
1d2d05b305 Compile the debug build with -O0 instead of -Og (rhbz#1818857) 2021-01-22 00:31:28 +01:00
Miro Hrončok
ca1a606565 Temporarily disable tests on 32 bit ARM, to be able to ship a CVE fix
https://pagure.io/fedora-infrastructure/issue/9591
2021-01-21 12:06:58 +00:00
Miro Hrončok
452eec8636 Security fix for CVE-2021-3177 2021-01-20 16:17:46 +01:00
Miro Hrončok
8f3f8b4d53 Typo in changelog 2021-01-20 16:17:19 +01:00
Tomas Hrnciar
2084e749c7 Update to 3.9.1 2020-12-08 10:19:54 +01:00
Miro Hrončok
8b57d0d177 BuildRequire make explicitly
See https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2020-12-07 18:35:08 +00:00
Tomas Hrnciar
8a32dad017 Update to Python 3.9.1rc1 2020-11-27 10:52:10 +01:00
Miro Hrončok
57c21a29ac Add explicit requirement on tzdata (needed for zoneinfo)
See https://twitter.com/pganssle/status/1327344516475531272

Not bumping a release, tzdata is pulled in transitively, so the impact is minimal.
2020-11-16 16:41:15 +01:00
Miro Hrončok
505b395c0b Add RHEL 8 backwards compatibility shims (on RHEL only) 2020-10-27 17:06:38 +01:00
Miro Hrončok
9d28b2b829 Hardcode %{_bindir} into python-config script + remove unreachable error handling
The `dirname $0` breaks the script when it is linked to a different location,
for example the RHEL's /usr/libexec/platform-python-config.

The error handling was never reachable, failed exec ends the script.

See https://src.fedoraproject.org/rpms/python3.9/pull-request/38
2020-10-27 17:06:38 +01:00
Miro Hrončok
68997e05e0 Update to 3.9.0 final 2020-10-06 08:21:43 +02:00
Miro Hrončok
62490dd1cc Use upstream architecture names on Fedora 34+
https://fedoraproject.org/wiki/Changes/Python_Upstream_Architecture_Names

 - repalce patch 274 witch a sed call
 - update patch 353 to work both ways
 - add a new bcond to control the behavior: legacy_archnames
2020-09-29 10:36:44 +02:00
Miro Hrončok
3dbe18122c Update to 3.9.0rc2
Patch 111 was rebased manually but trivially.
2020-09-17 13:56:42 +02:00
Petr Viktorin
95b9984480 In sys.version and initial REPL message, list the source commit as "default"
We create an artificial Git repo to apply patches.
Python build system thinks that it's building from Git and embeds a bogus
branch name into its version string:

$ python3
Python 3.9.0b5 (heads/master-dirty:24c7f56, Aug  3 2020, 00:00:00)
[GCC 10.2.1 20200804 (Red Hat 10.2.1-2)] on linux
Type "help", "copyright", "credits" or "license" for more information.

Tell configure that Git is not installed. This reverts that part
of sys.version to "default".
2020-08-12 18:34:28 +02:00
Miro Hrončok
5a353698ca Update to 3.9.0rc1
setuptools/pip versions got bumped, all other patches applied cleanly.
2020-08-12 00:04:34 +02:00
Lumir Balhar
898f7432fb Add support for upstream architectures' names
Pythons in RHEL/Fedora use different names for some architectures
than upstream and other distros (for example ppc64 vs. powerpc64).
See patch 274.
That means that an extension built with the default upstream settings
(on other distro or as an manylinux wheel) cannot be found by Python
on RHEL/Fedora because it has a different suffix.
This patch adds the original names to importlib so Python is able
to import extensions with an original architecture name in its
file name.
2020-08-04 14:04:42 +02:00
Miro Hrončok
c8570d6221 Make python3-libs installable without python3
Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1862082
2020-07-31 09:32:33 +00:00
Fedora Release Engineering
d7d969c974 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 04:54:50 +00:00
Miro Hrončok
0a4f32de36 Remove redundant empty lines 2020-07-24 19:29:27 +02:00
Lumir Balhar
76d03e29c9 Ship versioned pathfixX.Y.py in main and non-main Python versions
pathfix.py is a cruicial tool when building Python so it's
useful to have it also in non-main Pythons without a conflict
with the main one.

This change is also reflected in %py(3)_shebang_fix macro:
https://src.fedoraproject.org/rpms/python-rpm-macros/pull-request/72
2020-07-24 13:11:04 +02:00
Miro Hrončok
9c094494d8 Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
2020-07-21 18:43:48 +02:00
Miro Hrončok
02c3d0cb2f Update to 3.9.0b5 2020-07-21 11:09:58 +02:00
Miro Hrončok
acc1ca2724 Convert patches to use github.com/fedora-python/importpatches 2020-07-21 11:09:56 +02:00
Marcel Plch
740668aab7 POC: keep only cache for large, autogenerated files
This saves about 2 MiB from the package. When all rpms get extracted,
the comparison is as follows on an ext4 filesystem:

With this patch:
$ du -s usr
195828 usr/

Without this patch:
$ du -s usr
198224 usr/

Which is a difference of 2.396 MiB.

To reduce the filesystem footprint of the Python installation, some
files are now being removed and only one level of their pycache
(non-optimized) is being kept.

These particular files were chosen for their size and the fact that they
are autogenerated, thus hard to read.
2020-07-17 08:44:58 +00:00
Miro Hrončok
0a760f01ca Use %autosetup with git am
Patch 189 is still applied conditionally, so we need to use %autosetup with -N,
to prevent automatic patch application.

Later, the patches are applied automatically up to 188 (with -M for maximum),
patch 189 is applied conditionally,
and finally patches from 190 up are applied (with -m for minimum).

Once patch 189 is reworked to be applicable at all times (or removed), this can be dropped.

While not necessary shorter, this no longer requires adding/removing %patch XYZ
when adding/removing patches.

While at it, we also use git am to apply the patches
since they are all generated from git anyway.
This makes it easier if we ever patch binary files.
2020-07-15 17:19:11 +02:00
Tomas Hrnciar
efdda005ea Update to 3.9.0b4 2020-07-07 12:53:18 +02:00