forked from pool/python313
- Update to 3.13.0~b4:
- Tests
- gh-121084: Fix test_typing random leaks. Clear typing ABC
caches when running tests for refleaks (-R option): call
_abc_caches_clear() on typing abstract classes and their
subclasses.
- gh-121160: Add a test for
readline.set_history_length(). Note that this test may fail
on readline libraries.
- gh-121200: Fix test_expanduser_pwd2() of
test_posixpath. Call getpwnam() to get pw_dir, since it
can be different than getpwall() pw_dir.
- gh-121188: When creating the JUnit XML file, regrtest
now escapes characters which are invalid in XML, such
as the chr(27) control character used in ANSI escape
sequences.
- Library
- gh-57141: The shallow argument to filecmp.dircmp (new in
Python 3.13) is now keyword-only.
- gh-121245: Simplify handling of the history file in
site.register_readline() helper. The CAN_USE_PYREPL
variable now will be initialized, when imported.
- gh-121332: Fix constructor of ast nodes with custom
_attributes. Previously, passing custom attributes would
raise a DeprecationWarning. Passing arguments to the
constructor that are not in _fields or _attributes remains
deprecated.
- gh-121279: Avoid NameError for the warnings module when
accessing the depracated atributes of the importlib.abc
module.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python313?expand=0&rev=26
This commit is contained in:
@@ -30,7 +30,7 @@ Co-authored-by: Lumír Balhar <frenzy.madness@gmail.com>
|
||||
|
||||
--- a/Lib/site.py
|
||||
+++ b/Lib/site.py
|
||||
@@ -406,8 +406,15 @@ def getsitepackages(prefixes=None):
|
||||
@@ -414,8 +414,15 @@ def getsitepackages(prefixes=None):
|
||||
return sitepackages
|
||||
|
||||
def addsitepackages(known_paths, prefixes=None):
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3be094ad08b11dc2a065463524239c78dc9f2b342b01dcd4e1e606dbbc5c78a5
|
||||
size 20841504
|
||||
@@ -1,18 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAABCgB9FiEEcWlgX2LHUTVtBUomqCHmgOX6YwUFAmZ9d85fFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDcx
|
||||
Njk2MDVGNjJDNzUxMzU2RDA1NEEyNkE4MjFFNjgwRTVGQTYzMDUACgkQqCHmgOX6
|
||||
YwWXBA//TeNtOZTRpGM4pWnY9GBOvXH+WFyT5k5GQM6AE5ITYhLPkz+Refj3kwPV
|
||||
uF32neYXIJIO3v+vyfFTYyj5jNS5gvGRvjPXe2K5p0K9cv5HpTncob9p8FnTJQRY
|
||||
hqXpzs2q8gjU9YN54wz3SqAFE1ensB2qHlq7EJUABbB+HNWk929TXh+cQwSybRT1
|
||||
XMzdKHc4IO3WCVPKIsMngqglUrj7FhlEgx/C8hmu81zpLVkCzxDXLuEDt7nnHoCG
|
||||
HHcmF8B7kGK6py8KD7n/RZgriXli37tyFHJ0wwCtzwyko73khWVayYyJ53s4Pa5H
|
||||
C6A9eNJMBxAQU/M2uPed+io5xZ8IvzSPs4vJCS8YL+NHTQGubexo5QIIHTP5b7ta
|
||||
JW6s3TDHA8g/b3rGum76ZelJ4dsUJ8TPxNl4fORtsltVLJwol1FLGzb7vK7r/ZTM
|
||||
NBnYFjNjEfe4uWHwsZoLdZzH90Z8bKsUXWz/h4EMjUL3NLgORSE8vbPhpjscmEB/
|
||||
x+DM9IJHQat/s8ijtELuOx9SLpUuFBAmzVkmWVWvlPjFrQ5nw5pWLRzADpEV7/IU
|
||||
XOucXhV4hrc8fJ57dGv0mtpP37DbF/cPMdOC0kA9X4icr1sLwN6MVmQJcFoBcNge
|
||||
LvKvNW8lXxWbdOj0+fIymIXoH+bzJUp8g8l79Hp6QYBM5EOxfso=
|
||||
=KNpM
|
||||
-----END PGP SIGNATURE-----
|
||||
BIN
Python-3.13.0b4.tar.xz
(Stored with Git LFS)
Normal file
BIN
Python-3.13.0b4.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
18
Python-3.13.0b4.tar.xz.asc
Normal file
18
Python-3.13.0b4.tar.xz.asc
Normal file
@@ -0,0 +1,18 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAABCgB9FiEEcWlgX2LHUTVtBUomqCHmgOX6YwUFAmaY/fpfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDcx
|
||||
Njk2MDVGNjJDNzUxMzU2RDA1NEEyNkE4MjFFNjgwRTVGQTYzMDUACgkQqCHmgOX6
|
||||
YwV7ExAAkdc0QjTfb4xrTBdKdOkpPk6vsM0tDpA1XnsaCDBwHRertRXKGrHivDfK
|
||||
vDxHQqnXXVa+1PiQYGqFLR4DKUCebYs2RjUlZfULiXwv7SxBWTR1AEpzNyNuzfPU
|
||||
+NXz0Wrs2hlEVo6LFIjCqwN3j0e96gEoIOA3BuuCorw4SeRfzc2Fw/essHYL85MQ
|
||||
kyvzhRcjoyWFGoyDv52OUuP81u8v0OaW1EImkKzG65QnXVSPmihTKWvnHxgUBI95
|
||||
rTu2s5/w5gKUDDhQyBl5SLjb+bsMjgoUY8bDkvy9yTi3bWGVFOCD2VFK8cGOGUP0
|
||||
lz8g3aSPBTbfieKqghoIpPjyttqOt4gJg/twXZaxpv3f5nO2ErixYR3El/RzGdGk
|
||||
uui7GJbX4fKoNsmSqM8FV6QfJ+sO3CV+3XVOyfMdrq3WrEGCpR9dYJ7BwOVfcYuD
|
||||
hxMGchhMBJsj3gb25QgEVmFR/DOTnXoWNowbPkmkb7vv6lEp5j5JI47xfNqdxpID
|
||||
Tyn7OQYGqKu7hzhMXTQ5HkL9AvERNUujtGHrN3uND+1ypiEFSuY6ahCmVWoAeSkJ
|
||||
/TMkUiBEj1wBIMi7U0zAoyHN63zshq0DHYkaGDpb24GPAww1VmMls2pBy7vLSKO1
|
||||
Ggzr4WWIN/EVNB9zulhqVxX750idYWBJrP/kLNubEn0Z/iOchrg=
|
||||
=knpx
|
||||
-----END PGP SIGNATURE-----
|
||||
@@ -139,7 +139,7 @@ Co-Authored-By: Xavier de Gaye <xdegaye@gmail.com>
|
||||
|
||||
--- a/Makefile.pre.in
|
||||
+++ b/Makefile.pre.in
|
||||
@@ -2142,7 +2142,7 @@ install: @FRAMEWORKINSTALLFIRST@ @INSTAL
|
||||
@@ -2144,7 +2144,7 @@ install: @FRAMEWORKINSTALLFIRST@ @INSTAL
|
||||
install|*) ensurepip="" ;; \
|
||||
esac; \
|
||||
$(RUNSHARED) $(PYTHON_FOR_BUILD) -m ensurepip \
|
||||
@@ -148,7 +148,7 @@ Co-Authored-By: Xavier de Gaye <xdegaye@gmail.com>
|
||||
fi
|
||||
|
||||
.PHONY: altinstall
|
||||
@@ -2153,7 +2153,7 @@ altinstall: commoninstall
|
||||
@@ -2155,7 +2155,7 @@ altinstall: commoninstall
|
||||
install|*) ensurepip="--altinstall" ;; \
|
||||
esac; \
|
||||
$(RUNSHARED) $(PYTHON_FOR_BUILD) -m ensurepip \
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
--- a/Misc/NEWS
|
||||
+++ b/Misc/NEWS
|
||||
@@ -17608,7 +17608,7 @@ C API
|
||||
@@ -17527,7 +17527,7 @@ C API
|
||||
- bpo-40939: Removed documentation for the removed ``PyParser_*`` C API.
|
||||
|
||||
- bpo-43795: The list in :ref:`limited-api-list` now shows the public name
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
--- a/Makefile.pre.in
|
||||
+++ b/Makefile.pre.in
|
||||
@@ -1664,11 +1664,18 @@ Modules/getbuildinfo.o: $(PARSER_OBJS) \
|
||||
@@ -1666,11 +1666,18 @@ Modules/getbuildinfo.o: $(PARSER_OBJS) \
|
||||
$(DTRACE_OBJS) \
|
||||
$(srcdir)/Modules/getbuildinfo.c
|
||||
$(CC) -c $(PY_CORE_CFLAGS) \
|
||||
|
||||
@@ -1,3 +1,146 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 22 18:55:00 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Update to 3.13.0~b4:
|
||||
- Tests
|
||||
- gh-121084: Fix test_typing random leaks. Clear typing ABC
|
||||
caches when running tests for refleaks (-R option): call
|
||||
_abc_caches_clear() on typing abstract classes and their
|
||||
subclasses.
|
||||
- gh-121160: Add a test for
|
||||
readline.set_history_length(). Note that this test may fail
|
||||
on readline libraries.
|
||||
- gh-121200: Fix test_expanduser_pwd2() of
|
||||
test_posixpath. Call getpwnam() to get pw_dir, since it
|
||||
can be different than getpwall() pw_dir.
|
||||
- gh-121188: When creating the JUnit XML file, regrtest
|
||||
now escapes characters which are invalid in XML, such
|
||||
as the chr(27) control character used in ANSI escape
|
||||
sequences.
|
||||
- Library
|
||||
- gh-57141: The shallow argument to filecmp.dircmp (new in
|
||||
Python 3.13) is now keyword-only.
|
||||
- gh-121245: Simplify handling of the history file in
|
||||
site.register_readline() helper. The CAN_USE_PYREPL
|
||||
variable now will be initialized, when imported.
|
||||
- gh-121332: Fix constructor of ast nodes with custom
|
||||
_attributes. Previously, passing custom attributes would
|
||||
raise a DeprecationWarning. Passing arguments to the
|
||||
constructor that are not in _fields or _attributes remains
|
||||
deprecated.
|
||||
- gh-121279: Avoid NameError for the warnings module when
|
||||
accessing the depracated atributes of the importlib.abc
|
||||
module.
|
||||
- gh-121245: Fix a bug in the handling of the command history
|
||||
of the new REPL that caused the history file to be wiped at
|
||||
REPL exit.
|
||||
- gh-87744: Fix waitpid race while calling send_signal() in
|
||||
asyncio.
|
||||
- gh-121018: Fixed other issues where argparse.ArgumentParser
|
||||
did not honor exit_on_error=False.
|
||||
- gh-120678: Fix regression in the new REPL that meant that
|
||||
globals from files passed using the -i argument would not
|
||||
be included in the REPL’s global namespace.
|
||||
- gh-120782: Fix wrong references of the datetime types after
|
||||
reloading the module.
|
||||
- gh-120713: datetime.datetime.strftime() now 0-pads years
|
||||
with less than four digits for the format specifiers %Y and
|
||||
%G on Linux.
|
||||
- gh-117983: Defer the threading import in importlib.util
|
||||
until lazy loading is used.
|
||||
- gh-119189: When using the ** operator or pow() with
|
||||
Fraction as the base and an exponent that is not rational,
|
||||
a float, or a complex, the fraction is no longer converted
|
||||
to a float.
|
||||
- gh-118714: Allow restart in post-mortem debugging of
|
||||
pdb. Removed restart message when the user quits pdb from
|
||||
post-mortem mode.
|
||||
- gh-105623: Fix performance degradation in
|
||||
logging.handlers.RotatingFileHandler.
|
||||
- IDLE
|
||||
- gh-78889: Stop Shell freezes by blocking user access to
|
||||
non-method sys.stdout.shell attributes, which are all
|
||||
private.
|
||||
- Documentation
|
||||
- gh-121749: Fix documentation for PyModule_AddObjectRef().
|
||||
- gh-120012: Clarify the behaviours of
|
||||
multiprocessing.Queue.empty() and
|
||||
multiprocessing.SimpleQueue.empty() on closed queues.
|
||||
- Core and Builtins
|
||||
- gh-121860: Fix crash when rematerializing a managed
|
||||
dictionary after it was deleted.
|
||||
- gh-121814: Fixed the SegFault when PyEval_SetTrace() is
|
||||
used with no Python frame on stack.
|
||||
- gh-121295: Fix PyREPL console getting into a blocked state
|
||||
after interrupting a long paste
|
||||
- gh-121794: Fix bug in free-threaded Python where a
|
||||
resurrected object could lead to a negative ref count
|
||||
assertion failure.
|
||||
- gh-121657: Improve the SyntaxError message if the user
|
||||
tries to use yield from outside a function.
|
||||
- gh-121609: Fix pasting of characters containing unicode
|
||||
character joiners in the new REPL. Patch by Marta Gomez
|
||||
Macias
|
||||
- gh-117482: Unexpected slot wrappers are no longer created
|
||||
for builtin static types in subinterpreters.
|
||||
- gh-121499: Fix a bug affecting how multi-line history was
|
||||
being rendered in the new REPL after interacting with the
|
||||
new screen cache. Patch by Pablo Galindo
|
||||
- gh-121497: Fix a bug that was preventing the REPL to
|
||||
correctly respect the history when an input hook was
|
||||
set. Patch by Pablo Galindo
|
||||
- gh-121012: Tier 2 execution now ensures that list iterators
|
||||
remain exhausted, once they become exhausted.
|
||||
- gh-121439: Allow tuples of length 20 in the freelist to be
|
||||
reused.
|
||||
- gh-121368: Fix race condition in _PyType_Lookup in the
|
||||
free-threaded build due to a missing memory fence. This
|
||||
could lead to _PyType_Lookup returning incorrect results on
|
||||
arm64.
|
||||
- gh-121130: Fix f-strings with debug expressions in format
|
||||
specifiers. Patch by Pablo Galindo
|
||||
- gh-121115: PyLong_AsNativeBytes() no longer
|
||||
uses __index__() methods by default. The
|
||||
Py_ASNATIVEBYTES_ALLOW_INDEX flag has been added to allow
|
||||
it.
|
||||
- C API
|
||||
- gh-89364: Export the PySignal_SetWakeupFd()
|
||||
function. Previously, the function was documented but
|
||||
it couldn’t be used in 3rd party code. Patch by Victor
|
||||
Stinner.
|
||||
- gh-113993: PyUnicode_InternInPlace() no longer
|
||||
Seprevents its argument from being garbage collected
|
||||
Several functions that take char * are now documented
|
||||
Seas possibly preventing string objects from being
|
||||
Segarbage collected; refer to their documentation
|
||||
Sefor details: PyUnicode_InternFromString(),
|
||||
SePyDict_SetItemString(), PyObject_SetAttrString(),
|
||||
SePyObject_DelAttrString(), PyUnicode_InternFromString(),
|
||||
Seand PyModule_Add* convenience functions
|
||||
- gh-113601: Removed debug build assertions related to
|
||||
interning strings, which were falsely triggered by stable
|
||||
ABI extensions.
|
||||
- gh-112136: Restore the private _PyArg_Parser structure and
|
||||
the private _PyArg_ParseTupleAndKeywordsFast() function,
|
||||
previously removed in Python 3.13 alpha 1. Patch by Victor
|
||||
Stinner.
|
||||
- Build
|
||||
- gh-120371: Support WASI SDK 22 by explicitly skipping
|
||||
functions that are just stubs in wasi-libc.
|
||||
- gh-121731: Fix mimalloc compile error on GNU/Hurd
|
||||
- gh-121487: Fix deprecation warning for ATOMIC_VAR_INIT in
|
||||
mimalloc.
|
||||
- gh-121467: Fix a Makefile bug that prevented mimalloc
|
||||
header files from being installed.
|
||||
- gh-121103: On POSIX systems, excluding macOS framework
|
||||
installs, the lib directory for the free-threaded build now
|
||||
includes a “t” suffix to avoid conflicts with a co-located
|
||||
default build installation.
|
||||
- gh-120831: The default minimum iOS version was increased to
|
||||
13.0.
|
||||
- gh-113565: Improve curses and curses.panel dependency
|
||||
checks in configure.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 4 16:04:05 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
|
||||
@@ -112,8 +112,8 @@
|
||||
%define dynlib() %{sitedir}/lib-dynload/%{1}.cpython-%{abi_tag}-%{archname}-%{_os}%{?_gnu}%{?armsuffix}.so
|
||||
%bcond_without profileopt
|
||||
Name: %{python_pkg_name}%{psuffix}
|
||||
Version: 3.13.0~b3
|
||||
%define tarversion 3.13.0b3
|
||||
Version: 3.13.0~b4
|
||||
%define tarversion 3.13.0b4
|
||||
%define tarname Python-%{tarversion}
|
||||
Release: 0
|
||||
Summary: Python 3 Interpreter
|
||||
|
||||
Reference in New Issue
Block a user