Commit Graph

82 Commits

Author SHA1 Message Date
Miro Hrončok 12dd2144f7 Rename from python35 to python3.5
See https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/message/VIUS7WMQMDX6H2WEIH7TVTMBB6SUHY7E/
2020-05-06 20:28:43 +02:00
Tomas Hrnciar 0848610354 Always disable lchmod on Linux.
Backporting this commit because upstream no longer releases other than security fixes
for python35.

Backport: 40caa05fa4
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1819759
2020-05-05 14:39:38 +02:00
Miro Hrončok 66ed56bcd4 Update the ensurepip module to work with setuptools >= 45
setuptools 45.x is Python 3 only and changed the name of the wheel
2020-02-25 16:32:49 +00:00
Victor Stinner 2c60e9f07a Add rpmlintrc config file
Ignore the following rpmlint errors:

python35.x86_64: E: zero-length /usr/lib64/python3.5/test/test_import/data/package2/submodule2.py
python35.x86_64: E: zero-length /usr/lib64/python3.5/test/test_importlib/namespace_pkgs/module_and_namespace_package/a_test/empty
python35.x86_64: E: zero-length /usr/lib64/python3.5/test/test_systemtap.py.systemtap
2020-02-18 15:45:17 +01:00
Victor Stinner 99705571aa Fix test_faulthandler on GCC 10
Fix also faulthandler.register(chain=True) stack.

Resolves: rhbz#1799091
2020-02-17 17:41:11 +01:00
Fedora Release Engineering 9307dee63e - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 16:33:33 +00:00
Miro Hrončok 659f305582 Update to 3.5.9 (version number update only) 2019-11-26 00:28:03 +01:00
Miro Hrončok 606c85efb2 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 16:02:06 +01:00
Miro Hrončok 502df2cc30 Use the correct upstream tarball
See https://mail.python.org/archives/list/python-dev@python.org/message/OYNQS2BZYABXACBRHBHV4RCEPQU5R6EP/
2019-10-31 00:27:45 +01:00
Miro Hrončok fb10851b37 Update to 3.5.8 2019-10-29 09:27:06 +01:00
Miro Hrončok 5c418db7cf Update to 3.5.8rc2 2019-10-12 15:36:53 +02:00
Miro Hrončok a67446d8f0 Update to 3.5.8rc1
Removed patch 322, already merged upstream.
2019-09-09 17:19:41 +02:00
Miro Hrončok fc3d7ff992 Build against OpenSSL 1.1.x, not 1.0.x 2019-08-10 11:06:58 +02:00
Fedora Release Engineering 911d6282e9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 17:27:19 +00:00
Miro Hrončok 529acb41f0 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-23 13:25:58 +02:00
Miro Hrončok 2cbb3223cb Provide pythonX.Y 2019-07-23 13:23:43 +02:00
Victor Stinner 35c70e379a Skip test_ssl and test_asyncio tests failing with OpenSSL 1.1.1
Backport of: https://github.com/python/cpython/pull/12694

Resolves: rhbz#1685609
2019-04-26 11:42:15 +02:00
Miro Hrončok ada3a909ab Update to 3.5.7 2019-03-19 12:23:06 +01:00
Victor Stinner 955b947441 Reenable test_buffer on ppc64le
The test failed because of a GCC bug which has been fixed in GCC
master branch and Rawhide uses GCC 9 (master branch):

* https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88892
* https://bugzilla.redhat.com/show_bug.cgi?id=1570256
2019-03-12 15:22:09 +00:00
Miro Hrončok 9aa8c492fc Update to 3.5.7rc1
Upstream merged patches 302 and 310
2019-03-05 11:23:16 +01:00
Igor Gnatenko 9d23af54cc Rebuild for readline 8.0 2019-02-17 09:30:53 +01:00
Fedora Release Engineering 96ae6bc0be - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 10:23:09 +00:00
Igor Gnatenko 67235522e5 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:38 +01:00
Björn Esser cd287bd7df
Rebuilt for libcrypt.so.2 (#1666033) 2019-01-14 18:52:54 +01:00
Victor Stinner 80530f163f Require glibc-all-langpacks to test locales
Python 3 test suite requires various locales. Install all of them to
build the package to make sure that no test is skipped because of a
missing locale.
2019-01-14 11:30:20 +01:00
Miro Hrončok 7c14b22be9 Fix mktime() error in test_email
http://bugs.python.org/issue35317

https://bugzilla.redhat.com/show_bug.cgi?id=1652843
2019-01-14 11:29:32 +01:00
Miro Hrončok b0ac86601a Security fix for CVE-2018-14647 (#1631822) 2018-09-24 13:20:51 +02:00
Miro Hrončok 37a4d380cd Enable basic venv smoke test in the CI 2018-08-31 16:06:19 +02:00
Miro Hrončok af9b3e7fe3 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 format() and print() instead of sys.stderr.write()
2018-08-21 15:24:11 +02:00
Miro Hrončok 0c847d2f33 Use RPM built wheels instead of the bundled ones 2018-08-21 15:24:11 +02:00
Miro Hrončok babc5e18f6 Temporarily use compat-openssl10-devel to workaround #1609291 2018-08-05 22:28:48 +02:00
Miro Hrončok 9e434a4c08 Rebased to version 3.5.6 2018-08-05 13:47:25 +02:00
Miro Hrončok 65d04c003e Use the %{valgrind_arches} macro instead of hardcoding unsupported arches 2018-08-05 13:46:53 +02:00
Fedora Release Engineering 046a3d0791 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 02:54:07 +00:00
Jason Tibbitts 13906dd432 Remove needless use of %defattr 2018-07-10 01:55:19 -05:00
Miro Hrončok 06af669bc2 Remove ldconfig scriptlets 2018-06-29 12:24:41 +02:00
Miro Hrončok d5dc5b222f Fix shebangs of the GDB hooks
Also, use -p (preserve timestamp) with pathfix.py.

Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1560295
2018-04-27 22:20:32 +02:00
Petr Viktorin 82af650dd4 Use configuration macro instead of workaround to disable byte-compilation 2018-04-26 12:53:31 +02:00
Miro Hrončok 712f3838b8 Fix multiprocessing regression on newer glibcs
Enable test_multiprocessing_fork(server) and _spawn again

Resolves: rhbz#1569933
2018-04-23 21:13:08 +02:00
Miro Hrončok ee04c1b4b6 Skip test_buffer on ppc64le 2018-04-21 10:20:30 +02:00
Miro Hrončok 3562e2af49 Skip test_rapid_restart on non x86 arches 2018-04-20 19:15:57 +02:00
Miro Hrončok 05356b4f06 Skip test_multiprocessing_fork(server) and _spawn for now 2018-04-20 18:35:03 +02:00
Miro Hrončok a04dbe7b26 Remove 2to3, don't mv it just to remove it later 2018-04-09 18:55:50 +02:00
Miro Hrončok 9828dfcc61 Do not ship the Tools directory
It is not a part of the standard library, also has problematic shebangs, etc.
2018-04-09 18:55:50 +02:00
Charalampos Stratakis 7ee46fb6c4 Synced patch for libxcrypt with upstream 2018-04-09 18:55:44 +02:00
Björn Esser 56f993d4f8 Add patch for libxcrypt 2018-04-09 18:52:38 +02:00
Miro Hrončok 97e3884814 Rebased to version 3.5.5 2018-04-09 18:52:17 +02:00
Igor Gnatenko 2a2170c98d Remove BuildRoot definition
None of currently supported distributions need that.
It was needed last for EL5 which is EOL now

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 00:53:19 +01:00
Fedora Release Engineering fa48f89072 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 12:01:43 +00:00
Björn Esser a2493978b5
Rebuilt for switch to libxcrypt 2018-01-20 23:07:44 +01:00