Commit Graph

291 Commits

Author SHA1 Message Date
Tomas Orsava b2fa0070fc Fixed .pyc bytecompilation
- Updated .pyc 'bytecompilation with the newly installed interpreter' to also
  recompile optimized .pyc files
- Removed .pyo 'bytecompilation with the newly installed interpreter', as .pyo
  files are no more
- Resolves rhbz#1373635
2016-09-09 13:27:29 +02:00
Tomas Orsava 6cd1c5f463 Rebased to Python 3.5.2 2016-08-16 13:59:50 +02:00
Charalampos Stratakis 77a5f91947 Fix for CVE-2016-1000110 HTTPoxy attack 2016-08-09 14:37:17 +02:00
Michal Toman 4bc70e0cc0 Build properly on MIPS 2016-08-08 12:18:09 +02:00
Fedora Release Engineering 18346f1df1 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 12:17:53 +00:00
Charalampos Stratakis 3702d0d8e2 Refactor patch for properly fixing CVE-2016-5636 2016-07-08 18:47:00 +02:00
Charalampos Stratakis 92512b0b14 Fix test_pyexpat failure with Expat 2.2.0 2016-07-08 16:47:33 +02:00
Miro Hrončok 347356c099 Move xml module to system-python-libs 2016-07-08 14:03:34 +02:00
Tomas Orsava 99ac2fc8f3 Added an info note about adding new patches
Due to an omission, it was not included in this branch yet.
2016-06-20 13:14:00 +02:00
Tomas Orsava 8f231d01cd Fix for: CVE-2016-0772 python: smtplib StartTLS stripping attack (rhbz#1303647)
Raise an error when STARTTLS fails.

- rhbz#1303647: https://bugzilla.redhat.com/show_bug.cgi?id=1303647
- rhbz#1346345: https://bugzilla.redhat.com/show_bug.cgi?id=1346345
- Fixed upstream: https://hg.python.org/cpython/rev/d590114c2394
2016-06-20 13:02:29 +02:00
Charalampos Stratakis 5279a7c9ec Fix possible integer overflow and heap corruption in zipimport module 2016-06-13 17:52:30 +02:00
Robert Kuska d2c2647ea9 Remove Patch179 as test_gdb pass on arm without problems 2016-03-31 12:33:48 +02:00
Robert Kuska c63af87347 Remove Patch173 as test.support.bind_port seems to work 2016-03-29 13:15:46 +02:00
Robert Kuska a0e3ab8621 Remove white spaces 2016-03-24 16:53:25 +01:00
Robert Kuska 47ab152406 Actualy use gc-assertions patch 2016-03-24 16:51:41 +01:00
Robert Kuska 0a93f9db10 Remove ppc specific patch which skipped check_interrupted_write tests 2016-03-24 12:12:20 +01:00
Robert Kuska 20b919fd08 Remove arm specific test skip patches139&140 rhbz#1318565 2016-03-17 14:35:52 +01:00
Robert Kuska 83d6e884b3 Remove patch150 as the issue was already fixed rhbz#1318565 2016-03-17 13:01:56 +01:00
Robert Kuska 28c36c694a Remove accidentally added patch 2016-03-17 10:20:48 +01:00
Robert Kuska e7488abc3b Removed patch131 rhbz#1318565 2016-03-17 10:18:47 +01:00
Miro Hrončok a6cf4230e2 Move distutils to system-python-libs 2016-03-04 14:30:32 +01:00
Miro Hrončok ca48cc1b55 Remove trailing whitespace 2016-02-25 21:04:08 +01:00
Charalampos Stratakis 60fd88ff14 SPEC file cleanup 2016-02-25 17:47:06 +01:00
Miro Hrončok 60aba0a6b8 Provide system python subpackages and macro
Move some modules back to python3-libs
2016-02-25 17:02:56 +01:00
Robert Kuska 82c3ceef41 Provide python3-enum34 2016-02-24 14:38:24 +01:00
Fedora Release Engineering aa74fec275 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 21:30:47 +00:00
Orion Poplawski 1eeebcf2be Drop python3 macros, require python/python3-rpm-macros 2016-01-13 12:03:23 -07:00
Karsten Hopp f8ddd44390 bump release 2015-12-21 16:41:52 +01:00
Karsten Hopp e3c54b7595 Avoid truncated _math.o files caused by parallel builds
rhbz#1292461

disable failing test_with_pip (test.test_venv.EnsurePipTest) on ppc64*

Use a larger stack size on ppc64 (rhbz#1292462)
2015-12-21 15:55:55 +01:00
Robert Kuska e248727c4f Update to 3.5.1, remove unused patches (199, 207) 2015-12-14 19:59:02 +01:00
Robert Kuska bbc4c0dbf7 [cleanup] Remove autotooling and its patch
rhbz#1291325
2015-12-14 17:00:16 +01:00
Robert Kuska 5182e811f0 Enable tests 2015-12-14 15:57:49 +01:00
Robert Kuska 19aade22cb [cleanup] Remove COUNT_ALLOCS patches, see rhbz#1291325 2015-12-14 15:57:16 +01:00
Robert Kuska 7883cb72b0 [cleanup] Remove unused patches 2015-12-14 13:34:09 +01:00
Robert Kuska e769a59396 Remove versioned libpython from devel package 2015-11-15 10:04:16 +01:00
Than Ngo 0efd3d31cb add correct arch for ppc64/ppc64le to fix build failure, it should be
ppc64le-linux-gnu/ppc64-linux-gnu instead powerpc64le-linux-gnu/powerpc64-linux-gnu

  http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=2900961
2015-11-13 18:50:47 +01:00
Robert Kuska 08374589d7 Hide the private _Py_atomic_xxx symbols from public header 2015-11-11 10:35:39 +01:00
Robert Kuska b0795dd21b Rebuild with wheel set to 1 2015-10-14 11:21:24 +02:00
Robert Kuska 08f37368e9 Remove hf from arm triplet 2015-09-23 15:03:18 +02:00
Robert Kuska a52deaab9a Make LIBPL variable respect libdir macro 2015-09-21 15:55:00 +02:00
Robert Kuska 7035fe2876 Remove forgotten $(LIBRARY) from Patch111
(and also enable it)
2015-09-21 15:37:07 +02:00
Matej Stuchlik abb2ff8b05 First step towards 3.5.0 2015-09-16 08:36:17 +02:00
Matej Stuchlik 8c7d263cab Bump pip version 2015-08-12 14:21:34 +02:00
Thomas Spura 8d338b7784 python3-devel: Require python-macros
This picks up version independant macros such as python_provide.
See fpc#281 and fpc#534 for more details.
2015-06-29 13:34:22 +02:00
Matej Stuchlik 8f7e21547a Increase testsuite's DH key size 2015-06-19 11:58:26 +02:00
Matej Stuchlik 2699e3706a Make relocating Python by changing _prefix work 2015-06-19 11:56:26 +02:00
Dennis Gilmore 6f1b657649 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-18 21:30:10 +00:00
Peter Robinson 3b7dcebf39 Disable test_gdb on aarch64 (rhbz#1196181), it joins all other non x86 arches 2015-05-04 20:35:50 +01:00
Matej Stuchlik 318f360969 Update to 4.3.4 2015-04-02 11:33:06 +02:00
Matej Stuchlik aca03e4c3a Fixed undefined behaviour in faulthandler 2015-02-25 13:26:34 +01:00
Till Maas 9d940a7ac5 Rebuilt for Fedora 23 Change
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
2015-02-21 22:29:06 +01:00
Ville Skyttä 11842a3a5a Own systemtap dirs (#710733) 2015-02-17 21:45:32 +02:00
Dan Horák 70025c7217 - build with valgrind on ppc64le
- disable test_gdb on s390(x) until rhbz#1181034 is resolved
2015-01-12 07:02:47 -05:00
Robert Kuska 86a9a20d91 Backport patches from other pythons versions 2014-12-16 13:41:03 +01:00
Robert Kuska 6afc2ff1f8 Update tests to reflect latest changes in OpenSSL SSLv23 method 2014-12-11 14:39:08 +01:00
Matej Stuchlik a8e96a15a3 Update to Python 3.4.2 2014-11-13 14:39:20 +01:00
Slavek Kabrda e0539fb2e7 Fix CVE-2014-4650 - CGIHTTPServer URL handling
Resolves: rhbz#1113529
2014-11-03 15:03:12 +01:00
Karsten Hopp 8d54999cc4 exclude test_gdb on ppc* (rhbz#1132488) 2014-09-07 12:29:29 +02:00
Slavek Kabrda ed631dfc76 Update rewheel patch with fix from https://github.com/bkabrda/rewheel/pull/1 2014-08-21 16:40:42 +02:00
Peter Robinson 2d77c4da1b - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 22:05:56 +00:00
Miro Hrončok 8430e60b7b Back to Bash wrapper, as upstream in 3.4 also uses Bash for some reasons
This reverts commit 95a55939d7.
This reverts commit 41a68301c7.
2014-07-01 12:17:09 +02:00
Miro Hrončok 95a55939d7 Rewrite the config wrapper from Bash to Python, so it can be interpreted with Python 2014-06-30 18:53:45 +02:00
Peter Robinson 9012997174 aarch64 has valgrind, just list those that don't support it with a ifnarch 2014-06-08 16:27:22 +01:00
Dennis Gilmore a292e5b212 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 19:38:08 -05:00
Karsten Hopp cb99f9f0e5 bump release and rebuild to link with the correct tcl/tk libs on ppcle 2014-06-04 23:16:38 +02:00
Matej Stuchlik 1014fca077 Change paths to bundled projects in rewheel patch 2014-06-03 22:28:46 +02:00
Matej Stuchlik 95668bdbb2 Add explanation of the bootstraping process 2014-05-30 11:54:32 +02:00
Miro Hrončok f188880d6c In config script, use uname -m to write the arch 2014-05-30 11:41:17 +02:00
Dan Horák 2a2186c470 - update the arch list where valgrind exists - %power64 includes also
ppc64le which is not supported yet
2014-05-29 18:10:59 +02:00
Miro Hrončok 567c9678be Forward arguments to the arch specific config script
Resolves: rhbz#1102683
2014-05-29 15:17:39 +02:00
Miro Hrončok 3d53dceca1 Rename python3.Xm-config script to arch specific.
Resolves: rhbz#1091815
2014-05-28 15:08:24 +02:00
Slavek Kabrda 29b96892f1 Also exclude test_faulthandler on aarch64 2014-05-28 09:27:08 +02:00
Dennis Gilmore aeae72b51c add message about building for tcl-8.6 2014-05-27 13:17:25 -05:00
Slavek Kabrda f30edc5e6d Use python3-*, not python-* runtime requires on setuptools and pip 2014-05-27 17:33:00 +02:00
Slavek Kabrda bea65b85a1 Merge branch 'python3.4'
Conflicts:
	python3.spec
2014-05-27 17:15:10 +02:00
Matej Stuchlik cfa9e5212d Update rewheel module 2014-05-27 12:42:42 +02:00
Miro Hrončok c75d3be7c8 Fix multilib dependencies.
Resolves: rhbz#1091815
2014-05-26 19:38:24 +02:00
Matej Stuchlik e602f7a288 Update to Python 3.4.1 2014-05-26 00:23:55 +02:00
Matej Stuchlik da5702456f Fix test_gdb failure on ppc64le (rhbz#1095355) 2014-05-25 23:35:06 +02:00
Miro Hrončok 8ab4c2d31f Add macro %python3_version_nodots 2014-05-22 13:25:18 +02:00
Miro Hrončok c21eb4aa37 Add macro %python3_version_nodots 2014-05-22 13:23:29 +02:00
Jaroslav Škarvada 3a3febacac - Rebuilt for https://fedoraproject.org/wiki/Changes/f21tcl86 2014-05-21 12:35:44 +02:00
Matej Stuchlik 1746188b35 Disable test_faulthandler, test_gdb on aarch64 (rhbz#1045193) 2014-05-18 23:39:35 +02:00
Matej Stuchlik 06247262fe Don't add declaration-after-statement for extension modules 2014-05-16 15:12:11 +02:00
Matej Stuchlik f498010aff Add setuptools and pip to Requires 2014-05-12 12:22:48 +02:00
Matej Stuchlik 86b7a9ddd9 Build with rewheel 2014-04-29 14:30:05 +02:00
Matej Stuchlik 516eb7a233 Point __os_install_post to correct brp-* files
New version of redhat-rpm-cofig no longer contains them in
/usr/lib/rpm/redhat
2014-04-29 11:32:55 +02:00
Matej Stuchlik 7d579ea103 Temporarily disable tests requiring SIGHUP (rhbz#1088233) 2014-04-18 09:50:21 +02:00
Matej Stuchlik 11fb599edb Update to Python 3.4 final
Also merge patches from master and add the rewheel module
2014-04-15 10:45:35 +02:00
Matej Stuchlik e9b7bf0d4b Update to Python 3.4 RC2 2014-03-07 10:59:27 +01:00
Slavek Kabrda bdf58d653f Fix loading of pyc files by ModuleFinder.load_module.
Resolves: rhbz#1060338
2014-03-05 09:02:54 +01:00
Slavek Kabrda b8daf7369b Enable loading sqlite extensions.
Resolves: rhbz#1066938
2014-02-19 14:30:28 +01:00
Tomas Radej c8f16f3941 Fixed buffer overflow (upstream patch)
Resolves: rhbz#1062374
2014-02-10 14:42:12 +01:00
Slavek Kabrda a39396d0b5 Install RPM macro files to proper directory. 2014-02-04 13:36:22 +01:00
Slavek Kabrda db2025edc1 Fix tests introduced in beta 2 failing because of COUNT_ALLOCS 2014-01-10 10:40:16 +01:00
Slavek Kabrda de14a01ddc Temporarily add BR: net-tools to workaround upstream reported test issue 2014-01-08 10:37:25 +01:00
Slavek Kabrda 61fd48d1a4 Update to Python 3.4 beta 2.
- Refreshed patches: 55 (systemtap), 146 (hashlib-fips), 154 (test_gdb noise)
- Dropped patches: 114 (statvfs constants), 177 (platform unicode)
2014-01-08 10:01:56 +01:00
Slavek Kabrda 3aee76e8b6 Add opcode module to %files 2013-11-28 10:43:42 +01:00
Slavek Kabrda cb97d29166 Use --without-ensurepip configuration option for now. 2013-11-28 10:27:48 +01:00
Slavek Kabrda bf35167937 Update to Python 3.4 beta 1.
- Refreshed patches: 102 (lib64), 111 (no static lib), 125 (less verbose COUNT
ALLOCS), 141 (fix COUNT_ALLOCS in test_module), 146 (hashlib fips),
157 (UID+GID overflows), 173 (ENOPROTOOPT in bind_port)
- Removed patch 00187 (remove pthread atfork; upstreamed)
2013-11-27 13:03:43 +01:00