Commit Graph

17 Commits

Author SHA1 Message Date
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
Miro Hrončok
7367fec47d Define pip/setuptools versions in once place, provide bundled(python3dist(...))
This makes once obvious place where the versions need to be updated.
The twice listed versions were easy to miss.
2020-07-07 11:38:49 +02:00
Miro Hrončok
a971d071bf Workaround: Skip test_gdb on arm
Tracked in https://bugzilla.redhat.com/show_bug.cgi?id=1846390
2020-06-11 15:36:55 +02:00
Miro Hrončok
3332fa2167 Update to 3.9.0b3
No patch changes, this was released immediately after b2.
2020-06-10 09:31:59 +02:00
Miro Hrončok
d860201a1f Update to 3.9.0b2
Patches 349 and 350 already merged.
2020-06-09 11:37:31 +02:00
Lumir Balhar
e8961f714c Switch back to compileall from stdlib
All enhancements from compileall2 are included in Python >= 3.9.
2020-06-05 13:45:13 +02:00
Petr Viktorin
424eca1d57 Add cherry-picks for bugs found in 3.9.0b1
These should be released with the next beta, but we need to build with them.
2020-05-29 18:21:53 +02:00
Miro Hrončok
6b4f38d0ff Remove a workaround for upstream merged PR
No need for rebuild, the sed did nothing since 3.9.0b1
2020-05-26 17:14:16 +00:00
Miro Hrončok
78de36930d The Python name provides generator no longer uses %python_provide internally 2020-05-26 19:07:52 +02:00
Miro Hrončok
152421500c Rebuilt for https://fedoraproject.org/wiki/Changes/Python3.9 2020-05-22 01:13:03 +02:00
Miro Hrončok
feaf2a6e94 Bootstrap for https://fedoraproject.org/wiki/Changes/Python3.9 2020-05-21 23:33:46 +02:00
Miro Hrončok
c75e05c7c8 Update to Python 3.9.0b1 2020-05-19 09:57:43 +02:00
Tomas Orsava
97711d63ca Rename from python39 to python3.9
See https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/message/VIUS7WMQMDX6H2WEIH7TVTMBB6SUHY7E/
2020-05-07 21:56:05 +02:00