Thanks to visit codestin.com
Credit goes to git.launchpad.net

summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMatthias Klose <[email protected]>2026-09-02 20:17:52 +0200
committergit-ubuntu importer <[email protected]>2026-09-02 22:46:32 +0000
commitf2fb9bfcb3da268434d83fedf14b576efc5d3d7a (patch)
tree1713f59166d38598f67405a3fb9bcb3ecafa31be /debian
parent14bd1643ce183f4934e904325e1ea893f525be83 (diff)
Imported using git-ubuntu import.
Notes
Notes: * Python 3.15.0 release candidate 2. - Addresses CVE-2026-19672, CVE-2026-17084, CVE-2026-15806, CVE-2026-15310. * Refresh patches. * Disable the module-install-* autopkg tests for now. * Update symbols file.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog10
-rw-r--r--debian/libpython.symbols.in1
-rw-r--r--debian/patches/build-info-multiarch.patch8
-rw-r--r--debian/patches/disable-sem-check.diff2
-rw-r--r--debian/patches/distutils-install-layout.diff8
-rw-r--r--debian/patches/ensurepip-disabled.diff8
-rw-r--r--debian/patches/link-opt.diff4
-rw-r--r--debian/patches/min-difflib-argparse.diff2
-rw-r--r--debian/patches/multiarch.diff4
-rw-r--r--debian/tests/control56
10 files changed, 57 insertions, 46 deletions
diff --git a/debian/changelog b/debian/changelog
index bc9c487..0076650 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+python3.15 (3.15.0~rc2-1) unstable; urgency=medium
+
+ * Python 3.15.0 release candidate 2.
+ - Addresses CVE-2026-19672, CVE-2026-17084, CVE-2026-15806, CVE-2026-15310.
+ * Refresh patches.
+ * Disable the module-install-* autopkg tests for now.
+ * Update symbols file.
+
+ -- Matthias Klose <[email protected]> Wed, 02 Sep 2026 20:17:52 +0200
+
python3.15 (3.15.0~rc1-1) unstable; urgency=medium
* Python 3.15.0 release candidate 1.
diff --git a/debian/libpython.symbols.in b/debian/libpython.symbols.in
index 56cad97..5beb277 100644
--- a/debian/libpython.symbols.in
+++ b/debian/libpython.symbols.in
@@ -1926,6 +1926,7 @@
_Py_DumpStack@Base @SVER@
_Py_EllipsisObject@Base @SVER@
_Py_EncodeLocaleEx@Base @SVER@
+ (optional=jit)_Py_ExecutorDetach@Base @SVER@
(optional=jit)_Py_Executor_DependsOn@Base @SVER@
(optional=jit)_Py_Executors_InvalidateAll@Base @SVER@
(optional=jit)_Py_Executors_InvalidateCold@Base @SVER@
diff --git a/debian/patches/build-info-multiarch.patch b/debian/patches/build-info-multiarch.patch
index 1ea4cb6..8abe8a9 100644
--- a/debian/patches/build-info-multiarch.patch
+++ b/debian/patches/build-info-multiarch.patch
@@ -5,7 +5,7 @@ Bug-Debian: https://bugs.debian.org/1121810
Bug-Upstream: https://github.com/python/steering-council/issues/341
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
-@@ -818,11 +818,11 @@
+@@ -818,11 +818,11 @@ list-targets:
.PHONY: build_all
build_all: check-clean-src check-app-store-compliance $(BUILDPYTHON) platform sharedmods \
@@ -19,7 +19,7 @@ Bug-Upstream: https://github.com/python/steering-council/issues/341
.PHONY: build_emscripten
build_emscripten: build_wasm web_example web_example_pyrepl_jspi
-@@ -1033,8 +1033,8 @@
+@@ -1033,8 +1033,8 @@ pybuilddir.txt: $(PYTHON_FOR_BUILD_DEPS)
exit 1 ; \
fi
@@ -30,7 +30,7 @@ Bug-Upstream: https://github.com/python/steering-council/issues/341
# Build static library
$(LIBRARY): $(LIBRARY_OBJS)
-@@ -2460,7 +2460,7 @@
+@@ -2440,7 +2440,7 @@ multissltest: all
# Only the main install gets a build-details.json.
.PHONY: install
install: @FRAMEWORKINSTALLFIRST@ @INSTALLTARGETS@ @FRAMEWORKINSTALLLAST@
@@ -41,7 +41,7 @@ Bug-Upstream: https://github.com/python/steering-council/issues/341
upgrade) ensurepip="--upgrade" ;; \
--- a/Lib/test/test_build_details.py
+++ b/Lib/test/test_build_details.py
-@@ -130,7 +130,7 @@
+@@ -130,7 +130,7 @@ class CPythonBuildDetailsTests(unittest.
dirname = os.path.join(projectdir, f.read())
else:
dirname = sysconfig.get_path('stdlib')
diff --git a/debian/patches/disable-sem-check.diff b/debian/patches/disable-sem-check.diff
index 907284a..05fe505 100644
--- a/debian/patches/disable-sem-check.diff
+++ b/debian/patches/disable-sem-check.diff
@@ -8,7 +8,7 @@ Forwarded: not-needed
--- a/configure.ac
+++ b/configure.ac
-@@ -6483,10 +6483,15 @@
+@@ -6487,10 +6487,15 @@ AC_CACHE_CHECK([whether POSIX semaphores
[ac_cv_posix_semaphores_enabled=yes])
)
AS_VAR_IF([ac_cv_posix_semaphores_enabled], [no], [
diff --git a/debian/patches/distutils-install-layout.diff b/debian/patches/distutils-install-layout.diff
index 3951a85..4ca5d36 100644
--- a/debian/patches/distutils-install-layout.diff
+++ b/debian/patches/distutils-install-layout.diff
@@ -34,7 +34,7 @@ Forwarded: not-needed
If a file named "pyvenv.cfg" exists one directory above sys.executable,
sys.prefix and sys.exec_prefix are set to that directory and
it is also checked for site-packages (sys.base_prefix and
-@@ -742,6 +748,8 @@
+@@ -748,6 +754,8 @@ def getsitepackages(prefixes=None):
if prefixes is None:
prefixes = PREFIXES
@@ -43,7 +43,7 @@ Forwarded: not-needed
for prefix in prefixes:
if not prefix or prefix in seen:
continue
-@@ -758,10 +766,21 @@
+@@ -764,10 +772,21 @@ def getsitepackages(prefixes=None):
if sys.platlibdir != "lib":
libdirs.append("lib")
@@ -68,7 +68,7 @@ Forwarded: not-needed
sitepackages.append(prefix)
--- a/Lib/test/test_site.py
+++ b/Lib/test/test_site.py
-@@ -337,16 +337,16 @@
+@@ -354,16 +354,16 @@ class HelperFunctionsTests(unittest.Test
if os.sep == '/':
# OS X, Linux, FreeBSD, etc
if sys.platlibdir != "lib":
@@ -92,7 +92,7 @@ Forwarded: not-needed
# other platforms
--- a/Lib/pydoc.py
+++ b/Lib/pydoc.py
-@@ -554,7 +554,7 @@
+@@ -554,7 +554,7 @@ class Doc:
'marshal', 'posix', 'signal', 'sys',
'_thread', 'zipimport')
or (file.startswith(basedir) and
diff --git a/debian/patches/ensurepip-disabled.diff b/debian/patches/ensurepip-disabled.diff
index 23b51d9..6e822e3 100644
--- a/debian/patches/ensurepip-disabled.diff
+++ b/debian/patches/ensurepip-disabled.diff
@@ -6,7 +6,7 @@ Forwarded: not-needed
--- a/Lib/ensurepip/__init__.py
+++ b/Lib/ensurepip/__init__.py
-@@ -8,6 +8,34 @@
+@@ -8,6 +8,34 @@ from importlib import resources
from pathlib import Path
from shutil import copy2
@@ -40,8 +40,8 @@ Forwarded: not-needed
+
__all__ = ["version", "bootstrap"]
- _PIP_VERSION = "26.2"
-@@ -140,6 +168,11 @@
+ _PIP_VERSION = "26.2.1"
+@@ -140,6 +168,11 @@ def _bootstrap(*, root=None, upgrade=Fal
"to install pip."
) from None
@@ -55,7 +55,7 @@ Forwarded: not-needed
--- a/Lib/venv/__init__.py
+++ b/Lib/venv/__init__.py
-@@ -451,8 +451,26 @@
+@@ -451,8 +451,26 @@ class EnvBuilder:
def _setup_pip(self, context):
"""Installs or upgrades pip in a virtual environment"""
diff --git a/debian/patches/link-opt.diff b/debian/patches/link-opt.diff
index 895c735..2c6e06b 100644
--- a/debian/patches/link-opt.diff
+++ b/debian/patches/link-opt.diff
@@ -7,7 +7,7 @@ Forwarded: no
--- a/configure.ac
+++ b/configure.ac
-@@ -3657,8 +3657,8 @@
+@@ -3661,8 +3661,8 @@ then
LDSHARED='$(CC) -shared'
LDCXXSHARED='$(CXX) -shared';;
Linux*|GNU*|QNX*|VxWorks*|Haiku*)
@@ -18,7 +18,7 @@ Forwarded: no
FreeBSD*)
if [[ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]]
then
-@@ -3770,7 +3770,7 @@
+@@ -3774,7 +3774,7 @@ then
LINKFORSHARED="-Wl,-E -Wl,+s";;
# LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";;
Linux-android*) LINKFORSHARED="-pie -Xlinker -export-dynamic";;
diff --git a/debian/patches/min-difflib-argparse.diff b/debian/patches/min-difflib-argparse.diff
index d771b65..144cf6c 100644
--- a/debian/patches/min-difflib-argparse.diff
+++ b/debian/patches/min-difflib-argparse.diff
@@ -4,7 +4,7 @@ Description: Debian: Degrade argparse gracefully without difflib
Forwarded: not-needed
--- a/Lib/argparse.py
+++ b/Lib/argparse.py
-@@ -2824,8 +2824,12 @@
+@@ -2827,8 +2827,12 @@ class ArgumentParser(_AttributeHolder, _
if self.suggest_on_error and isinstance(value, str):
if all(isinstance(choice, str) for choice in action.choices):
diff --git a/debian/patches/multiarch.diff b/debian/patches/multiarch.diff
index 995ba9b..0a414d8 100644
--- a/debian/patches/multiarch.diff
+++ b/debian/patches/multiarch.diff
@@ -7,7 +7,7 @@ Forwarded: no
--- a/Lib/sysconfig/__init__.py
+++ b/Lib/sysconfig/__init__.py
-@@ -597,6 +597,12 @@
+@@ -597,6 +597,12 @@ def _init_config_vars():
# e.g., 't' for free-threaded or '' for default build
_CONFIG_VARS['abi_thread'] = 't' if _CONFIG_VARS.get('Py_GIL_DISABLED') else ''
@@ -22,7 +22,7 @@ Forwarded: no
if os.name == 'posix':
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
-@@ -2026,6 +2026,7 @@
+@@ -2006,6 +2006,7 @@ Python/interpconfig.o: $(srcdir)/Python/
Python/dynload_shlib.o: $(srcdir)/Python/dynload_shlib.c Makefile
$(CC) -c $(PY_CORE_CFLAGS) \
diff --git a/debian/tests/control b/debian/tests/control
index 9860fa2..bafd435 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -50,34 +50,34 @@ Depends: build-essential,
# need to turn off apport
Restrictions: needs-root, allow-stderr
-Tests: module-install-local
-Depends: build-essential,
- python3.15-dev,
- python3-pip,
- python3-setuptools,
- shunit2,
-Restrictions: needs-root, allow-stderr
+#Tests: module-install-local
+#Depends: build-essential,
+# python3.15-dev,
+# python3-pip,
+# python3-setuptools,
+# shunit2,
+#Restrictions: needs-root, allow-stderr
-Tests: module-install-user
-Depends: build-essential,
- python3.15-dev,
- python3-pip,
- python3-setuptools,
- shunit2
-Restrictions: allow-stderr
+#Tests: module-install-user
+#Depends: build-essential,
+# python3.15-dev,
+# python3-pip,
+# python3-setuptools,
+# shunit2
+#Restrictions: allow-stderr
-Tests: module-install-venv
-Depends: build-essential,
- python3.15-dev,
- python3.15-venv,
- python3-setuptools-whl (>= 70.1),
- shunit2
-Restrictions: allow-stderr
+#Tests: module-install-venv
+#Depends: build-essential,
+# python3.15-dev,
+# python3.15-venv,
+# python3-setuptools-whl (>= 70.1),
+# shunit2
+#Restrictions: allow-stderr
-Tests: module-install-virtualenv
-Depends: build-essential,
- python3.15-dev,
- shunit2,
- virtualenv,
- python3-setuptools-whl (>= 70.1)
-Restrictions: allow-stderr
+#Tests: module-install-virtualenv
+#Depends: build-essential,
+# python3.15-dev,
+# shunit2,
+# virtualenv,
+# python3-setuptools-whl (>= 70.1)
+#Restrictions: allow-stderr