Miro Hrončok
337d3348c9
Python now means Python 3
...
- https://fedoraproject.org/wiki/Changes/Python_means_Python3
- The python-unversioned-command package is no longer Python 2, but 3
- The python, pydoc, python-config, python-debug, idle, pygettext.py and
msgfmt.py commands are now in python3
2019-07-15 15:06:48 +02:00
Miro Hrončok
0f89ab9113
Remove obsolete obsoletes
2019-07-12 18:41:02 +02:00
Miro Hrončok
b9306b1085
Add %python_provide provides
...
This allows easier compatibility back and forth once (and if)
https://fedoraproject.org/wiki/Changes/Python_means_Python3
happens. This is not the full implementation of the change,
as the python-unversioned package still needs to be added.
This is currently a no-op as %python_provide does nothing
for python3.
2019-07-09 19:59:58 +02:00
Miro Hrončok
f7475de5fc
Add %python_provide provides
...
This allows easier compatibility back and forth once (and if)
https://fedoraproject.org/wiki/Changes/Python_means_Python3
happens. This is not the full implementation of the change,
as the python-unversioned package still needs to be added.
This is currently a no-op as %python_provide does nothing
for python3.
2019-07-09 15:42:18 +00:00
Miro Hrončok
663a998388
Update to 3.7.4
2019-07-09 11:00:50 +02:00
Miro Hrončok
bc1bef742b
Remove the OPENSSL_CONF=/non-existing-file workaround
...
The test was fixed upstream to expect different config on Fedora.
Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1618753
(Note that we still keep that on the CI for older Python versions.)
2019-07-08 11:48:41 +02:00
Miro Hrončok
f16aa02ebf
Remove patch 316
...
The patch landed in Python in be5bb52f5f2d4da4b9d6f42399f7275ab47910f3
However patch 316 still applied cleanly.
Removing it doesn't make any difference, so not bumping anything.
2019-07-08 09:52:41 +02:00
Miro Hrončok
13257b57b3
Update to 3.8.0b2
2019-07-05 12:10:54 +02:00
Miro Hrončok
f585cd7ec1
Update to 3.7.4rc2
2019-07-03 00:37:56 +02:00
Miro Hrončok
b6a6e97b8f
Don't skip so many tests on the CI
...
test_wsgiref is tracked in https://bugs.python.org/issue37411
2019-06-28 13:13:03 +02:00
Miro Hrončok
949410ed57
Fedora CI: Provision 3 GiB of RAM
2019-06-28 13:13:03 +02:00
Miro Hrončok
3815a08388
Don't skip so many tests on the CI
...
test_wsgiref is tracked in https://bugs.python.org/issue37411
2019-06-28 02:46:02 +02:00
Miro Hrončok
9f5808cf53
Don't let RPM set SOURCE_DATE_EPOCH based on the latest %changelog date
...
It breaks tests with: can't find '__main__' module in .../test_zip.zip
Reported at https://bugs.python.org/issue34022
Tracked at https://bugzilla.redhat.com/show_bug.cgi?id=1724753
2019-06-27 20:17:39 +02:00
Victor Stinner
17d397670a
Skip test_distutils if bootstraping, use python3.X for regen-all
2019-06-26 12:08:56 +02:00
Miro Hrončok
b33b4a5162
Remove the OPENSSL_CONF=/non-existing-file workaround
...
The test was fixed upstream to expect different config on Fedora.
Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1618753
(Note that we still keep that on the CI for older Python versions.)
2019-06-26 10:30:21 +02:00
Miro Hrončok
dd5f80b1b8
Update to 3.7.4rc1
...
- reenable test_asyncio
- drop merged CVE fixes (patches 320, 324)
2019-06-25 23:16:36 +02:00
Miro Hrončok
9941fbbeb9
CI: Stop running findleaks tests, but run the test suite on debug Python
2019-06-25 15:32:50 +02:00
Victor Stinner
3a6f3f6941
Reenable test_distutils and test_bdist_rpm
...
Resolves: rhbz#1685557
2019-06-11 15:01:33 +02:00
Miro Hrončok
a292838ccc
Update to 3.8.0b1
2019-06-05 09:35:21 +02:00
Miro Hrončok
7aab0ddc87
Remove Patch178, merge Patch205 into Patch102
...
Fixes invalid value of distutils.sysconfig.get_config_var('LIBPL').
Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1710767
GitHub PR: https://github.com/fedora-python/cpython/pull/2
2019-05-17 13:28:10 +02:00
Miro Hrončok
9fbe2eee9d
rpmlint: Filter out shared-lib-without-dependency-information
...
Since Python 3.8.0a4, extension modules are no longer linked against
libpython3.8.so.1.0. As a result, some of them are not linked against
anything at all.
And that is fine. They are not used as standard shared libraries.
2019-05-16 10:33:14 +02:00
Miro Hrončok
7e0c125217
Regenerate generated files with python3
...
Switch to %make_build when touching this
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1377240
2019-05-08 00:12:04 +02:00
Miro Hrončok
285f5549c6
Update to 3.8.0a4
...
Patches rebased via git, see
https://github.com/fedora-python/cpython/tree/fedora-3.8.0a4
ABIFLAGS changed not to contain m, see https://bugs.python.org/issue36707
2019-05-08 00:11:20 +02:00
Miro Hrončok
d3803a6dd6
Security fix for CVE-2019-9740 and CVE-2019-9947
...
Disallow control chars in http URLs
Fixed upstream: https://bugs.python.org/issue30458
2019-05-07 18:06:05 +02:00
Charalampos Stratakis
1b92cc7981
Fix handling of pre-normalization characters in urlsplit
2019-05-07 15:46:35 +00:00
Patrik Kopkan
084a366e3d
add symlink for python3.Xm manpages
2019-04-25 18:10:22 +02:00
Miro Hrončok
0bee54773d
Fedora CI: Provision 3 GiB of RAM
2019-04-25 12:59:53 +02:00
Patrik Kopkan
8f86cfe696
add symlink for python3.Xm manpages
2019-04-23 14:52:08 +02:00
Victor Stinner
35551f989b
Reenable test_posix.test_fs_holes()
...
Since 2012, when the test was skipped from Python 3.3.0b1 (commit
3b4dd24c42
), Linux now have a good
support for punching holes in filesystems.
Only 00160-disable-test_fs_holes-in-rpm-build.patch and
00163-disable-parts-of-test_socket-in-rpm-build.patch patches used
@unittest._skipInRpmBuild @unittest._expectedFailureInRpmBuild
decorators, but these 2 patches have been removed: remove
00132-add-rpmbuild-hooks-to-unittest.patch and
WITHIN_PYTHON_RPM_BUILD environment variable as well.
2019-04-11 16:51:20 +02:00
Victor Stinner
b564dce4fa
Reenable RecvmsgGenericStreamTests.testRecvmsgEOF()
...
Reenable RecvmsgGenericStreamTests.testRecvmsgEOF() of test_socket:
remove 00163-disable-parts-of-test_socket-in-rpm-build.patch.
2019-04-11 16:49:47 +02:00
Victor Stinner
0cd827e77e
Reenable test_gdb on most archs except arm and s390x
...
gdb has been fixed in Rawhide:
https://bugzilla.redhat.com/show_bug.cgi?id=1638798
https://bugzilla.redhat.com/show_bug.cgi?id=1634781
Install also gdb in selftest to no longer skip test_gdb
on the x86_64 CI.
But test_gdb is still skipped on armv7hl:
https://bugzilla.redhat.com/show_bug.cgi?id=1196181
And skipped on s390x:
https://bugzilla.redhat.com/show_bug.cgi?id=1678277
2019-04-11 16:49:35 +02:00
Victor Stinner
41ec7ac424
Reenable test_buffer on ppc64le
...
The test failed because of a GCC bug which has been fixed in GCC
master branch and Rawhide uses GCC 9 (master branch):
* https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88892
* https://bugzilla.redhat.com/show_bug.cgi?id=1540995
2019-04-11 16:25:16 +02:00
Tomas Orsava
b02de40d57
Fix arch names for the ppc architecture
...
Updated patch 00274
2019-04-11 16:23:06 +02:00
Victor Stinner
9733ead195
Reenable test_posix.test_fs_holes()
...
Since 2012, when the test was skipped from Python 3.3.0b1 (commit
3b4dd24c42
), Linux now have a good
support for punching holes in filesystems.
Only 00160-disable-test_fs_holes-in-rpm-build.patch and
00163-disable-parts-of-test_socket-in-rpm-build.patch patches used
@unittest._skipInRpmBuild @unittest._expectedFailureInRpmBuild
decorators, but these 2 patches have been removed: remove
00132-add-rpmbuild-hooks-to-unittest.patch and
WITHIN_PYTHON_RPM_BUILD environment variable as well.
2019-03-29 17:17:41 +01:00
Miro Hrončok
136178652c
Temporarily skip test_asyncio to workaround bpo-35998
...
https://bugs.python.org/issue35998
2019-03-27 12:29:48 +01:00
Miro Hrončok
804ec7c37d
Update to 3.8.0a3
...
Rebased patches: 102
Updated pip/setuptools versions in spec and patch 189
2019-03-27 01:14:40 +01:00
Miro Hrončok
6caee321b2
Update to 3.7.3
2019-03-27 01:03:17 +01:00
Miro Hrončok
45a4368c6e
Rebase to 3.7.3rc1
...
Patches merged upstream: 317, 320
Patches rebased: 189 (pip and setuptools versions only)
2019-03-21 13:10:27 +00:00
Victor Stinner
ff4d48f430
Reenable RecvmsgGenericStreamTests.testRecvmsgEOF()
...
Reenable RecvmsgGenericStreamTests.testRecvmsgEOF() of test_socket:
remove 00163-disable-parts-of-test_socket-in-rpm-build.patch.
2019-03-21 09:20:39 +00:00
Miro Hrončok
774c3f329b
Temporarily skip test_asyncio to workaround bpo-35998
...
https://bugs.python.org/issue35998
2019-03-20 12:31:21 +01:00
Miro Hrončok
ad7d856a30
Add bootstrap bcond for Python 3.8
2019-03-19 16:42:06 +01:00
Miro Hrončok
498b8834a0
Security fix for CVE-2019-9636 ( #1688543 , #1688546 )
2019-03-19 09:19:02 +01:00
Miro Hrončok
5e25a87091
Update to 3.8.0a2
2019-02-26 00:51:48 +01:00
Victor Stinner
4b6961f25f
Reenable test_gdb on most archs except arm and s390x
...
gdb has been fixed in Rawhide:
https://bugzilla.redhat.com/show_bug.cgi?id=1638798
https://bugzilla.redhat.com/show_bug.cgi?id=1634781
Install also gdb in selftest to no longer skip test_gdb
on the x86_64 CI.
But test_gdb is still skipped on armv7hl:
https://bugzilla.redhat.com/show_bug.cgi?id=1196181
And skipped on s390x:
https://bugzilla.redhat.com/show_bug.cgi?id=1678277
2019-02-19 16:19:01 +00:00
Miro Hrončok
8449402f77
Reduced default build flags used to build extension modules
...
Utilize extension_...flags for extension builds.
See https://fedoraproject.org/wiki/Changes/Python_Extension_Flags
Depends on e80fa1344a
2019-02-19 16:14:21 +01:00
Victor Stinner
1e30f555cf
Reenable test_buffer on ppc64le
...
The test failed because of a GCC bug which has been fixed in GCC
master branch and Rawhide uses GCC 9 (master branch):
* https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88892
* https://bugzilla.redhat.com/show_bug.cgi?id=1540995
2019-02-18 15:34:12 +00:00
Igor Gnatenko
d080918767
Rebuild for readline 8.0
2019-02-17 09:30:52 +01:00
Igor Gnatenko
50afd5bbf5
Rebuild for readline 8.0
2019-02-17 09:30:52 +01:00
Tomas Orsava
d8428d8696
Fix arch names for the ppc architecture
...
Updated patch 00274
2019-02-14 17:37:18 +01:00
Miro Hrončok
8927d3f267
Reduced default build flags used to build extension modules
...
Utilize extension_...flags for extension builds.
See https://fedoraproject.org/wiki/Changes/Python_Extension_Flags
Depends on e80fa1344a
2019-02-14 15:01:06 +01:00