Commit Graph

347 Commits

Author SHA1 Message Date
Tomas Orsava 8227c33d21 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 17:04:01 +02:00
Charalampos Stratakis b9f2533095 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:05:48 +02:00
Charalampos Stratakis 44e2147189 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 18:01:26 +02:00
Charalampos Stratakis 05e1bafe57 Remove unused patches 2017-07-19 14:26:09 +02:00
Charalampos Stratakis 8ff39725bf Update the PEP 538 backport 2017-07-19 13:13:11 +02:00
Charalampos Stratakis 11f038e300 Update to Python 3.6.2
Rebased patch 180.

Dropped patches 249, 258, 269 as they have been upstreamed.
2017-07-19 13:12:01 +02:00
Charalampos Stratakis fc4e993391 Provide additional reference for patch 252 2017-06-28 15:49:10 +02:00
Charalampos Stratakis 28f0c0c422 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:45:33 +02:00
Charalampos Stratakis 8b94f726d7 Fix test_alpn_protocols from test_ssl 2017-06-24 20:37:14 +02:00
Charalampos Stratakis 1d013eb47b 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-24 20:35:54 +02:00
Charalampos Stratakis 63656420a3 Fix conditional macro 2017-05-09 17:07:04 +02:00
Charalampos Stratakis 368ff01e1e 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 17:06:57 +02:00
Charalampos Stratakis e890527e80 Update to a newer implementation of PEP 538 2017-05-09 17:06:51 +02:00
Charalampos Stratakis ec7e3db6a1 Change description, to reflect that python3 is now the default Python
Also enhance verbosity for the descriptions of subpackages
2017-05-09 17:06:46 +02:00
Charalampos Stratakis 8fbcd4d716 Update PEP 538 to the latest upstream implementation 2017-05-06 23:29:01 +02:00
Charalampos Stratakis 5845251a7e 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-19 13:50:11 +02:00
Charalampos Stratakis ccd228fc23 Enable link time optimizations 2017-04-19 13:49:56 +02:00
Tomas Orsava e44cd6a31b Merge branch 'master' into f26 2017-04-13 16:30:44 +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
Tomas Orsava 8a619e5ede Merge branch 'master' into f26 2017-04-03 15:22:57 +02:00
Iryna Shcherbina b603b2d8f9 Update to version 3.6.1 final 2017-03-22 11:28:22 +01:00
Tomas Orsava 5bd040bde9 Fix syntax error in %py_byte_compile macro (rhbz#1433569) 2017-03-21 14:51:06 +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 7319c29d60 Upload sources for 3.6.0rc1 2016-12-09 20:27:46 +01:00