Commit graph

34 commits

Author SHA1 Message Date
Victor Stinner
4cbb173ffb Fix test_faulthandler on GCC 10
Fix also faulthandler.register(chain=True) stack.

Resolves: rhbz#1799092
2020-02-13 16:29:25 +01:00
Fedora Release Engineering
c2158aefc2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 16:33:44 +00:00
Miro Hrončok
5c307c130f Update to 3.6.10
No patches touched.
2019-12-20 12:32:22 +01:00
Miro Hrončok
a4690dd7f0 Verify upstream sources with GPG
This is now a recommended thing to do:
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_source_file_verification

Regardless if it adds actual security, it should prevent problems like this one:
https://mail.python.org/archives/list/python-dev@python.org/message/OYNQS2BZYABXACBRHBHV4RCEPQU5R6EP/
2019-11-11 15:47:42 +01:00
Fedora Release Engineering
428ef5ba1a - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 17:27:29 +00:00
Miro Hrončok
5a268c1284 Keep the LICENSE.txt file in lib/pythonX.Y dir
The license() builtin tries to read it and virtualenv tries to copy it.

See https://github.com/pypa/virtualenv/issues/1352

Up until now, the license() builtin juts felt back to:

    See https://www.python.org/psf/license/

However it should output the full license text.

Virtualenv ~16.6 warns:

    No LICENSE.txt / LICENSE found in source

Technically, it is probably possible to install the package without
%license files, but that would simply resort to the previous noncritical
behavior.

This fix is not critical and hence it doesn't bump release, for easier
backporting to all our Python packages.
2019-07-22 18:40:12 +02:00
Miro Hrončok
d32d055885 Update to 3.6.9
Patches rebased: 294 (automatic)
Patches already merged upstream: 317, 318
2019-07-03 11:43:05 +02:00
Miro Hrončok
242778f56e Reduced default build flags used to build extension modules
Utilize extension_...flags for extension builds.

See https://fedoraproject.org/wiki/Changes/Python_Extension_Flags

Depends on https://src.fedoraproject.org/rpms/redhat-rpm-config/c/e80fa1344a49662fec08d650debf793048c87429
2019-02-18 13:33:25 +01:00
Miro Hrončok
bcf86c38e1 Clean old cruft, provide pythonX.Y
In diff order:

- gdbm releases in all Fedoras are long above 1:1.13
- the flat package should be called python3.7 but we are lazy to rename
- system-python is long gone, upgrade path works
- python3-enum34 is only required by 2 pkgs [0][1]
- glibc releases in all Fedoras are long above 2.24.90-26

Not removed:

- platform-python obsoletes shall be removed in Fedora 31, they were added in 28

[0] https://src.fedoraproject.org/rpms/python-qt5/pull-request/3
[1] https://src.fedoraproject.org/rpms/python-taskflow/pull-request/1
2019-02-18 13:32:26 +01:00
Igor Gnatenko
de91971dad Rebuild for readline 8.0 2019-02-17 09:30:52 +01:00
Victor Stinner
5915c908d1 Add glibc-all-langpacks build req
Add "glibc-all-langpacks" build requirement to install all locales
for test_locale. Add also the dependency to selftest.
2019-02-03 12:39:04 +00:00
Victor Stinner
23f39952f5 test_ssl fixes for TLS 1.3 and OpenSSL 1.1.1
Without this patch, test_ssl fails randomly.

Resolves: rhbz#1639531
2019-02-03 12:37:59 +00:00
Fedora Release Engineering
7215bfff85 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 10:23:19 +00:00
Patrik Kopkan
d9c9b90f3e Security fix for CVE-2019-5010 2019-01-23 17:56:02 +01:00
Björn Esser
f5c9aee4c6
Rebuilt for libcrypt.so.2 (#1666033) 2019-01-14 18:53:05 +01:00
Miro Hrončok
0b48557f62 Update to 3.6.8
Patches rebased: 111, 189 (pip/setuptools versions only)
2018-12-27 20:24:23 +01:00
Miro Hrončok
54d40fa62a Use openssl-devel again 2018-10-22 18:15:16 +02:00
Miro Hrončok
7d128984a0 Update to 3.6.7
Removed patches due to being upstreamed: 310

Rebased patches: 170, 262
2018-10-22 18:15:16 +02:00
Miro Hrončok
4aa52bbbf8 Security fix for CVE-2018-14647 (#1631822) 2018-09-24 12:09:32 +02:00
Miro Hrončok
b49696cee1 Renew check-pyc-timestamps.py
- rename it, the are no pyo files on Python 3
- make sure to check all levels of pyc files optimization
- use path globs
- use comprehensions instead of map + filter
- use f-strings and print() instead of sys.stderr.write()
2018-08-23 15:19:13 +02:00
Miro Hrončok
d7a3b52d72 Add /usr/bin/pygettext3.py and msgfmt3.py to python3-devel
Resolves: rhbz#1571474
2018-08-23 15:19:13 +02:00
Miro Hrončok
3a056652bc Recommend setuptools and pip for developer experience 2018-08-23 15:19:13 +02:00
Miro Hrončok
04c140d8ed Drop the rewheel patch, use RPM built wheels instead 2018-08-23 15:19:13 +02:00
Miro Hrončok
cbd5d5de4a Temporarily use compat-openssl10-devel to workaround #1609291 2018-08-23 15:19:13 +02:00
Igor Gnatenko
353f180766 Fix wrong requirement on gdbm
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-08-17 11:54:55 +02:00
Miro Hrončok
b9da5bc7f4 Use the %{valgrind_arches} macro instead of hardcoding unsupported arches
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/7GJQDPCQ743DKJ3LAJFDDX3ZD6LOPB5N/
2018-08-17 11:53:26 +02:00
Fedora Release Engineering
1d12e5b385 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 02:54:14 +00:00
Charalampos Stratakis
f35966cd37 Update to Python 3.6.6
Removed patches due to being upstreamed: 301, 302

Rebased patches: 189, 292, 294
2018-07-10 17:57:59 +02:00
Miro Hrončok
4eb44f11ab Don't hardcode pip version, make it dynamic at build time
This will make test_with_pip (test.test_venv.EnsurePipTest) happy.
2018-07-09 15:22:31 +02:00
Miro Hrončok
a93be81b4c Install appdata files to %{_metainfodir}
See: https://www.freedesktop.org/software/appstream/docs/sect-Metadata-Application.html
and: https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html
2018-07-02 20:35:42 +02:00
Miro Hrončok
f1646d157f Remove %defattr(-, root, root)
It is not needed since gods know when. Is's the default.
2018-07-02 20:35:34 +02:00
Miro Hrončok
f94b6ace18 Remove macros to sync with python37
Backports https://src.fedoraproject.org/rpms/python37/c/3422f8b4a46c8d4cfd09bf88be2e89562b188fe4
Backports https://src.fedoraproject.org/rpms/python37/c/8799184fe77c6332b853f31d26ef29db743700f0?branch=master
2018-06-19 17:55:27 +02:00
Miro Hrončok
bb5ad1d3c1 Drop the old %changelog 2018-06-19 17:55:23 +02:00
Miro Hrončok
8bee8c4537 Merge from python3 2018-06-19 17:55:02 +02:00