Commit Graph

521 Commits

Author SHA1 Message Date
Miro Hrončok b0aea52b40 2to3 fixes
* Have /usr/bin/2to3 (rhbz#1111275)
 * Provide 2to3 and idle3, list them in summary and description (rhbz#1076401)
2017-08-16 15:36:09 +02:00
Michal Cyprian 58f92d897b 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 ef5c6fe479.
2017-08-11 13:02:07 +02:00
Iryna Shcherbina 2c3b2229eb Fix the "urllib FTP protocol stream injection" vulnerability (rhbz#1478916) 2017-08-07 18:26:47 +02:00
Tomas Orsava 7ce2b35305 Dropped BuildRequires on db4-devel
- it was useful for Python 2 (module bsddb), however, no longer needod for
  Python 3
- Tested building Python 3 with and without the dependency, all tests pass and
  filelists of resulting RPMs are identical
2017-08-01 16:59:32 +02:00
Charalampos Stratakis e49a729d35 Make debuginfo packages parallel installable 2017-07-31 14:02:39 +02:00
Florian Weimer c6fe5c680b Do not generate debuginfo subpackages (#1476593)
Rebuild with binutils fix for ppc64le (#1475636)
2017-07-30 17:13:49 +02:00
Fedora Release Engineering 4cc9b2e33c - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 12:26:00 +00:00
Charalampos Stratakis 3a226ae7d7 Make sure that we get the default signal handler for test_asyncio,
The parent process may have decided to ignore SIGHUP, and signal handlers
are inherited which can cause the test to hang in koji.
2017-07-25 18:03:55 +02:00
Charalampos Stratakis 5b6a3e0e34 Replace the "--verbose" flag with "-wW" when invoking the test suite, so that the tests are run in non-verbose mode by default and failed tests are rerun in verbose mode.
Also add the "--slowest" flag when invoking the test suite to
list the ten slowest tests at the end of the test run.
2017-07-20 17:50:38 +02:00
Charalampos Stratakis 4ff21139d7 Update to Python 3.6.2
Rebased patch 180.

Dropped patches 249, 258, 269 as they have been upstreamed.
2017-07-18 16:40:02 +02:00
Charalampos Stratakis 46034c8139 Provide additional references for patches 251 and 252 2017-06-28 15:47:26 +02:00
Tomas Orsava 7e7918aadd Fix for a build failure when with_debug_build=0 2017-06-27 18:02:44 +02:00
Charalampos Stratakis 252962389c Update to the latest implementation of PEP 538.
Remove patch 261 as it was only required for the previous implementation
of PEP 538.
2017-06-27 15:38:30 +02:00
Michal Cyprian 332b947dfc Make pip and distutils in user environment install into separate location 2017-06-26 16:32:56 +02:00
Charalampos Stratakis b5403ba5eb Fix test_alpn_protocols from test_ssl 2017-06-24 17:24:42 +02:00
Charalampos Stratakis 3f280d64ad setuptools from version 36.0.0 rebundled its dependencies so we don't have to
require them in order for rewheel to work, so dropping patch 260 as well.
2017-06-19 11:14:11 +02:00
Tomas Orsava bb9ca6b393 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 11:15:05 +02:00
Tomas Orsava afb0016f9d Polishing the Notes on bootstrapping Python 2017-05-16 11:10:00 +02:00
Charalampos Stratakis 2287f0c54b Fix conditional macro 2017-05-09 17:05:44 +02:00
Charalampos Stratakis 27c558eb66 Added patch for fixing recompilation of Python when using common
build commands and the --enable-optimizations flag.

Enable profile guided optimizations for x86_64 and i686 architectures
2017-05-09 16:57:18 +02:00
Charalampos Stratakis 6245861480 Change description, to reflect that python3 is now the default Python
Also enhance verbosity for the descriptions of subpackages
2017-05-09 16:38:49 +02:00
Charalampos Stratakis 31fe33b583 Update PEP 538 to the latest upstream implementation 2017-05-06 23:27:11 +02:00
Charalampos Stratakis bbbc440d2c system-python-libs subpackage was shipping some windows executables
which are used as templates, for creating windows installers for python
modules. These executables are moved to the devel subpackage.

Resolves: rhbz#1426257
2017-04-18 13:51:54 +02:00
Charalampos Stratakis 3f69bcd628 Enable link time optimizations 2017-04-18 13:48:56 +02:00
Tomas Orsava 3a35e0ba67 Rename python3.Xdm-config script from -debug to be arch specific (rhbz#1179073) 2017-04-13 16:20:52 +02:00
Charalampos Stratakis bea97d96d2 Since upstream issue 23968, the platform directory changed to include the architectures,
however patch205 was not updated to reflect that and as a result the Makefile and various
other files were installed at another directory (rhbz#1438219).

This commit updates the patch205 so the files are installed at the correct locations.
2017-04-05 18:08:56 +02:00
Iryna Shcherbina b603b2d8f9 Update to version 3.6.1 final 2017-03-22 11:28:22 +01:00
Tomas Orsava 628b06df1b Fix syntax error in %py_byte_compile macro (rhbz#1433569) 2017-03-21 11:56:03 +01:00
Iryna Shcherbina aba719b9fe Update to Python 3.6.1 release candidate 1
- Remove patches 250, 253, 254 as the changes are already in Python 3.6.1rc1
- Update patch 157 to work with the new Python codebase
- Remove README file from site-packages (upstream issue24633)
- Rename README to README.rst according to upstream change (upstream PR#2)
- Add patch 264 to skip a known test failure on aarch64 (upstream issue29804)
2017-03-16 16:12:55 +01:00
Charalampos Stratakis 3b36b495e5 Backport of PEP 538: Coercing the legacy C locale to a UTF-8 based locale
Fedora self-contained change: https://fedoraproject.org/wiki/Changes/python3_c.utf-8_locale

Since the backport is based on some changes done for the bpo-24932, these changes were backported as well
with the 261 patch, which will be removed when python3 is rebased to 3.6.1
2017-03-13 14:53:53 +01:00
Charalampos Stratakis 860f392aef Add AppData and desktop file for IDLE 3 (rhbz#1392049) 2017-02-28 14:33:44 +01:00
Michal Cyprian bbccd649ab Revert "Set values of prefix and exec_prefix to /usr/local for..."
- Prevent build failures of packages using alternate build tools
- This reverts commit 24515db173
2017-02-24 14:57:15 +01:00
Michal Cyprian 24515db173 Set values of prefix and exec_prefix to /usr/local for
/usr/bin/python* executables to make pip and distutils
install to the separate location
- Use new %%_module_build macro
2017-02-21 11:17:54 +01:00
Michal Cyprian ef5c6fe479 Add --executable option to install.py command 2017-02-21 10:38:18 +01:00
Charalampos Stratakis 7973de8b00 BuildRequire the new dependencies of python-setuptools when rewheel mode is enabled
and add a patch to adjust the upstream test suite to account for these dependencies,
since without them, the virtualenv's would not install anything in their site-packages
directory thus making pip unusable inside virtualenv's.
2017-02-17 10:26:59 +01:00
Fedora Release Engineering 45bc6145e3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 11:04:03 +00:00
Stephen Gallagher ea14453e6c Add missing %license macro 2017-02-02 11:14:00 +01:00
Tomas Orsava d80b542352 Modify differently the runtime dependency of python3-libs on system-python-libs
because previous attempt didn't work properly with dnf resolving mechanism
2017-01-26 14:06:38 +01:00
Igor Gnatenko adf44e0285 Revert "Modify the runtime dependency of python3-libs on system-python-libs"
This broke everything, rpm/dnf/libsolv/etc. doesn't know what is *partial*
dependency. Either you specify full release, or you don't specify it at all.

This reverts commit 738f034638.

Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-01-25 21:12:31 +01:00
Tomas Orsava 738f034638 Modify the runtime dependency of python3-libs on system-python-libs
to use just the version and release number, but not the dist tag due to Modularity
2017-01-25 14:15:32 +01:00
Charalampos Stratakis ae3f901913 Skip test_aead_aes_gcm during rpmbuild 2017-01-19 20:56:23 +01:00
Charalampos Stratakis 79728f702e Fix error check, so that Random.seed actually uses OS randomness (rhbz#1412275) 2017-01-16 14:28:13 +01:00
Igor Gnatenko 2294d6496c Rebuild for readline 7.x
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-01-12 17:30:38 +01:00
Charalampos Stratakis ae0e9fd8d2 Require arch specific glibc 2017-01-12 11:15:34 +01:00
Charalampos Stratakis 69d3bbb6fe Always include the rewheel patch at the SRPM 2017-01-10 22:12:21 +01:00
Charalampos Stratakis a5e3562540 Require glibc >= 2.24.90-26 for system-python-libs (rhbz#1410644) 2017-01-10 17:01:29 +01:00
Charalampos Stratakis f75890a6e8 Fix wrong patch name 2017-01-09 13:25:30 +01:00
Charalampos Stratakis 0da740b7bc Define HAVE_LONG_LONG as 1 for backwards compatibility. 2017-01-09 13:19:57 +01:00
Miro Hrončok 1abbc727d4 Fix bogus release in %changelog 2017-01-06 11:08:15 +01:00
Miro Hrončok 6bb1189ded Don't blow up on EL7 kernel (random generator) (rhbz#1410175) 2017-01-05 18:52:42 +01:00
Charalampos Stratakis e79e900d64 Update to Python 3.6.0 final
Remove patch 250 as it is now upstream

Upload the 3.6.0 final sources
2016-12-27 21:44:58 +01:00
Charalampos Stratakis eefe139416 Fill the missing pieces at the boostraping documentation 2016-12-14 13:46:15 +01:00
Charalampos Stratakis efda0ca6f2 Enable rewheel
Use https URL
2016-12-10 15:20:04 +01:00
Charalampos Stratakis d55596820d Fix changelog entry's chronological order 2016-12-09 16:23:34 +01:00
Charalampos Stratakis f9258e6d7f Added patch for guarding HAVE_LONG_LONG definition in pyport.h
as it is also defined by GDB, and by building GDB with python support
will make GDB's compilation fail due to redefinition error.
(upstream issue28898)
2016-12-09 16:21:21 +01:00
Charalampos Stratakis 97cc10c62a Update to Python 3.6.0 release candidate 1 2016-12-09 16:20:54 +01:00
Charalampos Stratakis 3b1225f950 Update to Python 3.6.0 beta 4
Disable rewheel
2016-12-09 16:17:16 +01:00
Charalampos Stratakis af1b222b2b Enable --with-dtrace configure flag (upstream issue21590)
Add patch to fix out of tree --with-dtrace build (upstream issue28787)
2016-12-09 16:15:44 +01:00
Charalampos Stratakis 1b092958f3 Update to 3.6.0 beta 3
Revert the -x flag workaround for excluded tests as it has been fixed upstream (upstream issue28409)
Remove the _sysconfigdata_ files as they are now removed properly (upstream issue28046)
Renamed _futures module to _asyncio (upstream issue28428)
2016-12-09 16:15:06 +01:00
Charalampos Stratakis 1f40c0cbd1 Remove --with-tsc configure flag as it has been removed upstream. Also removing patch 143 related to that flag.
Relevant upstream commit: https://hg.python.org/cpython/rev/2310a5b75fae
2016-12-09 16:14:28 +01:00
Charalampos Stratakis ace4eac581 Fix rewheel's module regex (related upstream issue27364 and issue28128).
Enable tests.
2016-12-09 16:14:02 +01:00
Charalampos Stratakis 062c68f056 Add the files of asyncio.future's C implementation to the respective %files section (upstream issue26081) 2016-12-09 16:13:37 +01:00
Charalampos Stratakis a744d8670a Drop patch 184 as it is implemented upstream now (upstream issue26661) 2016-12-09 16:12:57 +01:00
Charalampos Stratakis 067a255b22 Update to 3.6.0b2 2016-12-09 16:12:25 +01:00
Charalampos Stratakis c426ceabbe Fix the excluded tests due to -x flag not working properly (upstream issue28409) 2016-12-09 16:12:10 +01:00
Charalampos Stratakis 1c8e9a60f4 Add the cryptography algorithms files to the respective file sections since
the hashlib patch was dropped, so we are using currently python's implementation of these algorithms
instead of the OpenSSL's ones. Relevant upstream issue26470.

Remove the plat-linux directory and add the system configuration data files(upstream issue28046)
2016-12-09 16:10:59 +01:00
Charalampos Stratakis 390d524690 Disable test suite 2016-12-09 16:09:37 +01:00
Charalampos Stratakis 0424a4f70e Rebased patches 102, 111, 170 in order to apply cleanly for the new sources.
Dropped patches 209, 242, 247 as they are already upstream.

Dropped patches 143 and 146 for now.
2016-12-09 16:07:57 +01:00
Charalampos Stratakis 95f9e1aed8 Python now uses by default the system libffi, on linux systems (upstream issue26661 and issue27979) 2016-12-09 16:00:05 +01:00
Charalampos Stratakis e9db5d378a Disable system-tap as it is now implemented upstream in a different way (upstream issue21590) 2016-12-09 15:59:32 +01:00
Charalampos Stratakis b6897674be Update to 3.6.0 first beta.
Rename the macros.pybytecompile3.5 file to macros.pybytecompile3.6.

Rename all the respective sections in the SPEC file for python 3.6.
2016-12-09 15:58:35 +01:00
Charalampos Stratakis 8398dc4b6b Update source URL to point to 3.6.0 beta1 2016-12-09 15:57:03 +01:00
Charalampos Stratakis ddb16c68d9 Rebuild for pip version 9.0.1 2016-12-05 13:46:29 +01:00
Charalampos Stratakis f7bd058f3c Port ssl and hashlib modules to OpenSSL 1.1.0 and drop hashlib patch 2016-10-12 16:52:17 +02:00
Tomas Mraz 55d65adde0 Fix changelog date in previous commit. 2016-10-11 18:30:54 +02:00
Tomas Mraz 38b026e0ce Make it build with OpenSSL-1.1.0 based on upstream patch 2016-10-11 18:29:24 +02:00
Richard W.M. Jones c3e3d7792d Add riscv64 to list of 64 bit arches. 2016-10-09 11:08:54 +01:00
Richard W.M. Jones 05c99bb32e No valgrind available on riscv64. 2016-10-08 07:17:21 +01:00
Charalampos Stratakis 1768987fbc Provide python35 for ensuring upgrade path from F23->f25 2016-09-14 12:47:56 +02:00
Charalampos Stratakis 5941d2af7f Remove unused configure flags and update %py_byte_compile macro 2016-09-12 14:45:49 +02:00
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
Bohuslav Kabrda b282179093 Add asyncio, _sha3 and _testimportmultiple to files. 2013-11-08 15:04:01 +01:00
Bohuslav Kabrda e5c246c5f5 Change test/support in files to match upstream 2013-11-08 14:32:40 +01:00
Bohuslav Kabrda 671e4bf0ee atexit now gets linked into libpython3.X.so 2013-11-08 14:08:24 +01:00
Bohuslav Kabrda 84c534ef77 Disable tests in debug build that are irrelevant and fail because of COUNT_ALLOCS 2013-11-08 13:33:44 +01:00
Bohuslav Kabrda f2d9a8144b Don't hardode Python version in venv binary, use the pybasever macro there. 2013-11-08 08:09:40 +01:00
Bohuslav Kabrda f0b0ffc86c Rebase the hashlib patch + adapt it to _sha3 being used from stdlib 2013-11-07 15:59:40 +01:00
Bohuslav Kabrda 0153564bb6 Add a temporary workaround for lib2to3 tests failure (to be removed when we figure out things about hashlib+fips patch) 2013-11-06 14:58:05 +01:00
Matej Stuchlik 54afb027bd Change behavior of ssl.match_hostname() to follow RFC 6125 (rhbz#1023742) 2013-11-06 10:40:32 +01:00
Bohuslav Kabrda dfb79526a3 Temporarily turn of multicore build differently, using -J1 broke test_distutils 2013-11-05 15:39:12 +01:00
Bohuslav Kabrda f5250ecae7 Update to Python 3.4 alpha 4.
- Refreshed patches: 55 (systemtap), 102 (lib64), 111 (no static lib),
114 (statvfs flags), 132 (unittest rpmbuild hooks), 134 (fix COUNT_ALLOCS in
test_sys), 143 (tsc on ppc64), 146 (hashlib fips), 153 (test gdb noise),
157 (UID+GID overflows), 173 (ENOPROTOOPT in bind_port), 186 (dont raise
from py_compile)
- Removed patches: 129 (test_subprocess nonreadable dir - no longer fails in
Koji), 142 (the mock issue that caused this is fixed)
- Added patch 187 (remove thread atfork) - will be in next version
- Refreshed script for checking pyc and pyo timestamps with new ignored files.
- The fips patch is disabled for now until upstream makes a final decision
what to do with sha3 implementation for 3.4.0.
2013-11-05 12:40:00 +01:00
Bohuslav Kabrda 3dbbc14e76 Bytecompile all *.py files properly during build (rhbz#1023607) 2013-10-30 11:42:57 +01:00
Matej Stuchlik 8aaa11c1b0 Added fix for CVE-2013-4238 (rhbz#996399) 2013-08-23 10:12:43 +02:00
Dennis Gilmore fbccd698d3 fix up indentation in arm patch 2013-07-26 15:09:54 -05:00
Dennis Gilmore 486eb43517 disable a test that fails on arm
- enable valgrind support on arm arches
2013-07-26 12:13:47 -05:00
Bohuslav Kabrda 001a27780c Fix build with libffi containing multilib wrapper for ffi.h (rhbz#979696). 2013-07-02 08:21:42 +02:00
Bohuslav Kabrda 22e1cc9fb8 Add patch for CVE-2013-2099 (rhbz#963261). 2013-05-20 08:04:03 +02:00
Bohuslav Kabrda d4ea6cd725 Drop the forgotten gdb test patch that was merged upstream 2013-05-16 16:49:09 +02:00
Bohuslav Kabrda a60a842ced Updated to Python 3.3.2.
- Refreshed patches: 153 (gdb test noise)
- Dropped patches: 175 (configure -Wformat, fixed upstream)
- Synced patch numbers with python.spec.
2013-05-16 16:36:38 +02:00
David Malcolm 9d658b4031 3.3.1-4: fix test.test_gdb.PyBtTests.test_threads on ppc64 (rhbz#960010)
* Thu May  9 2013 David Malcolm <dmalcolm@redhat.com> - 3.3.1-4
- fix test.test_gdb.PyBtTests.test_threads on ppc64 (patch 181; rhbz#960010)
2013-05-09 12:19:36 -04:00
Bohuslav Kabrda f9db6e6f65 Add patch that enables building on ppc64p7 (replace the sed, so that
we get consistent with python2 spec and it's more obvious that we're doing it.
2013-05-02 09:42:03 +02:00
Bohuslav Kabrda b935d25938 Add fix for gdb tests failing on arm, rhbz#951802. 2013-04-24 11:47:45 +02:00
Bohuslav Kabrda 50232369f6 Updated to Python 3.3.1.
- Refreshed patches: 55 (systemtap), 111 (no static lib), 146 (hashlib fips),
153 (fix test_gdb noise), 157 (uid, gid overflow - fixed upstream, just
keeping few more downstream tests)
- Removed patches: 3 (audiotest.au made it to upstream tarball)
- Removed workaround for http://bugs.python.org/issue14774, discussed in
http://bugs.python.org/issue15298 and fixed in revision 24d52d3060e8.
2013-04-11 10:24:30 +02:00
David Malcolm b4d586e100 3.3.0-10: fix gcc 4.8 incompatibility (rhbz#927358)
* Mon Mar 25 2013 David Malcolm <dmalcolm@redhat.com> - 3.3.0-10
- fix gcc 4.8 incompatibility (rhbz#927358); regenerate autotool intermediates
2013-03-25 16:12:35 -04:00
David Malcolm ff7dfb66f1 3.3.0-9: renumber patches to keep them in sync with python.spec
* Mon Mar 25 2013 David Malcolm <dmalcolm@redhat.com> - 3.3.0-9
- renumber patches to keep them in sync with python.spec

Specifically, renumber:
  00174 -> 00176
  00175 -> 00177
2013-03-25 16:01:59 -04:00
Toshio Kuratomi 76e9a6b729 Bump release and build 2013-03-15 14:26:38 -07:00
Toshio Kuratomi 7c28d2c61c Fix error in platform.platform() when non-ascii byte strings are decoded to
unicode (rhbz#922149)
2013-03-15 14:25:57 -07:00
Toshio Kuratomi e7214707e2 Fix up shared library extension (rhbz#889784) 2013-03-14 08:18:03 -07:00
Karsten Hopp 42e503c07a add ppc64p7 build target, optimized for Power7 2013-03-07 15:45:58 +01:00
David Malcolm 260ceea047 3.3.0-5: add workaround for ENOPROTOOPT seen running selftests in Koji (rhbz#913732)
* Mon Mar  4 2013 David Malcolm <dmalcolm@redhat.com> - 3.3.0-5
- add workaround for ENOPROTOOPT seen running selftests in Koji
(rhbz#913732)
2013-03-04 16:30:51 -05:00
David Malcolm 19e1adc11e 3.3.0-4: remove config flag from /etc/rpm/macros.{python3|pybytecompile}
https://fedorahosted.org/fpc/ticket/259
2013-03-03 20:05:58 -05:00
David Malcolm a2f645393c 3.3.0-3: add aarch64 (rhbz#909783) 2013-02-10 23:30:34 -05:00
David Malcolm 81ac8c85fc 3.3.0-2: add BR on bluez-libs-devel (rhbz#879720) 2012-12-11 15:42:13 -05:00
David Malcolm 513a269422 3.3.0
3.3.0rc3 -> 3.3.0; drop alphatag
2012-09-29 17:54:42 -04:00
David Malcolm 3705b6491b 3.3.0-0.6.rc3
3.3.0rc2 -> 3.3.0rc3
2012-09-24 16:36:40 -04:00
David Malcolm 78727dec4a 3.3.0-0.5.rc2
3.3.0rc1 -> 3.3.0rc2; refresh patch 55
2012-09-10 10:48:19 -04:00
David Malcolm 92d712a0d8 3.3.0-0.4.rc1
3.3.0b2 -> 3.3.0rc1; refresh patches 3, 55
2012-08-27 12:54:05 -04:00
David Malcolm 62d7207dd0 3.3.0-0.3.b2
* Mon Aug 13 2012 David Malcolm <dmalcolm@redhat.com> - 3.3.0-0.3.b2
- 3.3b1 -> 3.3b2; drop upstreamed patch 152; refresh patches 3, 102, 111,
134, 153, 160; regenenerate autotools patch; rework systemtap patch to work
correctly when LANG=C (patch 55); importlib.test was moved to
test.test_importlib upstream
2012-08-13 21:11:12 -04:00
Karsten Hopp d474ecc631 disable some failing checks on PPC* (rhbz#846849) 2012-08-14 01:05:00 +02:00
David Malcolm 6a38560c1b Merge branch 'python3.3'
Conflicts:
	python3.spec
2012-08-03 18:01:03 -04:00
David Malcolm 48d20485db skip some tests within test_socket (patch 163) 2012-07-24 15:59:17 -04:00
David Malcolm f2b86e2170 add BuildRequires: xz-devel (for _lzma module) 2012-07-24 14:59:47 -04:00
David Malcolm 08ca53faca fix distutils.sysconfig traceback (patch 162) 2012-07-24 12:06:07 -04:00
David Malcolm 823581e851 renumber patches (158->160, 159->161) for consistency with python.spec 2012-07-24 11:21:34 -04:00
David Malcolm 8d03cf22c7 workaround erroneously shared _sysconfigdata.py upstream issue #14774 2012-07-24 06:12:06 -04:00
David Malcolm 6616179565 fix test_tools (patch 159) 2012-07-23 14:43:43 -04:00
David Malcolm 3b4dd24c42 fix test_posix (patch 158) 2012-07-23 14:05:53 -04:00
Dennis Gilmore 99240249b9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 06:37:12 -05:00
David Malcolm 1c94c1ae4e 3.3.0-0.1.b1: 3.2 -> 3.3
* Fri Jul 20 2012 David Malcolm <dmalcolm@redhat.com> - 3.3.0-0.1.b1
- 3.2 -> 3.3: https://fedoraproject.org/wiki/Features/Python_3.3
- 3.3.0b1: refresh patches 3, 55, 102, 111, 113, 114, 134, 157; drop upstream
patch 147; regenenerate autotools patch; drop "--with-wide-unicode" from
configure (PEP 393); "plat-linux2" -> "plat-linux" (upstream issue 12326);
"bz2" -> "_bz2" and "crypt" -> "_crypt"; egg-info files are no longer shipped
for stdlib (upstream issues 10645 and 12218); email/test moved to
test/test_email; add /usr/bin/pyvenv[-3.3] and venv module (PEP 405); add
_decimal and _lzma modules; make collections modules explicit in payload again
(upstream issue 11085); add _testbuffer module to tests subpackage (added in
upstream commit 3f9b3b6f7ff0)
2012-07-20 16:34:09 -04:00
David Malcolm cc2383541f 3.2.3-10: use macro for power64 (rhbz#834653) 2012-06-22 13:43:37 -04:00
David Malcolm a25ec0b524 3.2.3-9: fix missing include in uid/gid handling patch (patch 157; rhbz#830405) 2012-06-19 12:01:07 -04:00
Bohuslav Kabrda f011cdc3fa fix tapset for debug build 2012-06-07 10:35:31 +02:00
David Malcolm 7989368053 3.2.3-7: update uid/gid handling (patch 157; rhbz#697470)
* Tue May 15 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-7
- update uid/gid handling to avoid int overflows seen with uid/gid
values >= 2^31 on 32-bit architectures (patch 157; rhbz#697470)
2012-05-18 14:57:53 -04:00
David Malcolm bbb50840b1 add notes on upstream status of various patches 2012-05-11 19:35:32 -04:00
David Malcolm c04f314ee5 add link to upstream report for patch 147 2012-05-11 18:42:30 -04:00
David Malcolm ecc5705ec8 reorder the %configure arguments (alphabetically) to help with python vs python3 diffs 2012-05-04 15:53:42 -04:00
David Malcolm 8cb91f09ce 3.2.3-6: renumber autotools patch from 300 to 5000 2012-05-04 15:42:31 -04:00
David Malcolm 6b34963600 add markers to make it easier to diff python.spec and python3.spec 2012-05-04 15:24:50 -04:00
David Malcolm 938d1d78ce 3.2.3-5: fix test_gdb.py (patch 156; rhbz#817072)
* Mon Apr 30 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-5
- fix test_gdb.py (patch 156; rhbz#817072)
2012-05-01 11:40:48 -04:00
David Malcolm 8a28107df1 3.2.3-4: avoid allocating thunks in ctypes unless absolutely necessary (patch 155; rhbz#814391)
* Fri Apr 20 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-4
- avoid allocating thunks in ctypes unless absolutely necessary, to avoid
generating SELinux denials on "import ctypes" and "import uuid" when embedding
Python within httpd (patch 155; rhbz#814391)
2012-04-20 15:28:39 -04:00
David Malcolm 5974f19981 3.2.3-3: add explicit version requirements on expat to avoid linkage problems with XML_SetHashSalt
* Fri Apr 20 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-3
- add explicit version requirements on expat to avoid linkage problems with
XML_SetHashSalt
2012-04-20 15:24:24 -04:00
David Malcolm 3170c05485 3.2.3-2
* Thu Apr 12 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-2
- fix test_gdb (patch 153)
2012-04-12 11:18:08 -04:00
David Malcolm 28856627bf 3.2.3-1
* Wed Apr 11 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-1
- 3.2.3; refresh patch 102 (lib64); drop upstream patches 148 (gdbm magic
values), 149 (__pycache__ fix); add patch 152 (test_gdb regex)
2012-04-11 20:20:08 -04:00
Thomas Spura ae2fc1c043 use newly installed python for byte compiling (#787498) the macros.pybytecompile way
Signed-off-by: Thomas Spura <thomas.spura@gmail.com>
2012-02-09 22:21:07 +01:00
Thomas Spura e6314e68e1 use newly installed python for byte compiling (#787498) the macros.pybytecompile way
Signed-off-by: Thomas Spura <thomas.spura@gmail.com>
2012-02-06 11:28:14 +01:00
Thomas Spura 1c26b68ffe use newly installed python for byte compiling (#787498)
Signed-off-by: Thomas Spura <thomas.spura@gmail.com>
2012-02-05 20:32:34 +01:00
Ville Skyttä 8a69a67643 Build with $RPM_LD_FLAGS (#756863).
Use xz-compressed source tarball.
2012-01-04 22:15:40 +02:00
Karsten Hopp 1af13838fd disable rAssertAlmostEqual in test_cmath on PPC (#750811) 2011-12-08 01:44:05 +01:00
Rex Dieter 8c9e381740 python3-devel missing autogenerated pkgconfig() provides (#746751)
In short, use
/usr/lib/rpm/redhat/find-provides
intead of
/usr/lib/rpm/find-provides
2011-10-17 13:48:14 -05:00
David Malcolm e2a3db4ded 3.2.2-8: cherrypick fix for distutils not using __pycache__ when byte-compiling (rhbz#722578)
* Mon Oct 10 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.2-8
- cherrypick fix for distutils not using __pycache__ when byte-compiling
files (rhbz#722578)
2011-10-10 17:14:54 -04:00
David Malcolm 9b8d221300 re-enable gdbm (patch 148; rhbz#742242)
* Fri Sep 30 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.2-7
- re-enable gdbm (patch 148; rhbz#742242)
2011-09-30 16:46:26 -04:00