- New development of new major version, update to 3.15.0~a1:

- Tools/Demos
    - gh-139330: SBOM generation tool didn’t cross-check
      the version and checksum values against the
      Modules/expat/refresh.sh script, leading to the values
      becoming out-of-date during routine updates.
    - gh-132006: XCframeworks now include privacy manifests to
      satisfy Apple App Store submission requirements.
    - gh-138171: A script for building an iOS XCframework was
      added. As part of this change, the top level iOS folder has
      been moved to be a subdirectory of the Apple folder.
    - gh-137873: The iOS test runner has been simplified,
      resolving some issues that have been observed using
      the runner in GitHub Actions and Azure Pipelines test
      environments.
    - gh-137484: Have Tools/wasm/wasi put the build Python into a
      directory named after the build triple instead of “build”.
    - gh-137025: The wasm_build.py script has been removed.
      Tools/wasm/emscripten and Tools/wasm/wasi should be used
      instead, as described in the Dev Guide.
    - gh-137248: Add a --logdir option to Tools/wasm/wasi for
      specifying where to write log files.
    - gh-137243: Have Tools/wasm/wasi detect a WASI SDK install
      in /opt when it was directly extracted from a release
      tarball.
    - gh-136251: Fixes and usability improvements for
      Tools/wasm/emscripten/web_example
    - gh-135968: Stubs for strip are now provided as part of an
      iOS install.
    - gh-135379: The cases generator no longer accepts type

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python314?expand=0&rev=109
This commit is contained in:
2025-10-24 21:59:31 +00:00
committed by Matěj Cepl
parent eb33aed2e2
commit dc71fadfa7
15 changed files with 1828 additions and 108 deletions

View File

@@ -28,10 +28,10 @@ Co-authored-by: Lumír Balhar <frenzy.madness@gmail.com>
Lib/test/test_sysconfig.py | 17 +++++++++++++--
2 files changed, 63 insertions(+), 3 deletions(-)
Index: Python-3.14.0/Lib/sysconfig/__init__.py
Index: Python-3.15.0a1/Lib/sysconfig/__init__.py
===================================================================
--- Python-3.14.0.orig/Lib/sysconfig/__init__.py 2025-10-08 11:27:28.335887277 +0200
+++ Python-3.14.0/Lib/sysconfig/__init__.py 2025-10-08 11:28:00.652215416 +0200
--- Python-3.15.0a1.orig/Lib/sysconfig/__init__.py 2025-10-24 23:53:22.709921139 +0200
+++ Python-3.15.0a1/Lib/sysconfig/__init__.py 2025-10-24 23:53:34.981019958 +0200
@@ -106,6 +106,11 @@
else:
_INSTALL_SCHEMES['venv'] = _INSTALL_SCHEMES['posix_venv']
@@ -64,7 +64,16 @@ Index: Python-3.14.0/Lib/sysconfig/__init__.py
_SCHEME_KEYS = ('stdlib', 'platstdlib', 'purelib', 'platlib', 'include',
'scripts', 'data')
@@ -259,11 +277,40 @@ def _extend_dict(target_dict, other_dict
_PY_VERSION = sys.version.split()[0]
_PY_VERSION_SHORT = f'{sys.version_info[0]}.{sys.version_info[1]}'
_PY_VERSION_SHORT_NO_DOT = f'{sys.version_info[0]}{sys.version_info[1]}'
+_PREFIX = os.path.normpath(sys.prefix)
_BASE_PREFIX = os.path.normpath(sys.base_prefix)
+_EXEC_PREFIX = os.path.normpath(sys.exec_prefix)
_BASE_EXEC_PREFIX = os.path.normpath(sys.base_exec_prefix)
# Mutex guarding initialization of _CONFIG_VARS.
_CONFIG_VARS_LOCK = threading.RLock()
@@ -257,11 +277,40 @@
target_dict[key] = value
@@ -106,11 +115,11 @@ Index: Python-3.14.0/Lib/sysconfig/__init__.py
if os.name == 'nt':
# On Windows we want to substitute 'lib' for schemes rather
# than the native value (without modifying vars, in case it
Index: Python-3.14.0/Lib/test/test_sysconfig.py
Index: Python-3.15.0a1/Lib/test/test_sysconfig.py
===================================================================
--- Python-3.14.0.orig/Lib/test/test_sysconfig.py 2025-10-08 11:27:30.181651013 +0200
+++ Python-3.14.0/Lib/test/test_sysconfig.py 2025-10-08 11:28:00.653226898 +0200
@@ -132,8 +132,19 @@
--- Python-3.15.0a1.orig/Lib/test/test_sysconfig.py 2025-10-24 23:53:24.545975205 +0200
+++ Python-3.15.0a1/Lib/test/test_sysconfig.py 2025-10-24 23:53:34.981457517 +0200
@@ -131,8 +131,19 @@
for scheme in _INSTALL_SCHEMES:
for name in _INSTALL_SCHEMES[scheme]:
expected = _INSTALL_SCHEMES[scheme][name].format(**config_vars)
@@ -131,7 +140,7 @@ Index: Python-3.14.0/Lib/test/test_sysconfig.py
os.path.normpath(expected),
)
@@ -395,7 +406,7 @@
@@ -394,7 +405,7 @@
self.assertTrue(os.path.isfile(config_h), config_h)
def test_get_scheme_names(self):
@@ -140,7 +149,7 @@ Index: Python-3.14.0/Lib/test/test_sysconfig.py
if HAS_USER_BASE:
wanted.extend(['nt_user', 'osx_framework_user', 'posix_user'])
self.assertEqual(get_scheme_names(), tuple(sorted(wanted)))
@@ -407,6 +418,8 @@
@@ -406,6 +417,8 @@
cmd = "-c", "import sysconfig; print(sysconfig.get_platform())"
self.assertEqual(py.call_real(*cmd), py.call_link(*cmd))