- Update to 3.13.0~b2:

* Core and Builtins
    - gh-119462: Make sure that invariants of type versioning are
      maintained:
      * Superclasses always have their version number assigned
        before subclasses
      * The version tag is always zero if the tag is not valid.
      * The version tag is always non-zero if the tag is valid.
    - gh-120437: Fix _CHECK_STACK_SPACE optimization problems
      introduced in gh-118322.
    - gh-120722: Correctly set the bytecode position on return
      instructions within lambdas. Patch by Jelle Zijlstra.
    - gh-120367: Fix bug where compiler creates a redundant
      jump during pseudo-op replacement. Can only happen with
      a synthetic AST that has a try on the same line as the
      instruction following the exception handler.
    - gh-113993: Strings interned with sys.intern() are again
      garbage-collected when no longer used, as per the
      documentation. Strings interned with the C function
      PyUnicode_InternInPlace() are still immortal. Internals of
      the string interning mechanism have been changed. This may
      affect performance and identities of str objects.
    - gh-120384: Fix an array out of bounds crash in
      list_ass_subscript, which could be invoked via some
      specificly tailored input: including concurrent
      modification of a list object, where one thread assigns a
      slice and another clears it.
    - gh-120367: Fix crash in compiler on code with redundant
      NOPs and JUMPs which show up after exception handlers are
      moved to the end of the code.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python313?expand=0&rev=19
This commit is contained in:
2024-06-28 06:33:35 +00:00
committed by Git OBS Bridge
parent ed786f6cde
commit 2a85f6bbe8
11 changed files with 222 additions and 80 deletions

View File

@@ -24,16 +24,13 @@ Co-authored-by: Miro Hrončok <miro@hroncok.cz>
Co-authored-by: Michal Cyprian <m.cyprian@gmail.com> Co-authored-by: Michal Cyprian <m.cyprian@gmail.com>
Co-authored-by: Lumír Balhar <frenzy.madness@gmail.com> Co-authored-by: Lumír Balhar <frenzy.madness@gmail.com>
--- ---
Lib/site.py | 9 ++++++- Lib/site.py | 9 ++++++++-
Lib/sysconfig.py | 49 +++++++++++++++++++++++++++++++++++++- Lib/test/test_sysconfig.py | 17 +++++++++++++++--
Lib/test/test_sysconfig.py | 17 +++++++++++-- 2 files changed, 23 insertions(+), 3 deletions(-)
3 files changed, 71 insertions(+), 4 deletions(-)
Index: Python-3.13.0a3/Lib/site.py --- a/Lib/site.py
=================================================================== +++ b/Lib/site.py
--- Python-3.13.0a3.orig/Lib/site.py @@ -406,8 +406,15 @@ def getsitepackages(prefixes=None):
+++ Python-3.13.0a3/Lib/site.py
@@ -395,8 +395,15 @@ def getsitepackages(prefixes=None):
return sitepackages return sitepackages
def addsitepackages(known_paths, prefixes=None): def addsitepackages(known_paths, prefixes=None):
@@ -50,11 +47,9 @@ Index: Python-3.13.0a3/Lib/site.py
for sitedir in getsitepackages(prefixes): for sitedir in getsitepackages(prefixes):
if os.path.isdir(sitedir): if os.path.isdir(sitedir):
addsitedir(sitedir, known_paths) addsitedir(sitedir, known_paths)
Index: Python-3.13.0a3/Lib/test/test_sysconfig.py --- a/Lib/test/test_sysconfig.py
=================================================================== +++ b/Lib/test/test_sysconfig.py
--- Python-3.13.0a3.orig/Lib/test/test_sysconfig.py @@ -121,8 +121,19 @@ class TestSysConfig(unittest.TestCase):
+++ Python-3.13.0a3/Lib/test/test_sysconfig.py
@@ -115,8 +115,19 @@ class TestSysConfig(unittest.TestCase):
for scheme in _INSTALL_SCHEMES: for scheme in _INSTALL_SCHEMES:
for name in _INSTALL_SCHEMES[scheme]: for name in _INSTALL_SCHEMES[scheme]:
expected = _INSTALL_SCHEMES[scheme][name].format(**config_vars) expected = _INSTALL_SCHEMES[scheme][name].format(**config_vars)
@@ -75,7 +70,7 @@ Index: Python-3.13.0a3/Lib/test/test_sysconfig.py
os.path.normpath(expected), os.path.normpath(expected),
) )
@@ -340,7 +351,7 @@ class TestSysConfig(unittest.TestCase): @@ -377,7 +388,7 @@ class TestSysConfig(unittest.TestCase):
self.assertTrue(os.path.isfile(config_h), config_h) self.assertTrue(os.path.isfile(config_h), config_h)
def test_get_scheme_names(self): def test_get_scheme_names(self):
@@ -84,7 +79,7 @@ Index: Python-3.13.0a3/Lib/test/test_sysconfig.py
if HAS_USER_BASE: if HAS_USER_BASE:
wanted.extend(['nt_user', 'osx_framework_user', 'posix_user']) wanted.extend(['nt_user', 'osx_framework_user', 'posix_user'])
self.assertEqual(get_scheme_names(), tuple(sorted(wanted))) self.assertEqual(get_scheme_names(), tuple(sorted(wanted)))
@@ -352,6 +363,8 @@ class TestSysConfig(unittest.TestCase): @@ -389,6 +400,8 @@ class TestSysConfig(unittest.TestCase):
cmd = "-c", "import sysconfig; print(sysconfig.get_platform())" cmd = "-c", "import sysconfig; print(sysconfig.get_platform())"
self.assertEqual(py.call_real(*cmd), py.call_link(*cmd)) self.assertEqual(py.call_real(*cmd), py.call_link(*cmd))

View File

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

View File

@@ -1,18 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQKTBAABCgB9FiEEcWlgX2LHUTVtBUomqCHmgOX6YwUFAmZgqbxfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDcx
Njk2MDVGNjJDNzUxMzU2RDA1NEEyNkE4MjFFNjgwRTVGQTYzMDUACgkQqCHmgOX6
YwWOCw/+KrVXX9knyva2KJZH8s+Uf4+GVe+LpA6Mou8v5P39gXJ0ASwGCJwOb8Ty
Efca2mTXIzH1ksGFx9wjm9T7msR1AyvhhpCbQ7uxpmIUlLoxEN3K/Pl6K8CuBrTt
MXdDnWAQPsARX4lCOJgCr9TaEk3/NO/ZuBCY0IjFoqreUyg7ksCy+7pqylWS8xvW
5PWsc3g7yReL8+/ADQXDYGAnqMOzT1c2R6Hn+qWwRV24U7PC/svlQVaDCLbKc1il
iXwsVGL9DHsDtymkuo4IRT8Oe8+WZvoYU9KrwrQWvSfxQc6azhX7fLnGXde7Ez0P
7QuzPSX4aP//hUxitjpeCmvx+CjTnpZNPylAmIugXhKfeThKwUSZrb1fljGmbZIo
gJ0LGlvqVRFfrBXwkJIRlpxWtz6dy8gwYEijGN1FPj9X5+tSobMpMd5rUF4mbOcY
ugcRjqUULGxFbfDY8vuQpi8QJkDNTblHoO3gXdu9hwaUefHU9fJ22ZbN1P/u9bVz
QOBjBHsplZJRQVfTSP7xuJrhm1rDXN2im8ZPQrUIoxGfYbuqt4IPclL7dvvtU3O3
z797Kc8mGNxpHWlHLSlNCsUgykdzIQ+eXdnGX2Yo++m1+xVI7DptK0Kf3CnHrIsU
6b0fPwP2BMLCDZ8kcsmf6UoQ8Hre5WA5066D+N71u1eQJjDFdGM=
=BWgp
-----END PGP SIGNATURE-----

3
Python-3.13.0b3.tar.xz Normal file
View File

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

View File

@@ -0,0 +1,18 @@
-----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-----

View File

@@ -13,10 +13,8 @@ Co-Authored-By: Xavier de Gaye <xdegaye@gmail.com>
5 files changed, 34 insertions(+), 9 deletions(-) 5 files changed, 34 insertions(+), 9 deletions(-)
create mode 100644 Misc/NEWS.d/next/Build/2019-12-16-17-50-42.bpo-31046.XA-Qfr.rst create mode 100644 Misc/NEWS.d/next/Build/2019-12-16-17-50-42.bpo-31046.XA-Qfr.rst
Index: Python-3.13.0a3/Doc/library/ensurepip.rst --- a/Doc/library/ensurepip.rst
=================================================================== +++ b/Doc/library/ensurepip.rst
--- Python-3.13.0a3.orig/Doc/library/ensurepip.rst
+++ Python-3.13.0a3/Doc/library/ensurepip.rst
@@ -59,8 +59,9 @@ is at least as recent as the one availab @@ -59,8 +59,9 @@ is at least as recent as the one availab
By default, ``pip`` is installed into the current virtual environment By default, ``pip`` is installed into the current virtual environment
(if one is active) or into the system site packages (if there is no (if one is active) or into the system site packages (if there is no
@@ -55,11 +53,9 @@ Index: Python-3.13.0a3/Doc/library/ensurepip.rst
.. audit-event:: ensurepip.bootstrap root ensurepip.bootstrap .. audit-event:: ensurepip.bootstrap root ensurepip.bootstrap
.. note:: .. note::
Index: Python-3.13.0a3/Lib/ensurepip/__init__.py --- a/Lib/ensurepip/__init__.py
=================================================================== +++ b/Lib/ensurepip/__init__.py
--- Python-3.13.0a3.orig/Lib/ensurepip/__init__.py @@ -106,27 +106,27 @@ def _disable_pip_configuration_settings(
+++ Python-3.13.0a3/Lib/ensurepip/__init__.py
@@ -120,27 +120,27 @@ def _disable_pip_configuration_settings(
os.environ['PIP_CONFIG_FILE'] = os.devnull os.environ['PIP_CONFIG_FILE'] = os.devnull
@@ -92,7 +88,7 @@ Index: Python-3.13.0a3/Lib/ensurepip/__init__.py
Note that calling this function will alter both sys.path and os.environ. Note that calling this function will alter both sys.path and os.environ.
""" """
@@ -190,6 +190,8 @@ def _bootstrap(*, root=None, upgrade=Fal @@ -162,6 +162,8 @@ def _bootstrap(*, root=None, upgrade=Fal
args = ["install", "--no-cache-dir", "--no-index", "--find-links", tmpdir] args = ["install", "--no-cache-dir", "--no-index", "--find-links", tmpdir]
if root: if root:
args += ["--root", root] args += ["--root", root]
@@ -101,7 +97,7 @@ Index: Python-3.13.0a3/Lib/ensurepip/__init__.py
if upgrade: if upgrade:
args += ["--upgrade"] args += ["--upgrade"]
if user: if user:
@@ -265,6 +267,11 @@ def _main(argv=None): @@ -238,6 +240,11 @@ def _main(argv=None):
help="Install everything relative to this alternate root directory.", help="Install everything relative to this alternate root directory.",
) )
parser.add_argument( parser.add_argument(
@@ -113,7 +109,7 @@ Index: Python-3.13.0a3/Lib/ensurepip/__init__.py
"--altinstall", "--altinstall",
action="store_true", action="store_true",
default=False, default=False,
@@ -283,6 +290,7 @@ def _main(argv=None): @@ -256,6 +263,7 @@ def _main(argv=None):
return _bootstrap( return _bootstrap(
root=args.root, root=args.root,
@@ -121,11 +117,9 @@ Index: Python-3.13.0a3/Lib/ensurepip/__init__.py
upgrade=args.upgrade, upgrade=args.upgrade,
user=args.user, user=args.user,
verbosity=args.verbosity, verbosity=args.verbosity,
Index: Python-3.13.0a3/Lib/test/test_ensurepip.py --- a/Lib/test/test_ensurepip.py
=================================================================== +++ b/Lib/test/test_ensurepip.py
--- Python-3.13.0a3.orig/Lib/test/test_ensurepip.py @@ -101,6 +101,17 @@ class TestBootstrap(EnsurepipMixin, unit
+++ Python-3.13.0a3/Lib/test/test_ensurepip.py
@@ -105,6 +105,17 @@ class TestBootstrap(EnsurepipMixin, unit
unittest.mock.ANY, unittest.mock.ANY,
) )
@@ -143,11 +137,9 @@ Index: Python-3.13.0a3/Lib/test/test_ensurepip.py
def test_bootstrapping_with_user(self): def test_bootstrapping_with_user(self):
ensurepip.bootstrap(user=True) ensurepip.bootstrap(user=True)
Index: Python-3.13.0a3/Makefile.pre.in --- a/Makefile.pre.in
=================================================================== +++ b/Makefile.pre.in
--- Python-3.13.0a3.orig/Makefile.pre.in @@ -2142,7 +2142,7 @@ install: @FRAMEWORKINSTALLFIRST@ @INSTAL
+++ Python-3.13.0a3/Makefile.pre.in
@@ -1991,7 +1991,7 @@ install: @FRAMEWORKINSTALLFIRST@ commoni
install|*) ensurepip="" ;; \ install|*) ensurepip="" ;; \
esac; \ esac; \
$(RUNSHARED) $(PYTHON_FOR_BUILD) -m ensurepip \ $(RUNSHARED) $(PYTHON_FOR_BUILD) -m ensurepip \
@@ -156,7 +148,7 @@ Index: Python-3.13.0a3/Makefile.pre.in
fi fi
.PHONY: altinstall .PHONY: altinstall
@@ -2002,7 +2002,7 @@ altinstall: commoninstall @@ -2153,7 +2153,7 @@ altinstall: commoninstall
install|*) ensurepip="--altinstall" ;; \ install|*) ensurepip="--altinstall" ;; \
esac; \ esac; \
$(RUNSHARED) $(PYTHON_FOR_BUILD) -m ensurepip \ $(RUNSHARED) $(PYTHON_FOR_BUILD) -m ensurepip \
@@ -165,9 +157,7 @@ Index: Python-3.13.0a3/Makefile.pre.in
fi fi
.PHONY: commoninstall .PHONY: commoninstall
Index: Python-3.13.0a3/Misc/NEWS.d/next/Build/2019-12-16-17-50-42.bpo-31046.XA-Qfr.rst
===================================================================
--- /dev/null --- /dev/null
+++ Python-3.13.0a3/Misc/NEWS.d/next/Build/2019-12-16-17-50-42.bpo-31046.XA-Qfr.rst +++ b/Misc/NEWS.d/next/Build/2019-12-16-17-50-42.bpo-31046.XA-Qfr.rst
@@ -0,0 +1 @@ @@ -0,0 +1 @@
+A directory prefix can now be specified when using :mod:`ensurepip`. +A directory prefix can now be specified when using :mod:`ensurepip`.

View File

@@ -2,11 +2,9 @@
Misc/NEWS | 2 +- Misc/NEWS | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
Index: Python-3.13.0a3/Misc/NEWS --- a/Misc/NEWS
=================================================================== +++ b/Misc/NEWS
--- Python-3.13.0a3.orig/Misc/NEWS @@ -17608,7 +17608,7 @@ C API
+++ Python-3.13.0a3/Misc/NEWS
@@ -14868,7 +14868,7 @@ C API
- bpo-40939: Removed documentation for the removed ``PyParser_*`` 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 - bpo-43795: The list in :ref:`limited-api-list` now shows the public name

View File

@@ -2,11 +2,9 @@
Makefile.pre.in | 7 +++++++ Makefile.pre.in | 7 +++++++
1 file changed, 7 insertions(+) 1 file changed, 7 insertions(+)
Index: Python-3.13.0a3/Makefile.pre.in --- a/Makefile.pre.in
=================================================================== +++ b/Makefile.pre.in
--- Python-3.13.0a3.orig/Makefile.pre.in @@ -1664,11 +1664,18 @@ Modules/getbuildinfo.o: $(PARSER_OBJS) \
+++ Python-3.13.0a3/Makefile.pre.in
@@ -1380,11 +1380,18 @@ Modules/getbuildinfo.o: $(PARSER_OBJS) \
$(DTRACE_OBJS) \ $(DTRACE_OBJS) \
$(srcdir)/Modules/getbuildinfo.c $(srcdir)/Modules/getbuildinfo.c
$(CC) -c $(PY_CORE_CFLAGS) \ $(CC) -c $(PY_CORE_CFLAGS) \

View File

@@ -1,3 +1,166 @@
-------------------------------------------------------------------
Fri Jun 28 06:12:20 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- Update to 3.13.0~b2:
* Core and Builtins
- gh-119462: Make sure that invariants of type versioning are
maintained:
* Superclasses always have their version number assigned
before subclasses
* The version tag is always zero if the tag is not valid.
* The version tag is always non-zero if the tag is valid.
- gh-120437: Fix _CHECK_STACK_SPACE optimization problems
introduced in gh-118322.
- gh-120722: Correctly set the bytecode position on return
instructions within lambdas. Patch by Jelle Zijlstra.
- gh-120367: Fix bug where compiler creates a redundant
jump during pseudo-op replacement. Can only happen with
a synthetic AST that has a try on the same line as the
instruction following the exception handler.
- gh-113993: Strings interned with sys.intern() are again
garbage-collected when no longer used, as per the
documentation. Strings interned with the C function
PyUnicode_InternInPlace() are still immortal. Internals of
the string interning mechanism have been changed. This may
affect performance and identities of str objects.
- gh-120384: Fix an array out of bounds crash in
list_ass_subscript, which could be invoked via some
specificly tailored input: including concurrent
modification of a list object, where one thread assigns a
slice and another clears it.
- gh-120367: Fix crash in compiler on code with redundant
NOPs and JUMPs which show up after exception handlers are
moved to the end of the code.
- gh-120400: Support Linux perf profiler to see Python calls
on RISC-V architecture.
- gh-120221: Deliver real signals on Ctrl-C and Ctrl-Z in the
new REPL. Patch by Pablo Galindo
- gh-120346: Respect PYTHON_BASIC_REPL when running in
interative inspect mode (python -i). Patch by Pablo Galindo
- gh-93691: Fix source locations of instructions generated
for the iterator of a for statement.
- gh-120198: Fix a crash when multiple threads read and write
to the same __class__ of an object concurrently.
- gh-120298: Fix use-after free in list_richcompare_impl
which can be invoked via some specificly tailored evil
input.
- gh-119666: Fix a compiler crash in the case where two
comprehensions in class scope both reference __class__.
- gh-120225: Fix crash in compiler on empty block at end of
exception handler.
- gh-119933: Improve SyntaxError messages for invalid
expressions in a type parameters bound, a type parameter
constraint tuple or a default type parameter. Patch by
Bénédikt Tran
- bpo-24766: Fix handling of doc argument to subclasses of
property
* Library
- gh-119614: Fix truncation of strings with embedded null
characters in some internal operations in tkinter.
- gh-120910: When reading installed files from an egg, use
relative_to(walk_up=True) to honor files installed outside
of the installation root.
- gh-101830: Accessing the tkinter objects string
representation no longer converts the underlying Tcl object
to a string on Windows.
- gh-120811: Fix possible memory leak in
contextvars.Context.run().
- gh-120769: Make empty line in pdb repeats the last command
even when the command is from cmdqueue.
- gh-120732: Fix name passing to unittest.mock.Mock object
when using unittest.mock.create_autospec().
- gh-120683: Fix an error in logging.LogRecord, when the
integer part of the timestamp is rounded up, while the
millisecond calculation truncates, causing the log
timestamp to be wrong by up to 999 ms (affected roughly 1
in 8 million timestamps).
- gh-120633: Move scrollbar and remove tear-off menus in
turtledemo.
- gh-120541: Improve the prompt in the “less” pager when
help() is called with non-string argument.
- gh-120495: Fix incorrect exception handling in Tab
Nanny. Patch by Wulian233.
- gh-120381: Correct inspect.ismethoddescriptor() to
check also for the lack of __delete__(). Patch by Jan
Kaliszewski.
- gh-90425: The OS byte in gzip headers is now always set to
255 when using gzip.compress().
- gh-120343: Fix column offset reporting for tokens that come
after multiline f-strings in the tokenize module.
- gh-119600: Fix unittest.mock.patch() to not read attributes
of the target when new_callable is set. Patch by Robert
Collins.
- gh-114053: Fix erroneous NameError when calling
inspect.get_annotations() with eval_str=True` on a class
that made use of PEP 695 type parameters in a module that
had from __future__ import annotations at the top of the
file. Patch by Alex Waygood.
- gh-120268: Prohibit passing None to pure-Python
datetime.date.fromtimestamp() to achieve consistency with
C-extension implementation.
- gh-120244: Fix memory leak in re.sub() when the replacement
string contains backreferences.
- gh-120211: Fix tkinter.ttk with Tcl/Tk 9.0.
- gh-71587: Fix crash in C version of
datetime.datetime.strptime() when called again on the
restarted interpreter.
- gh-120161: datetime no longer crashes in certain complex
reference cycle situations.
- gh-119698: Fix symtable.Class.get_methods() and document
its behaviour. Patch by Bénédikt Tran.
- gh-120121: Add concurrent.futures.InvalidStateError to
modules __all__.
- gh-119933: Add the symtable.SymbolTableType
enumeration to represent the possible outputs of the
symtable.SymbolTable.get_type method. Patch by Bénédikt
Tran.
- gh-120108: Fix calling copy.deepcopy() on ast trees
that have been modified to have references to parent
nodes. Patch by Jelle Zijlstra.
- gh-112672: Support building tkinter with Tcl 9.0.
- gh-65454: unittest.mock.Mock.attach_mock() no longer
triggers a call to a PropertyMock being attached.
- gh-81936: help() and showtopic() methods now respect a
configured output argument to pydoc.Helper and not use the
pager in such cases. Patch by Enrico Tröger.
- gh-119577: The DeprecationWarning emitted when testing
the truth value of an xml.etree.ElementTree.Element now
describes unconditionally returning True in a future
version rather than raising an exception in Python 3.14.
- gh-118908: Limit exposed globals from internal imports and
definitions on new REPL startup. Patch by Eugene Triguba
and Pablo Galindo.
- gh-119506: Fix io.TextIOWrapper.write() method breaks
internal buffer when the method is called again during
flushing internal buffer.
* Build
- gh-120671: Fix failing configure tests due to a missing
space when appending to CFLAGS.
- gh-120602: Correctly handle LLVM installs
with LLVM_VERSION_SUFFIX when building with
--enable-experimental-jit.
- gh-120326: On Windows, fix build error when --disable-gil
and --experimental-jit options are combined.
- gh-120291: Make the python-config shell script compatible
with non-bash shells.
* C API
- gh-120858: PyDict_Next() no longer locks the dictionary in
the free-threaded build. The locking needs to be done by
the caller around the entire iteration loop.
- gh-119344: The critical section API is now public as part
of the non-limited C API.
- gh-118789: Add
PyUnstable_Object_ClearWeakRefsNoCallbacks(), which clears
weakrefs without calling their callbacks.
- gh-117511: Make the PyMutex public in the non-limited C
API.
- Readjust patches:
- F00251-change-user-install-location.patch
- bpo-31046_ensurepip_honours_prefix.patch
- fix_configure_rst.patch
- python-3.3.0b1-fix_date_time_compiler.patch
- subprocess-raise-timeout.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 6 09:59:51 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com> Thu Jun 6 09:59:51 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -112,8 +112,8 @@
%define dynlib() %{sitedir}/lib-dynload/%{1}.cpython-%{abi_tag}-%{archname}-%{_os}%{?_gnu}%{?armsuffix}.so %define dynlib() %{sitedir}/lib-dynload/%{1}.cpython-%{abi_tag}-%{archname}-%{_os}%{?_gnu}%{?armsuffix}.so
%bcond_without profileopt %bcond_without profileopt
Name: %{python_pkg_name}%{psuffix} Name: %{python_pkg_name}%{psuffix}
Version: 3.13.0~b2 Version: 3.13.0~b3
%define tarversion 3.13.0b2 %define tarversion 3.13.0b3
%define tarname Python-%{tarversion} %define tarname Python-%{tarversion}
Release: 0 Release: 0
Summary: Python 3 Interpreter Summary: Python 3 Interpreter

View File

@@ -2,11 +2,9 @@
Lib/test/test_subprocess.py | 3 ++- Lib/test/test_subprocess.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-) 1 file changed, 2 insertions(+), 1 deletion(-)
Index: Python-3.13.0a3/Lib/test/test_subprocess.py --- a/Lib/test/test_subprocess.py
=================================================================== +++ b/Lib/test/test_subprocess.py
--- Python-3.13.0a3.orig/Lib/test/test_subprocess.py @@ -280,7 +280,8 @@ class ProcessTestCase(BaseTestCase):
+++ Python-3.13.0a3/Lib/test/test_subprocess.py
@@ -281,7 +281,8 @@ class ProcessTestCase(BaseTestCase):
"time.sleep(3600)"], "time.sleep(3600)"],
# Some heavily loaded buildbots (sparc Debian 3.x) require # Some heavily loaded buildbots (sparc Debian 3.x) require
# this much time to start and print. # this much time to start and print.