Accepting request 831521 from devel:languages:python:Factory

- Update to 3.9.0rc1:
  * Core and Builtins
      - bpo-38156: Handle interrupts that come after EOF
        correctly in PyOS_StdioReadline.
  * Library
      - bpo-41497: Fix potential UnicodeDecodeError in dis
        module.
      - bpo-41490: Update ensurepip to install pip 20.2.1 and
        setuptools 49.2.1.
      - bpo-41467: On Windows, fix asyncio recv_into() return
        value when the socket/pipe is closed (BrokenPipeError):
        return 0 rather than an empty byte string (b'').
      - bpo-41425: Make tkinter doc example runnable.
      - bpo-41384: Raise TclError instead of TypeError when an
        unknown option is passed to tkinter.OptionMenu.
      - bpo-38731: Fix NameError in command-line interface of
        py_compile.
      - bpo-41317: Use add_done_callback() in
        asyncio.loop.sock_accept() to unsubscribe reader early on
        cancellation.
      - bpo-41364: Reduce import overhead of uuid.
      - bpo-41341: Recursive evaluation of typing.ForwardRef in
        get_type_hints.
      - bpo-41182: selector: use DefaultSelector based upon
        implementation
      - bpo-40726: Handle cases where the end_lineno is None on
        ast.increment_lineno().
  * Documentation
      - bpo-41045: Add documentation for debug feature of
        f-strings.
      - bpo-41314: Changed the release when from __future__
        import annotations becomes the default from 4.0 to 3.10
        (following a change in PEP 563).
  * Windows
      - bpo-41492: Fixes the description that appears in UAC
        prompts.
      - bpo-40948: Improve post-install message to direct people
        to the “py” command.
      - bpo-41412: The installer will now fail to install on
        Windows 7 and Windows 8. Further, the UCRT dependency is
        now always downloaded on demand.
      - bpo-40741: Update Windows release to include SQLite
        3.32.3.
  * IDLE
      - bpo-41468: Improve IDLE run crash error message (which
        users should never see).
      - bpo-41373: Save files loaded with no line ending, as when
        blank, or different line endings, by setting its line
        ending to the system default. Fix regression in 3.8.4 and
        3.9.0b4.
- Synchronize formatting and fixes with python38.

OBS-URL: https://build.opensuse.org/request/show/831521
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python39?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2020-09-04 09:10:07 +00:00 committed by Git OBS Bridge
commit e445e8dd23
7 changed files with 11615 additions and 1067 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6ce1d77cba57cccb3e43cdb76217beacd7c7cd66a17d065523e4139cb5401564
size 18588472

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4/8oOcBIslwITevpsmmV4xAlBWgFAl8V2nYACgkQsmmV4xAl
BWhkNg//agICRI2yfh2xqQnHouaZAL202BnL8ZSXWYq6qRRIqUaf1oUB2ib/icCt
t95n3JP3AkY4+T8r3xHvEdSCMrmW4LrNUKGj4dJFzblmig8ikmYwOJPDVbIs7Vi7
uvY2fUBXecJPHvmjL0MghjzLGSl5+yaxdVky/8IcxAFyPMZ4MvV8Z83YLAa7aCx9
tmcwCtVHQLeeo3EHqmgsaBlzFukPnkGbgn5/33T6aRxsX5ZNTnNMpZ+HeF9VsZ3h
mDRwa+/JLcGdSj4ZkN+nisxLXFBm78mbf7a4hi+nyADCVMwb1R0pRS597nhNm4nP
tPp34STZbAQCG+wCwgz12aR/bcZx86cxUAi+24ds6d3nRZQ8FG0KiuucY/Y7FTOS
fSRPW9PLURYIoMacj9TJHdLecHl3fUBCNMOPUmM6Qmb6BwAuyau30QFrMkdY759W
CYHlJxDaNLBjovMva9oitq+k5U710B+hdSPZa9S/7miIX0QRHAdgCE7FJ5AZNjg8
9BYpjoJgyeVg/FP43348K11A8Qke4sLbBQJnCRBNxQK32S2nmI5QkEGswCoIICwj
j7chIHx4YHzLjD0qxlqyz+xara+JcjvJXM3/NZ5uHo3lGEJW+933muc9isJMZ/S9
FoNwZsRX7EWUAOYVb3u24Um6F9LdPPJEUMpwl7M/XUOnSZZPir4=
=S8sB
-----END PGP SIGNATURE-----

3
Python-3.9.0rc1.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fba7a73e7359356967b853c234b97f4a4114f02b8bd60d6bde6e2f97bcdfdc70
size 18798364

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4/8oOcBIslwITevpsmmV4xAlBWgFAl8y7lAACgkQsmmV4xAl
BWirpQ//ea0iRHKS/26d7P7ueMfbi2FrLIjjnjBH9IOl5MOErQOVXlsOoWD4QARM
ffI5ayFpv/O/TNCZhJYyfB4veCF8f5bapN+I0MgorPTyVPgjXTMafkfJoPTGPZSU
K0uOOzTdBxnLYK2IwsLM64kti8vYIfH2/Ul2OxtA3o85GtaQxJfl4m7EjZ0YujbL
yj5anYxphqJXCsVbJXr0oFuEj3oW98kokfQyTmz7FfJdWXtXS+J4+oXtaV7NgDaG
yfab1N/XzBIGG6S9VUfKSFrhP2/zpqFA/HxeFXOlat0384FrpZnqghl2OhyF/a9Q
BM0Gf6gg5Zb6vUfXnx4LaKX/f8PwPQ6ByuYxlspm+K3F6i+qrgCv1JoTFoh606kY
cI1TJbZl8+yA0kzZTdfdIMoKG4U8limpMooourdek+IaJ+y0BA84Qq4mXhT9zKu1
roc3AmO9w+GKru9BUDKHn92QPlfKiUoPC6zSfwNGgwbDp1wiwdh5UAhOi9sE7HoH
jMiqm05m0tMluyAKBWN3fGfon6Ccn4N8xpQBx1v2q1Z0VtTEtlpA6Igsi1vN/JPx
Yj6q7qpgPFOjjnatxELClIFkfwj+bQATj7WG5KoiIot00691djBimxNe1lspaPO5
/Xi4MX4J0Qknu7CuOicAuhSw7gP5xOjHN2ullQCPK9mgI0Ygqps=
=4mqS
-----END PGP SIGNATURE-----

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,62 @@
-------------------------------------------------------------------
Wed Sep 2 14:39:44 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Update to 3.9.0rc1:
* Core and Builtins
- bpo-38156: Handle interrupts that come after EOF
correctly in PyOS_StdioReadline.
* Library
- bpo-41497: Fix potential UnicodeDecodeError in dis
module.
- bpo-41490: Update ensurepip to install pip 20.2.1 and
setuptools 49.2.1.
- bpo-41467: On Windows, fix asyncio recv_into() return
value when the socket/pipe is closed (BrokenPipeError):
return 0 rather than an empty byte string (b'').
- bpo-41425: Make tkinter doc example runnable.
- bpo-41384: Raise TclError instead of TypeError when an
unknown option is passed to tkinter.OptionMenu.
- bpo-38731: Fix NameError in command-line interface of
py_compile.
- bpo-41317: Use add_done_callback() in
asyncio.loop.sock_accept() to unsubscribe reader early on
cancellation.
- bpo-41364: Reduce import overhead of uuid.
- bpo-41341: Recursive evaluation of typing.ForwardRef in
get_type_hints.
- bpo-41182: selector: use DefaultSelector based upon
implementation
- bpo-40726: Handle cases where the end_lineno is None on
ast.increment_lineno().
* Documentation
- bpo-41045: Add documentation for debug feature of
f-strings.
- bpo-41314: Changed the release when from __future__
import annotations becomes the default from 4.0 to 3.10
(following a change in PEP 563).
* Windows
- bpo-41492: Fixes the description that appears in UAC
prompts.
- bpo-40948: Improve post-install message to direct people
to the “py” command.
- bpo-41412: The installer will now fail to install on
Windows 7 and Windows 8. Further, the UCRT dependency is
now always downloaded on demand.
- bpo-40741: Update Windows release to include SQLite
3.32.3.
* IDLE
- bpo-41468: Improve IDLE run crash error message (which
users should never see).
- bpo-41373: Save files loaded with no line ending, as when
blank, or different line endings, by setting its line
ending to the system default. Fix regression in 3.8.4 and
3.9.0b4.
-------------------------------------------------------------------
Tue Sep 1 10:15:06 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Synchronize formatting and fixes with python38.
-------------------------------------------------------------------
Thu Aug 20 15:41:28 UTC 2020 - Andreas Schwab <schwab@suse.de>

View File

@ -40,7 +40,7 @@
%define python_version %(c=%{_version}; echo ${c:0:3})
# based on the current source tarball
%define python_version_abitag %(c=%{python_version}; echo ${c//./})
# FIXME %define python_version_soname %(c=%{python_version}; echo ${c//./_})
# FIXME %%define python_version_soname %%(c=%%{python_version}; echo ${c//./_})
%define python_version_soname 3_9
%if 0%(test -n "%{tar_suffix}" && echo 1)
%define _version %(echo "%{_version}~%{tar_suffix}")
@ -49,9 +49,10 @@
%define tarversion %{version}
%endif
%define python_pkg_name python39
# Will provide the pyton3-* provides
# Will provide the python3-* provides
# Will do the /usr/bin/python3 and all the core links
%define primary_interpreter 0
# We don't process beta signs well
%define folderversion 3.9.0
%define tarname Python-%{tarversion}
%define sitedir %{_libdir}/python%{python_version}
@ -80,13 +81,14 @@
# pyexpat.cpython-35m-armv7-linux-gnueabihf
# _md5.cpython-38m-x86_64-linux-gnu.so
%define dynlib() %{sitedir}/lib-dynload/%{1}.cpython-%{abi_tag}-%{archname}-%{_os}%{?_gnu}%{?armsuffix}.so
# deadlocks on test_faulthandler and blocks the build
%if 0%{?qemu_user_space_build}
%bcond_with profileopt
%else
%bcond_without profileopt
%endif
Name: %{python_pkg_name}%{psuffix}
Version: 3.9.0b5
Version: 3.9.0rc1
Release: 0
Summary: Python 3 Interpreter
License: Python-2.0
@ -102,7 +104,7 @@ Source10: pre_checkin.sh
Source11: skipped_tests.py
Source19: idle3.desktop
Source20: idle3.appdata.xml
Source99: python.keyring
Source99: https://www.python.org/static/files/pubkeys.txt#/python.keyring
# The following files are not used in the build.
# They are listed here to work around missing functionality in rpmbuild,
# which would otherwise exclude them from distributed src.rpm files.
@ -398,7 +400,7 @@ sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac
# fix shebangs - convert /usr/local/bin/python and /usr/bin/env/python to /usr/bin/python3
for dir in Lib Tools; do
# find *.py, filter to files that contain bad shebangs
# break up "/""usr" like this to prevent replacing with %{_prefix}
# break up "/""usr" like this to prevent replacing with %%{_prefix}
find $dir -name '*.py' -type f -print0 \
| xargs -0 grep -lE '^#! *(/''usr/.*bin/(env +)?)?python' \
| xargs sed -r -i -e '1s@^#![[:space:]]*(/''usr/(local/)?bin/(env +)?)?python([0-9]+(\.[0-9]+)?)?@#!%{_bindir}/python3@'
@ -413,7 +415,7 @@ rm Lib/site-packages/README.txt
%build
%if %{with doc}
TODAY_DATE=`date -r %{SOURCE0} "+%B %d, %Y"`
TODAY_DATE=`date -r %{SOURCE0} "+%%B %%d, %%Y"`
# TODO use not date of tarball but date of latest patch
cd Doc
@ -946,7 +948,7 @@ echo %{sitedir}/_import_failed > %{buildroot}/%{sitedir}/site-packages/zzzz-impo
%endif
# executables
%attr(755, root, root) %{_bindir}/pydoc%{python_version}
# %attr(755, root, root) %{_bindir}/python%{python_abi}
# %%attr(755, root, root) %%{_bindir}/python%%{python_abi}
%attr(755, root, root) %{_bindir}/python%{python_version}
# endif for if base
%endif