Commit Graph

486 Commits

Author SHA1 Message Date
Miro Hrončok 54d40fa62a Use openssl-devel again 2018-10-22 18:15:16 +02:00
Miro Hrončok 7d128984a0 Update to 3.6.7
Removed patches due to being upstreamed: 310

Rebased patches: 170, 262
2018-10-22 18:15:16 +02:00
Miro Hrončok 4aa52bbbf8 Security fix for CVE-2018-14647 (#1631822) 2018-09-24 12:09:32 +02:00
Miro Hrončok 1ae01aa3f6 Enable basic venv smoke test in the CI 2018-08-30 12:42:20 +02:00
Miro Hrončok b49696cee1 Renew check-pyc-timestamps.py
- rename it, the are no pyo files on Python 3
- make sure to check all levels of pyc files optimization
- use path globs
- use comprehensions instead of map + filter
- use f-strings and print() instead of sys.stderr.write()
2018-08-23 15:19:13 +02:00
Miro Hrončok d7a3b52d72 Add /usr/bin/pygettext3.py and msgfmt3.py to python3-devel
Resolves: rhbz#1571474
2018-08-23 15:19:13 +02:00
Miro Hrončok 3a056652bc Recommend setuptools and pip for developer experience 2018-08-23 15:19:13 +02:00
Miro Hrončok 04c140d8ed Drop the rewheel patch, use RPM built wheels instead 2018-08-23 15:19:13 +02:00
Miro Hrončok cbd5d5de4a Temporarily use compat-openssl10-devel to workaround #1609291 2018-08-23 15:19:13 +02:00
Igor Gnatenko 353f180766 Fix wrong requirement on gdbm
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-08-17 11:54:55 +02:00
Miro Hrončok b9da5bc7f4 Use the %{valgrind_arches} macro instead of hardcoding unsupported arches
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/7GJQDPCQ743DKJ3LAJFDDX3ZD6LOPB5N/
2018-08-17 11:53:26 +02:00
Fedora Release Engineering 1d12e5b385 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 02:54:14 +00:00
Miro Hrončok e5fba5b9c0 Add pythonXY stuff to rpmlintrc (from python37.rpmlintrc) 2018-07-11 00:00:40 +02:00
Charalampos Stratakis f35966cd37 Update to Python 3.6.6
Removed patches due to being upstreamed: 301, 302

Rebased patches: 189, 292, 294
2018-07-10 17:57:59 +02:00
Miro Hrončok 4eb44f11ab Don't hardcode pip version, make it dynamic at build time
This will make test_with_pip (test.test_venv.EnsurePipTest) happy.
2018-07-09 15:22:31 +02:00
Miro Hrončok a93be81b4c Install appdata files to %{_metainfodir}
See: https://www.freedesktop.org/software/appstream/docs/sect-Metadata-Application.html
and: https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html
2018-07-02 20:35:42 +02:00
Miro Hrončok f1646d157f Remove %defattr(-, root, root)
It is not needed since gods know when. Is's the default.
2018-07-02 20:35:34 +02:00
Miro Hrončok f94b6ace18 Remove macros to sync with python37
Backports 3422f8b4a4
Backports 8799184fe7?branch=master
2018-06-19 17:55:27 +02:00
Miro Hrončok bb5ad1d3c1 Drop the old %changelog 2018-06-19 17:55:23 +02:00
Miro Hrončok 8bee8c4537 Merge from python3 2018-06-19 17:55:02 +02:00
Mohan Boddu c05069ac34 Revert "Provided by the python3 package. Will be reintroduced when python3 is Python 3.7."
Unretiring for https://pagure.io/releng/issue/7580

This reverts commit f7cff084b6.
2018-06-19 11:38:57 -04:00
Tomas Orsava 2d5b84388b Update the bootstrapping sequence 2018-05-24 18:11:21 +02:00
Miro Hrončok e324bf2dbb Fix multiprocessing regression on newer glibcs
Enable test_multiprocessing_fork(server) and _spawn again

Resolves: rhbz#1569933
2018-04-23 18:17:32 +02:00
Miro Hrončok 45a046d2f4 Skip test_multiprocessing_fork(server) and _spawn for now
It hangs the build
2018-04-19 22:18:28 +02:00
Miro Hrončok 8c67bafd7c Add flatpackage conditionals
This will allow us to create python36 easily once needed [1].
It shoudl also make it easier to merge stuff between python36 and 37.

This more or less backports:

63459d7d2a
7f3ae64d2f
6a6d4a0324

[1] https://fedoraproject.org/wiki/Changes/Python3.7
2018-04-18 17:10:57 +02:00
Miro Hrončok 34ebe3da13 Merge master with f28 2018-04-18 13:36:00 +02:00
Charalampos Stratakis 9a2e4be589 Update to 3.6.5
Rebased patches: 102, 111, 262

Removed patches due to being upstreamed:
264, 273, 289, 290, 291, 298

Update pip version to 9.0.3
2018-03-29 16:57:50 +02:00
Charalampos Stratakis fb9702fb7f Update to 3.6.5
Rebased patches: 102, 111, 262

Removed patches due to being upstreamed:
264, 273, 289, 290, 291, 298

Update pip version to 9.0.3
2018-03-29 16:56:36 +02:00
Miro Hrončok 6c5992ec4e 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-03-25 20:51:42 +02:00
Miro Hrončok 37c970a4db rpmlintrc: Filter macro-in-comment %{_pyconfig(32|64)_h} 2018-03-24 08:06:56 +01:00
Miro Hrončok e8fa184158 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-03-24 08:04:21 +01:00
Miro Hrončok 58c6b177d4 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-20 11:28:40 +01:00
Miro Hrončok 90512a5a1b 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-20 11:28:40 +01:00
Miro Hrončok 545e680253 Add -n option for pathfix.py (#1546990) 2018-03-20 11:13:09 +01:00
Miro Hrončok e5f4159f8f 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-15 23:10:56 +01:00
Charalampos Stratakis c9bb114a1d Do not send IP addresses in SNI TLS extension 2018-03-13 16:58:18 +01:00
Charalampos Stratakis 6b9e1d1d7a Replace patch 291 with the upstream fix. 2018-02-26 17:28:35 +01:00
Florian Weimer 347e968f54 Rebuild with new LDFLAGS from redhat-rpm-config 2018-02-24 18:28:44 +01:00
Miro Hrončok 3f778c43e3 Filter out automatic /usr/bin/python3.X requirement...
...recommend the main package from libs instead.

Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1547131
2018-02-21 17:28:00 +01:00
Iryna Shcherbina ffaa0f3078 Remove unused Postfix argument from InstallPython
It was used for Systemtap hooks, which were removed recently:
dd3cb47629
2018-02-16 18:32:06 +01:00
Iryna Shcherbina 56c7fd9871 Fix deprecation warning on using imp
In build log fixes the following warning:
/builddir/build/SOURCES/check-pyc-and-pyo-timestamps.py:3: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp
2018-02-16 18:32:06 +01:00
Iryna Shcherbina daeec838fe Remove not used patches
Should have been removed with update to 3.6.3
47069ff417
2018-02-16 18:32:06 +01:00
Iryna Shcherbina 3bbc2a0bdf Fix rpmlint errors: spelling, tabs (bz#1535596) 2018-02-16 18:32:06 +01:00
Iryna Shcherbina d938460ea1 Remove the python3-tools package (bz#1312030)
For more details see https://bugzilla.redhat.com/show_bug.cgi?id=1312030

Scope:

- Remove the python3-tools package and `Tools/` library
- Move /usr/bin/2to3 to python3-devel
- Move /usr/bin/idle and idlelib to python3-idle
- Provide python3-tools from python3-idle to keep upgrades sane
- Remove tests for tools from python3-tests package

Backported from https://src.fedoraproject.org/rpms/python37/pull-request/4
2018-02-15 21:14:03 +01:00
Miro Hrončok 2bcebb2b16 Fix the name macro in the description 2 2018-02-15 14:35:08 +01:00
Igor Gnatenko 40b8f9ece2
Escape macros in %changelog
Reference: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/Y2ZUKK2B7T2IKXPMODNF6HB2O5T5TS6H/
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-09 09:05:39 +01:00
Charalampos Stratakis af1dc2628d Fix the name macro in the description 2018-02-08 14:54:08 +01:00
Michal Cyprian 08ffd081b5 Remove sys.executable check from change-user-install-location patch
Resolves: rhbz#1532287
2018-02-07 14:37:45 +01:00
Charalampos Stratakis 14deb52d02 Remove obsolete scriptlets that are now automatic. 2018-02-05 17:50:53 +01:00
Charalampos Stratakis 969d51434e Define TLS cipher suite on build time 2018-02-01 11:20:15 +01:00