Commit Graph

368 Commits

Author SHA1 Message Date
Charalampos Stratakis 111d8abb6c Update to 3.6.5
Rebased patches: 102, 111, 262

Removed patches due to being upstreamed:
264, 298

Update pip version to 9.0.3
2018-04-04 12:53:18 +02:00
Miro Hrončok 8e08331a37 Fix shebangs of the GDB hooks
Also, use -p (preserve timestamp) and -n (don't create backup files)
with pathfix.py.

Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1560295
2018-04-04 12:53:18 +02:00
Miro Hrončok d647195bcb rpmlintrc: Filter macro-in-comment %{_pyconfig(32|64)_h} 2018-04-04 12:53:18 +02:00
Miro Hrončok e99f00f29d Fix broken macro invocation and broken building of C Python extensions
Revert "Use %% for actual % in spec"

This reverts commit 90512a5a1b.

Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1560103
2018-04-04 12:53:18 +02:00
Miro Hrončok 66a03df063 rpmlintrc: Do not filter library-without-ldconfig-post on F < 28 2018-04-04 12:53:11 +02:00
Miro Hrončok 9518239d87 Add rpmlintrc file
Filter all the errors and warnings. This allows us to actually read the rpmlint
output to get new information. From now on, we can rely on this information
when pushing updates.

Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1548683

Backport of https://src.fedoraproject.org/rpms/python37/pull-request/10
2018-03-29 17:43:30 +02:00
Miro Hrončok 8b019d678b Use %% for actual % in spec
rpmlint reports this as macro in comment, however it was left here, because it
is not macro and not comment. On the other hand, % shall be escaped using %%.
All this needs to blow is somebody defining a macro called _pyconfig64_h.
2018-03-29 17:43:00 +02:00
Miro Hrončok f21dd01d2a Add -n option for pathfix.py (#1546990) 2018-03-29 16:40:16 +02:00
Miro Hrončok 58a18acd4d Fix the py_byte_compile macro to work on Python 2
See https://bugzilla.redhat.com/show_bug.cgi?id=1484993

Inspired by Terje Røsten's workaround from that bugzilla
2018-03-29 16:39:07 +02:00
Charalampos Stratakis 22a5417452 Do not send IP addresses in SNI TLS extension 2018-03-13 17:04:30 +01:00
Charalampos Stratakis ffd80345f3 Restore the PyExc_RecursionErrorInst public symbol 2018-01-23 17:25:20 +01:00
Charalampos Stratakis f15b8971d4 Update to version 3.6.4
Rebased patches: 189, 262

Dropped patches due to being upstreamed: 277, 279
2018-01-15 17:23:51 +01:00
Charalampos Stratakis 6e6da4af17 Apply the patch 279 correctly. 2017-10-09 13:23:12 +02:00
Charalampos Stratakis 1001aba943 Fix memory corruption due to allocator mix (rhbz#1498207) 2017-10-09 13:14:50 +02:00
Charalampos Stratakis ac4ce3facf Update to Python 3.6.3
Patches 270, 271, 272 were removed as they have been upstreamed.

Patch 277 was added to fix two hanging tests from test_subprocess.

Added gdb at the build dependencies, since gdb is not anymore in the
buildroot, and that made test_gdb to be skipped.
2017-10-06 13:43:16 +02:00
Miro Hrončok 8be884894c Make the -devel package require redhat-rpm-config
https://bugzilla.redhat.com/show_bug.cgi?id=1217376
https://bugzilla.redhat.com/show_bug.cgi?id=1496757
https://bugzilla.redhat.com/show_bug.cgi?id=1218294

Later should be changed to a specific subpackage.
2017-10-02 18:07:01 +02:00
Iryna Shcherbina d87ca42573 Include -g in LDFLAGS sent to the linker (rhbz#1483222)
Include -g flag for both compilation and linking so that the debugging
information is correctly generated.
2017-09-21 18:34:39 +02:00
Michal Cyprian 09ce861b30 Use python3 style of calling super() without arguments in rpath patch 2017-09-21 18:26:11 +02:00
Tomas Orsava 8db5ee258f Add a warning about updating python3-docs 2017-09-21 18:20:48 +02:00
Michal Cyprian 783f35b7f8 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:13:06 +02:00
Iryna Shcherbina 16b657d7d6 Fix the "urllib FTP protocol stream injection" vulnerability (rhbz#1478916) 2017-08-07 18:43:45 +02:00
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