Commit Graph

502 Commits

Author SHA1 Message Date
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
Charalampos Stratakis 5815530bba Rename python.spec to python2.spec 2016-11-14 11:20:24 +01:00
Charalampos Stratakis 158b422995 Rename package to python2 and rename accordingly the respective subpackages.
Add obs macro with the value 2.7.12-9 to indicate when the package got renamed
and use it for the obsolete tags.

Provide and obsolete the previous package names to ensure a clean upgrade path.
2016-11-07 14:23:37 +01:00
Charalampos Stratakis 99c92afaf1 Drop main_python macro and the conditionals using it as it is not required anymore. 2016-11-07 14:11:27 +01:00
Charalampos Stratakis a7d311cd0a Replace the names for BuildRequires and Requires of python-setuptools and python-pip
to python2-setuptools and python2-pip.
2016-11-07 14:02:38 +01:00
Charalampos Stratakis df197a00e9 Remove Obsoletes and Virtual Provides for packages that are now in stdlib 2016-10-26 19:30:28 +02:00
Charalampos Stratakis 7c1eb9e0eb Port ssl and hashlib modules to OpenSSL 1.1.0 and drop hashlib patch 2016-10-12 16:22:36 +02:00
Richard W.M. Jones dc5f995302 Add riscv64 to: arches without valgrind, 64 bit arches. 2016-10-09 11:12:33 +01:00
Miro Hrončok 9b77cb62b4 Provide python27 2016-09-29 14:42:42 +02:00
Charalampos Stratakis 1f1422a916 Remove unversioned obsoletes 2016-09-02 16:33:52 +02:00
Charalampos Stratakis f9138c2f2a Rebase rewheel patch so it applies properly 2016-09-01 15:39:11 +02:00
Charalampos Stratakis b6952a5e13 SPEC file cleanup 2016-08-16 18:45:23 +02:00
Charalampos Stratakis a759357958 Fix for CVE-2016-1000110 HTTPoxy attack 2016-08-09 15:27:04 +02:00
Michal Toman 3f17ce7e15 Build properly on MIPS 2016-08-08 15:09:10 +02:00