Commit Graph

465 Commits

Author SHA1 Message Date
Miro Hrončok d14f86b0d7 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 15:41:16 +02:00
Miro Hrončok 13c18d4f2c 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 15:40:58 +02:00
Miro Hrončok b942e85174 Bytecompile files manually, disable brp-python-bytecompile
Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1572171
2018-05-02 15:35:16 +02:00
Tomas Orsava 383b59a412 Change shebangs to the proper versioned binary 2018-05-02 15:34:54 +02:00
Miro Hrončok 243aab9750 Update the docs comment to mention python2-docs 2018-05-02 15:33:13 +02:00
Miro Hrončok 725e8fe278 Fix broken SSL module (#1555081) 2018-03-14 14:07:22 +01:00
Charalampos Stratakis c88659f91b Do not send IP addresses in SNI TLS extension 2018-03-13 18:17:08 +01:00
Petr Viktorin 8da28a1295 Fix -Wint-in-bool-context warnings 2018-02-27 17:20:32 +01:00
Miro Hrončok 292f2f8300 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-17 11:19:21 +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
Charalampos Stratakis 9d3ac306c1 Fix nondeterministic read in test_pty 2017-11-02 16:44:28 +01:00
Charalampos Stratakis f948d41aff Add a new PYTHONSHOWREFCOUNT environment variable which when set
prints the number of references when using the debug build.
2017-11-02 16:42:42 +01:00
Troy Dawson 349b2233cb Require python2-setuptools even in modules 2017-10-23 10:20:54 -05:00
Iryna Shcherbina 6bc3f63023 Add patches for failing tests
- Replace COUNT_ALLOCS patches with upstreamed one
  (patches added: 283; patches removed: 125, 134, 135, 141)
  https://bugs.python.org/issue31692
- Add a patch to skip a failing test on s390x: 280
  https://bugs.python.org/issue31719
2017-10-18 17:53:55 +02:00
Iryna Shcherbina 9db4c321af Update to 2.7.14
- Refactored patches: 55, 112, 153
- Upstreamed patches: 250, 269, 270
2017-10-09 14:07:09 +02:00
Carl George 57e494a406 drop patch 173
This was resolved upstream in 3.3/3.4.  The fix was later backported to 2.7.7rc1.

https://bugs.python.org/issue19901
d82634d606
https://github.com/python/cpython/blob/2.7/Misc/NEWS.d/2.7.7rc1.rst
2017-09-20 13:43:54 -05:00
Tomas Orsava e4e4dbbeea Switch some macros into bconds to facilitate modularity
Bconds can be switched on/off in modulemd whereas normal macros cannot be
redefined there.
2017-08-31 13:45:11 +02:00
Miro Hrončok d2afb4596f Exclude /usr/bin/2to3 (rhbz#1111275) 2017-08-16 14:31:44 +02:00
Sanqui db65c52e5c Do not generate debuginfo subpackages (#1476593) 2017-08-15 10:42:43 +02:00
Michal Cyprian d99160d4df Revert "Add --executable option to install.py command"
This enhancement is currently not needed and it can possibly
collide with `pip --editable`option

Reverts commit 8043ae7719.
2017-08-09 13:49:30 +02:00
Fedora Release Engineering f9d5f4b78d - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 07:04:34 +00:00
Fedora Release Engineering f33a487469 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 12:25:01 +00:00
Charalampos Stratakis b096dc5eb0 Provide additional reference for patch 252 2017-06-28 15:49:57 +02:00
Charalampos Stratakis 916477c6e6 Fix test_alpn_protocols from test_ssl 2017-06-26 11:50:49 +02:00
Miro Hrončok 2ee453130c Change fixed Obsoletes version with a dynamic one (rhbz#1457336) 2017-05-31 18:01:14 +02:00
Karsten Hopp 32febd6043 revert logic for modularity patch and enable gdbm for modularity 2017-05-18 14:19:19 +02:00
Tomas Orsava 4485b86f0d Add dependency to the devel subpackage on python3-rpm-generators
... which have been excised out of rpm-build.

Involves: rhbz#1410631, rhbz#1444925
2017-05-16 13:10:05 +02:00
Charalampos Stratakis 1554ebbaa5 Enable profile guided optimizations for x86_64 and i686 architectures.
Added patch for fixing recompilation of Python when using common
build commands and the --enable-optimizations flag.
2017-05-10 16:42:46 +02:00
Charalampos Stratakis 890215f627 Change description, to reflect that python2 is obsoleted by Python 3 as
the default Python interpreter.

Also reduce verbosity for the descriptions of subpackages.

Use https sources URL.
2017-05-10 15:26:35 +02:00
Karsten Hopp bd0f7dde03 apply modularity patch only during module builds 2017-04-25 14:51:26 +02:00
Karsten Hopp 280de3dba0 add missing patch 2017-04-23 00:49:12 +02:00
Karsten Hopp 7a7d98401a drop a couple of dependencies for Modularity builds 2017-04-21 20:48:53 +02:00
Michal Cyprian 8043ae7719 Add --executable option to install.py command 2017-02-21 12:54:47 +01:00
Charalampos Stratakis f6f7300380 Ensure that the F24 and F25 python package will always
be obsoleted by the F26 python2 package (rhbz#1420332)
2017-02-17 15:13:13 +01:00
Fedora Release Engineering be651f8123 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 11:03:10 +00:00
Igor Gnatenko 2c2cb4d85b Rebuild for readline 7.x
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-01-12 17:30:37 +01:00
Charalampos Stratakis e82e344346 Upload sources for 2.7.13 2017-01-11 22:07:44 +01:00
Charalampos Stratakis f3da2c555d Require glibc >= 2.24.90-26(rhbz#1410644) 2017-01-11 20:42:17 +01:00
Charalampos Stratakis aabe04e255 Don't blow up on EL7 kernel (random generator) (rhbz#1410175, rhbz#1410187) 2017-01-11 20:39:50 +01:00
Charalampos Stratakis 202761631b Update to Python 2.7.13
Refactored patches: 10, 102 112, 167, 180, 191

Dropped patches: 184, 200, 209, 242, 247
2017-01-11 20:31:31 +01:00
Charalampos Stratakis 09c5a2e117 Always include the rewheel patch at the SRPM 2017-01-10 22:10:43 +01:00
Miro Hrončok b16a7e06a4 Reupload sources after package rename 2017-01-10 16:26:06 +01:00
Miro Hrončok 7207f73b41 Merge with python package history 2017-01-10 16:25:12 +01:00
Fedora Release Engineering ac2b7b0248 Initial setup of the repo 2017-01-10 14:44:50 +00:00
Charalampos Stratakis ce1eee682b Use https URL 2016-12-09 10:29:57 +01:00
Charalampos Stratakis 9e09f0f095 Implement and expand the recommendations of PEP 394, thus
providing symlinks of all the binaries in the form of
bin2 and bin2.7.
2016-12-05 15:27:30 +01:00
Charalampos Stratakis 8611db76f0 Remove Provides for python-abi as it is not required by any package, as opposed to python(abi). 2016-11-14 11:27:43 +01:00