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
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
498b8834a0
Security fix for CVE-2019-9636 ( #1688543 , #1688546 )
2019-03-19 09:19:02 +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
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
50afd5bbf5
Rebuild for readline 8.0
2019-02-17 09:30:52 +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
Fedora Release Engineering
1cdc336f35
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 10:18:25 +00:00
Miro Hrončok
75005c20f6
Clean old cruft, provide pythonX.Y
...
In diff order:
- gdbm releases in all Fedoras are long above 1:1.13
- the flat package should be called python3.7 but we are lazy to rename
- system-python is long gone, upgrade path works
- python3-enum34 is only required by 2 pkgs [0][1]
- glibc releases in all Fedoras are long above 2.24.90-26
Not removed:
- platform-python obsoletes shall be removed in Fedora 31, they were added in 28
[0] https://src.fedoraproject.org/rpms/python-qt5/pull-request/3
[1] https://src.fedoraproject.org/rpms/python-taskflow/pull-request/1
2019-01-28 12:54:13 +01:00
Miro Hrončok
4e7015b153
Security fix for CVE-2019-5010
...
https://bugs.python.org/issue35746
https://bugzilla.redhat.com/show_bug.cgi?id=1666519
https://bugzilla.redhat.com/show_bug.cgi?id=1666522
2019-01-16 09:13:16 +01:00
Björn Esser
053863ab41
Rebuilt for libcrypt.so.2 ( #1666033 )
2019-01-14 18:53:46 +01:00
Miro Hrončok
41f5904a99
No longer revert upstream commit 3b699932e5ac3e7
...
This was a dirty workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1644936
2019-01-04 23:52:11 +01:00
Miro Hrončok
1385d6e65a
Update to 3.7.2
...
Already upstreamed patches: 313, 315
Patches rebased: 111, 189 (new pip/setuptools versions only)
2018-12-25 13:38:36 +01:00
Miro Hrončok
15d5b5cfc5
Mark bdist_wininst unsupported to skip the tests
...
See also https://src.fedoraproject.org/rpms/python3/pull-request/74
2018-12-20 12:46:25 +01:00
Victor Stinner
0e0fe4ff87
Remove patches fixed upstream
...
Remove patches:
* 00291-setup-Link-ctypes-against-dl-explicitly.patch
Fixed upstream: https://bugs.python.org/issue32647
* 00292-restore-PyExc_RecursionErrorInst-symbol.patch
Fixed upstream: https://bugs.python.org/issue30697
* 00294-define-TLS-cipher-suite-on-build-time.patch
Fixed upstream: https://bugs.python.org/issue31429
* 00301-pathfix-add-n-option-for-no-backup.patch
Fixed upstream: https://bugs.python.org/issue32885
* 00302-fix-multiprocessing-regression-on-newer-glibcs.patch
Fixed upstream: https://bugs.python.org/issue33329
Note: the ctypes issue has been fixed differently (better fix)
upstream.
2018-12-19 18:06:04 +01:00
Miro Hrončok
1092d478f5
Make sure we don't ship any exe files (not needed an prebuilt)
...
Such files are only used to create Microsoft Windows installers
and that functionality is broken on Linux anyway.
We can keep the exe files in SRPM, as they are free software as
confirmed by the Python Software Foundation:
> Hello,
>
> Shipping and distributing these files is ok.
>
> These files are stubs, used as the executable part of a self-unzipping
> executable and showing an "installer window" to the user.
> They are original to Python and, while they call win32 functions,
> they don't have Windows SDK code in them.
> The source is at: PC/bdist_wininst/install.c
>
> The binaries are included so that anyone creating a bdist_wininst
> distribution (mostly deprecated, actually) can do so, even when
> cross-compiling.
>
> Thanks,
> Van (Lindberg)
See also https://mail.python.org/pipermail/python-dev/2018-October/155507.html
2018-12-19 17:40:48 +01:00
Miro Hrončok
5258d1d194
Run the testsuite in parallel, --findleaks runs in the CI
2018-12-19 15:58:27 +01:00
Victor Stinner
7be8eebca6
Require glibc-all-langpacks to test locales
...
Python 3 test suite requires various locales. Install all of them to
build the package to make sure that no test is skipped because of a
missing locale.
2018-12-18 11:27:06 +01:00
Miro Hrončok
4f22584498
Fix mktime() error in test_email
...
http://bugs.python.org/issue35317
https://bugzilla.redhat.com/show_bug.cgi?id=1652843
2018-11-27 13:36:14 +01:00
Miro Hrončok
e21e6a6b22
Show test.pythoninfo, helpful for debugging test failures
2018-11-26 15:52:56 +01:00
Miro Hrončok
31d96372de
Make sure the entire test.support module is in python3-libs ( #1651245 )
2018-11-21 18:21:13 +01:00
Victor Stinner
a4e394925c
Verify the value of '-s' when execute the CLI of cProfile
...
Resolves: rhbz#1160640
2018-11-19 10:30:19 +01:00
Miro Hrončok
72bc3f43c4
Temporarily revert upstream commit 3b699932e5ac3e7
...
This is dirty workaround for
https://bugzilla.redhat.com/show_bug.cgi?id=1644936
2018-11-04 19:26:46 +01:00
Miro Hrončok
d533a32456
Update to 3.7.1
...
Removed patches due to being upstreamed: 307, 308
Rebased patches: 170
2018-10-22 10:15:53 +02:00
Petr Viktorin
091b4b20e9
Compile the debug build with -Og rather than -O0
...
That is, "optimize for debugging experience" rather than
"don't optimize".
2018-10-02 16:38:43 +02:00
Charalampos Stratakis
e354fb5703
Disable test_gdb for now as it fails
...
with latest gdb.
2018-10-01 20:12:07 +02:00
Miro Hrončok
4da7cff796
Require python3-setuptools from python3-devel to prevent packaging errors ( #1623914 )
2018-08-30 15:35:14 +02:00
Miro Hrončok
37056bc0f9
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-17 16:05:13 +02:00
Miro Hrončok
83a5f52678
Add /usr/bin/pygettext3.py and msgfmt3.py to python3-devel
...
Resolves: rhbz#1571474
2018-08-17 16:05:04 +02:00
Miro Hrončok
4aa9ebcc03
Backport TLS 1.3 related fixes to fix FTBFS
...
Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1609291
2018-08-17 15:40:30 +02:00
Miro Hrončok
b9e8a46cca
Recommend setuptools and pip for developer experience
2018-08-16 12:30:28 +02:00
Miro Hrončok
0b241abda6
Drop the rewheel patch, use RPM built wheels instead
2018-08-15 17:55:47 +02:00
Igor Gnatenko
da8bebda6d
Fix wrong requirement on gdbm
...
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-08-10 12:56:24 +02:00
Miro Hrončok
a64e7f7e98
Use the %{valgrind_arches} macro instead of hardcoding unsupported arches
...
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/7GJQDPCQ743DKJ3LAJFDDX3ZD6LOPB5N/
2018-08-04 22:07:21 +02:00
Miro Hrončok
37437e1d44
Allow to call Py_Main() after Py_Initialize()
...
Resolves: rhbz#1595421
2018-07-20 17:48:24 +02:00
Miro Hrončok
d90f9872b6
Replace no longer relevant notes from bootstrapping 3.6 with link to 3.7
2018-07-19 15:30:36 +02:00
Fedora Release Engineering
266317a762
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 02:50:11 +00:00
Igor Gnatenko
7a4ecff9a7
Rebuild for new gdbm
...
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-07-12 10:58:16 +02:00
Miro Hrončok
dc63bc71b5
Update to 3.7.0 final
2018-06-27 12:45:38 +02:00
Miro Hrončok
838e397e16
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-06-18 23:44:35 +02:00
Miro Hrončok
40d6240272
Remove %defattr(-, root, root)
...
It is not needed since gods know when. Is's the default.
2018-06-18 23:42:46 +02:00
Miro Hrončok
d780a93d16
Don't hardcode pip version, make it dynamic at build time
...
This will make test_with_pip (test.test_venv.EnsurePipTest) happy.
2018-06-13 20:47:48 +02:00
Miro Hrončok
3ba1d1aadf
Finish bootstrapping, enable rewheel, tests, optimizations
2018-06-13 19:14:30 +02:00
Miro Hrončok
2266a26125
Bootstrap, disable tests, optimizations
2018-06-13 15:27:50 +02:00
Miro Hrončok
00bb7bddf2
Bootstrap, disable rewheel
2018-06-13 14:54:46 +02:00
Miro Hrončok
cb1167a878
Merge from python37, update to 3.7.0rc1
2018-06-13 14:54:39 +02:00
Tomas Orsava
2d5b84388b
Update the bootstrapping sequence
2018-05-24 18:11:21 +02:00