Commit Graph

502 Commits

Author SHA1 Message Date
Victor Stinner ef338dc7d0 tests.yml now installs also glibc-all-langpacks
Install all locales to not skip test_locale tests.
2019-03-05 11:13:34 +00:00
Miro Hrončok a5e818f217 Update to 2.7.16 final 2019-03-04 15:08:29 +01:00
Miro Hrončok 5d0f9111df Update bundled pip/setuptools versions 2019-03-01 15:10:33 +01:00
Charalampos Stratakis 75a0703066 Rebase to 2.7.16rc1 2019-02-28 10:19:21 +00:00
Miro Hrončok b13073ac76 Fedora CI: Workaround for fedora-ci/general #31
https://pagure.io/fedora-ci/general/issue/31
2019-02-28 09:45:47 +01:00
Igor Gnatenko 789267ab76 Rebuild for readline 8.0 2019-02-17 09:30:52 +01:00
Fedora Release Engineering ef2a83ef76 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 10:16:35 +00:00
Igor Gnatenko 1d7cbe3b6c Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:38 +01:00
Björn Esser 284b905a2e
Rebuilt for libcrypt.so.2 (#1666033) 2019-01-14 18:52:20 +01:00
Miro Hrončok 44b757bc09 BR glibc-all-langpacks to fix a FTBFS and avoid skipped tests
See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot

The tests failed with:

Some tests will be disabled: Test locale not supported
(tried en_US.UTF-8, en_US.US-ASCII, en_US)
...
======================================================================
ERROR: test_lookup_issue1813 (test.test_codecs.CodecsModuleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-2.7.15/Lib/locale.py", line 581, in setlocale
    return _setlocale(category, locale)
Error: unsupported locale setting
----------------------------------------------------------------------
...
======================================================================
ERROR: test_getsetlocale_issue1813 (test.test_locale.TestMiscellaneous)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-2.7.15/Lib/locale.py", line 581, in setlocale
    return _setlocale(category, locale)
Error: unsupported locale setting
======================================================================
ERROR: test_setlocale_unicode (test.test_locale.TestMiscellaneous)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-2.7.15/Lib/locale.py", line 581, in setlocale
    return _setlocale(category, locale)
Error: unsupported locale setting
----------------------------------------------------------------------
2018-12-10 17:39:48 +01:00
Miro Hrončok ebba43dec3 Security fix for CVE-2018-14647 (#1631822) 2018-09-24 13:08:08 +02:00
Miro Hrončok 0dfe62335c Security fix for CVE-2018-1000802 (#1631662) 2018-09-21 10:49:42 +02:00
Petr Viktorin 0052c9fa9d Deprecate python2 and all subpackages in Fedora 30+
See:
- https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
- https://fedoraproject.org/wiki/Packaging:Deprecating_Packages
2018-09-07 12:41:58 +02:00
Miro Hrončok ae09a79125 Enable basic venv smoke test in the CI 2018-08-31 18:56:13 +02:00
Miro Hrončok e8ef86e1cf Require python2-setuptools from python2-devel to prevent packaging errors (#1623922) 2018-08-30 15:46:34 +02:00
Miro Hrončok 4d74b7c9bf Use RPM built wheels of pip and setuptools in ensurepip instead of our rewheel patch 2018-08-23 17:49:59 +02:00
Miro Hrončok d60e5a4fc9 Move patch 189 to 190 to make room for standardized 189
https://fedoraproject.org/wiki/SIGs/Python/PythonPatches
2018-08-23 17:49:59 +02:00
Miro Hrončok 8b06c12ed7 Temporarily use compat-openssl10-devel to workaround #1609291 2018-08-23 15:09:59 +02:00
Fedora Release Engineering fb39860846 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 02:48:28 +00:00
Jason Tibbitts f5b3292c68 Remove needless use of %defattr 2018-07-10 01:54:54 -05:00
Miro Hrončok 08290bc9c3 Add a workaround for broken %undefine __brp_python_bytecompile
See https://bugzilla.redhat.com/show_bug.cgi?id=1597664
2018-07-03 14:02:51 +02:00
Miro Hrončok 002eb7557e Move /usr/bin/python into a separate package
See https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package

Reverts https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build
2018-07-03 11:31:07 +02:00
Miro Hrončok 692623a0b9 pynche: Do not execute just python, but python2 2018-06-21 16:35:28 +02:00
Miro Hrončok 5ee9c1ec45 Rebuilt for Python 3.7 2018-06-13 18:34:16 +02:00
Miro Hrončok 2b53e7ec9b Bootstrap for Python 3.7 2018-06-13 15:40:42 +02:00
Charalampos Stratakis 4922a4e974 Fix loading of the gdb python plugin (rhbz#1578001)
Conditionalize permissions changes for the debug
shared library.
2018-05-15 14:28:59 +02:00
Miro Hrončok ba2118865d Add a Python 3 bootstrapping bcond 2018-05-12 00:53:31 +02:00
Miro Hrončok 080ef9bdfb Coerce locale to UTF-8 encoding when running tests
Since 2.7.15, there is a test that shutil.copies to unicode filename.
2018-05-02 12:02:18 +02:00
Miro Hrončok 066c258587 Update to version 2.7.15
- Rebased patches: 165, 170, 198
- Refactored patches: 289
- Removed patches (included upstream): 280, 283, 284, 285, 287,
                                       293, 297, 298, 299
2018-05-02 12:02:18 +02:00
Miro Hrončok 3be16be9fa Bytecompile files manually, disable brp-python-bytecompile
Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1572171
2018-04-28 17:12:13 +02:00
Tomas Orsava b1a24b465f Change shebangs to the proper versioned binary 2018-04-26 10:35:56 +02:00
Miro Hrončok 4856e50ce1 Update the docs comment to mention python2-docs 2018-04-13 23:01:00 +02:00
Miro Hrončok 8545792aae Remove Obsoletes tag from when python was renamed to python2
Fedora 25 was last Fedora that had python, N+3 upgrades are not
supported, this can be merged to Fedora 28+.
2018-04-13 22:58:24 +02:00
Miro Hrončok cc58e7d338 Fix broken SSL module (#1555081) 2018-03-14 11:33:05 +01:00
Charalampos Stratakis e1abe5a026 Do not send IP addresses in SNI TLS extension 2018-03-13 17:09:14 +01:00
Petr Viktorin 5316098666 Fix -Wint-in-bool-context warnings 2018-02-27 11:07:57 +01:00
Florian Weimer 528a444ab6 Rebuild with new LDFLAGS from redhat-rpm-config 2018-02-24 18:25:24 +01:00
Miro Hrončok b02c01e554 Move test.support and test.script_helper to python2-libs
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1528899

When moving files around, explicit conflicts should be added, however
the dependency chain here (python2-test requires exact version-release of
python2, python2 requires exact version-release of python2-libs) prevents
instalation of python2-libs with greater version-release than python2-test.
2018-02-15 17:04:45 +01:00
Igor Gnatenko 71264cf847
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 09:28:24 +01:00
Igor Gnatenko 1bdc5fed8a 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:42 +01:00
Fedora Release Engineering 9c47bee6d8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 11:53:31 +00:00
Charalampos Stratakis 11b080bc3c Remove obsolete scriptlets that are now automatic. 2018-02-05 17:55:07 +01:00
Petr Viktorin 96b18273ae Add patch 289: Fix for over-aligned GC info 2018-01-31 13:40:48 +01:00
Petr Viktorin 7143d8af3a Warn/fail if /usr/bin/python is called with PYTHON_DISALLOW_AMBIGUOUS_VERSION
See https://fedoraproject.org/wiki/User:Pviktori/Avoid_usr_bin_python_in_RPM_Build
2018-01-30 13:48:45 +01:00
Björn Esser 9c6e188db0
Rebuilt for switch to libxcrypt 2018-01-20 23:07:40 +01:00
Petr Viktorin 3056bfd92a Build the nis module with tirpc 2018-01-17 14:56:25 +01:00
Miro Hrončok 75ba8b986c Rebuild for reverted gdbm 1:1.13 on F27 2018-01-17 13:41:09 +01:00
Charalampos Stratakis f2b472093a Rebuild for gdbm 1.14 2018-01-11 15:10:39 +01:00
Charalampos Stratakis cf221a53b1 Fix hanging of all threads when trying to access an inaccessible NFS server.
Also mask some macros in comments.
2017-12-11 13:35:09 +01:00
Miro Hrončok 3bebf16e16 Make the -devel package require redhat-rpm-config
Resolves: rhbz#1496757
2017-11-09 12:44:53 +01:00