Skip to content

Commit d308f11

Browse files
update to 8b275e77d235b0e813f996173fc26eaa3484737c (nightly)
1 parent 8c24acf commit d308f11

18 files changed

+49
-31
lines changed

changelogs/nightly/focal

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
python3.11 (3.11.10-1-g8b275e77d2-1+focal1) focal; urgency=medium
2+
3+
* Update to v3.11.10-1-g8b275e77d2.
4+
5+
-- Anthony Sottile (deadsnakes) <[email protected]> Sat, 14 Sep 2024 22:19:01 +0000
6+
17
python3.11 (3.11.10-1+focal1) focal; urgency=medium
28

39
* Python 3.11.10 release.

changelogs/nightly/jammy

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
python3.11 (3.11.10-1-g8b275e77d2-1+jammy1) jammy; urgency=medium
2+
3+
* Update to v3.11.10-1-g8b275e77d2.
4+
5+
-- Anthony Sottile (deadsnakes) <[email protected]> Sat, 14 Sep 2024 22:19:02 +0000
6+
17
python3.11 (3.11.10-1+jammy1) jammy; urgency=medium
28

39
* Python 3.11.10 release.

changelogs/nightly/noble

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
python3.11 (3.11.10-1-g8b275e77d2-1+noble1) noble; urgency=medium
2+
3+
* Update to v3.11.10-1-g8b275e77d2.
4+
5+
-- Anthony Sottile (deadsnakes) <[email protected]> Sat, 14 Sep 2024 22:19:02 +0000
6+
17
python3.11 (3.11.10-1+noble1) noble; urgency=medium
28

39
* Python 3.11.10 release.

cpython

patches/argparse-no-shutil.diff

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ diff --git a/Lib/argparse.py b/Lib/argparse.py
1010
index cc7f84e..6435549 100644
1111
--- a/Lib/argparse.py
1212
+++ b/Lib/argparse.py
13-
@@ -178,9 +178,12 @@ class HelpFormatter(object):
13+
@@ -178,9 +178,12 @@ def __init__(self,
1414

1515
# default setting for width
1616
if width is None:

patches/ctypes-arm.diff

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ diff --git a/Lib/ctypes/util.py b/Lib/ctypes/util.py
1111
index c550883..e7652aa 100644
1212
--- a/Lib/ctypes/util.py
1313
+++ b/Lib/ctypes/util.py
14-
@@ -272,16 +272,27 @@ elif os.name == "posix":
14+
@@ -272,16 +272,27 @@ def find_library(name, is64 = False):
1515

1616
def _findSoname_ldconfig(name):
1717
import struct

patches/deb-locations.diff

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ diff --git a/Lib/pydoc.py b/Lib/pydoc.py
1313
index a8cfeaf..660b345 100755
1414
--- a/Lib/pydoc.py
1515
+++ b/Lib/pydoc.py
16-
@@ -31,6 +31,10 @@ to a file named "<name>.html".
16+
@@ -31,6 +31,10 @@ class or function within a module or module in a package. If the
1717

1818
Module docs for core modules are assumed to be in
1919

patches/deb-setup.diff

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ diff --git a/setup.py b/setup.py
1212
index ad8fb81..0fa1974 100644
1313
--- a/setup.py
1414
+++ b/setup.py
15-
@@ -484,8 +484,10 @@ class PyBuildExt(build_ext):
15+
@@ -484,8 +484,10 @@ def set_compiler_executables(self):
1616
# unfortunately, distutils doesn't let us provide separate C and C++
1717
# compilers
1818
if compiler is not None:
@@ -25,7 +25,7 @@ index ad8fb81..0fa1974 100644
2525
self.compiler.set_executables(**args)
2626

2727
def build_extensions(self):
28-
@@ -844,12 +846,7 @@ class PyBuildExt(build_ext):
28+
@@ -844,12 +846,7 @@ def add_ldflags_cppflags(self):
2929
add_dir_to_list(dir_list, directory)
3030

3131
def configure_compiler(self):

patches/disable-some-tests.diff

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ diff --git a/Lib/distutils/tests/test_build_ext.py b/Lib/distutils/tests/test_bu
1212
index e89dc50..a35aba4 100644
1313
--- a/Lib/distutils/tests/test_build_ext.py
1414
+++ b/Lib/distutils/tests/test_build_ext.py
15-
@@ -115,6 +115,7 @@ class BuildExtTestCase(TempdirManager,
15+
@@ -115,6 +115,7 @@ def test_xx(self):
1616
""")
1717
assert_python_ok('-c', code)
1818

patches/distutils-install-layout.diff

+11-11
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py
1818
index 01d5331..81b501e 100644
1919
--- a/Lib/distutils/command/install.py
2020
+++ b/Lib/distutils/command/install.py
21-
@@ -33,13 +33,13 @@ SCHEME_KEYS = ('purelib', 'platlib', 'headers', 'scripts', 'data')
21+
@@ -33,13 +33,13 @@
2222
# alter locations for packages installations in a single place.
2323
# Note that this module is deprecated (PEP 632); all consumers
2424
# of this information should switch to using sysconfig directly.
@@ -44,15 +44,15 @@ index 01d5331..81b501e 100644
4444
]
4545

4646
boolean_options = ['compile', 'force', 'skip-build']
47-
@@ -168,6 +171,7 @@ class install(Command):
47+
@@ -168,6 +171,7 @@ def initialize_options(self):
4848
self.exec_prefix = None
4949
self.home = None
5050
self.user = 0
5151
+ self.prefix_option = None
5252

5353
# These select only the installation base; it's up to the user to
5454
# specify the installation scheme (currently, that means supplying
55-
@@ -190,6 +194,9 @@ class install(Command):
55+
@@ -190,6 +194,9 @@ def initialize_options(self):
5656
self.install_userbase = USER_BASE
5757
self.install_usersite = USER_SITE
5858

@@ -62,15 +62,15 @@ index 01d5331..81b501e 100644
6262
self.compile = None
6363
self.optimize = None
6464

65-
@@ -436,6 +443,7 @@ class install(Command):
65+
@@ -436,6 +443,7 @@ def finalize_unix(self):
6666
self.install_base = self.install_platbase = self.home
6767
self.select_scheme("unix_home")
6868
else:
6969
+ self.prefix_option = self.prefix
7070
if self.prefix is None:
7171
if self.exec_prefix is not None:
7272
raise DistutilsOptionError(
73-
@@ -450,7 +458,26 @@ class install(Command):
73+
@@ -450,7 +458,26 @@ def finalize_unix(self):
7474

7575
self.install_base = self.prefix
7676
self.install_platbase = self.exec_prefix
@@ -175,7 +175,7 @@ diff --git a/Lib/distutils/tests/test_bdist_dumb.py b/Lib/distutils/tests/test_b
175175
index b41812b..95a49f4 100644
176176
--- a/Lib/distutils/tests/test_bdist_dumb.py
177177
+++ b/Lib/distutils/tests/test_bdist_dumb.py
178-
@@ -84,7 +84,7 @@ class BuildDumbTestCase(support.TempdirManager,
178+
@@ -84,7 +84,7 @@ def test_simple_built(self):
179179
fp.close()
180180

181181
contents = sorted(filter(None, map(os.path.basename, contents)))
@@ -188,7 +188,7 @@ diff --git a/Lib/distutils/tests/test_install.py b/Lib/distutils/tests/test_inst
188188
index c30414d..eece987 100644
189189
--- a/Lib/distutils/tests/test_install.py
190190
+++ b/Lib/distutils/tests/test_install.py
191-
@@ -205,7 +205,7 @@ class InstallTestCase(support.TempdirManager,
191+
@@ -205,7 +205,7 @@ def test_record(self):
192192
found = [os.path.basename(line) for line in content.splitlines()]
193193
expected = ['hello.py', 'hello.%s.pyc' % sys.implementation.cache_tag,
194194
'sayhi',
@@ -197,7 +197,7 @@ index c30414d..eece987 100644
197197
self.assertEqual(found, expected)
198198

199199
@requires_subprocess()
200-
@@ -239,7 +239,7 @@ class InstallTestCase(support.TempdirManager,
200+
@@ -239,7 +239,7 @@ def test_record_extensions(self):
201201

202202
found = [os.path.basename(line) for line in content.splitlines()]
203203
expected = [_make_ext_name('xx'),
@@ -210,7 +210,7 @@ diff --git a/Lib/pydoc.py b/Lib/pydoc.py
210210
index 660b345..8a38c74 100755
211211
--- a/Lib/pydoc.py
212212
+++ b/Lib/pydoc.py
213-
@@ -527,6 +527,7 @@ class Doc:
213+
@@ -527,6 +527,7 @@ def getdocloc(self, object, basedir=sysconfig.get_path('stdlib')):
214214
'marshal', 'posix', 'signal', 'sys',
215215
'_thread', 'zipimport') or
216216
(file.startswith(basedir) and
@@ -271,7 +271,7 @@ diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py
271271
index ebe3711..41a5ad6 100644
272272
--- a/Lib/sysconfig.py
273273
+++ b/Lib/sysconfig.py
274-
@@ -95,6 +95,30 @@ _INSTALL_SCHEMES = {
274+
@@ -95,6 +95,30 @@
275275
'scripts': '{base}/Scripts',
276276
'data': '{base}',
277277
},
@@ -338,7 +338,7 @@ diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py
338338
index 427f0b6..4b96486 100644
339339
--- a/Lib/test/test_site.py
340340
+++ b/Lib/test/test_site.py
341-
@@ -326,16 +326,16 @@ class HelperFunctionsTests(unittest.TestCase):
341+
@@ -326,16 +326,16 @@ def test_getsitepackages(self):
342342
if os.sep == '/':
343343
# OS X, Linux, FreeBSD, etc
344344
if sys.platlibdir != "lib":

patches/distutils-link.diff

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ diff --git a/Lib/distutils/unixccompiler.py b/Lib/distutils/unixccompiler.py
1212
index d00c489..70b4cb5 100644
1313
--- a/Lib/distutils/unixccompiler.py
1414
+++ b/Lib/distutils/unixccompiler.py
15-
@@ -155,6 +155,17 @@ class UnixCCompiler(CCompiler):
15+
@@ -155,6 +155,17 @@ def link(self, target_desc, objects,
1616
runtime_library_dirs)
1717
libraries, library_dirs, runtime_library_dirs = fixed_args
1818

patches/ext-no-libpython-link.diff

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ex
1212
index f287b34..6859303 100644
1313
--- a/Lib/distutils/command/build_ext.py
1414
+++ b/Lib/distutils/command/build_ext.py
15-
@@ -231,7 +231,7 @@ class build_ext(Command):
15+
@@ -231,7 +231,7 @@ def finalize_options(self):
1616
# For building extensions with a shared Python library,
1717
# Python's library directory must be appended to library_dirs
1818
# See Issues: #1600860, #4366

patches/lib-argparse.diff

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ diff --git a/Lib/argparse.py b/Lib/argparse.py
1212
index 2f5ecda..cc7f84e 100644
1313
--- a/Lib/argparse.py
1414
+++ b/Lib/argparse.py
15-
@@ -91,7 +91,16 @@ import sys as _sys
15+
@@ -91,7 +91,16 @@
1616

1717
import warnings
1818

patches/lib2to3-no-pickled-grammar.diff

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ diff --git a/Lib/lib2to3/tests/test_parser.py b/Lib/lib2to3/tests/test_parser.py
2727
index 8e7773b..5fdba0c 100644
2828
--- a/Lib/lib2to3/tests/test_parser.py
2929
+++ b/Lib/lib2to3/tests/test_parser.py
30-
@@ -39,88 +39,6 @@ class TestDriver(support.TestCase):
30+
@@ -39,88 +39,6 @@ def test_formfeed(self):
3131
self.assertEqual(t.children[1].children[0].type, syms.print_stmt)
3232

3333

patches/locale-module.diff

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ diff --git a/Lib/locale.py b/Lib/locale.py
1616
index f45841e..cd551d1 100644
1717
--- a/Lib/locale.py
1818
+++ b/Lib/locale.py
19-
@@ -1444,8 +1444,8 @@ locale_alias = {
19+
@@ -1444,8 +1444,8 @@ def getpreferredencoding(do_setlocale=True):
2020
'ug_cn': 'ug_CN.UTF-8',
2121
'uk': 'uk_UA.KOI8-U',
2222
'uk_ua': 'uk_UA.KOI8-U',

patches/multiarch-extname.diff

+5-5
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py
1717
index 81b501e..5f542d5 100644
1818
--- a/Lib/distutils/command/install.py
1919
+++ b/Lib/distutils/command/install.py
20-
@@ -196,6 +196,7 @@ class install(Command):
20+
@@ -196,6 +196,7 @@ def initialize_options(self):
2121

2222
# enable custom installation, known values: deb
2323
self.install_layout = None
2424
+ self.multiarch = None
2525

2626
self.compile = None
2727
self.optimize = None
28-
@@ -460,6 +461,8 @@ class install(Command):
28+
@@ -460,6 +461,8 @@ def finalize_unix(self):
2929
self.install_platbase = self.exec_prefix
3030
if self.install_layout:
3131
if self.install_layout.lower() in ['deb']:
@@ -38,23 +38,23 @@ diff --git a/Lib/distutils/command/install_lib.py b/Lib/distutils/command/instal
3838
index 6154cf0..eef6362 100644
3939
--- a/Lib/distutils/command/install_lib.py
4040
+++ b/Lib/distutils/command/install_lib.py
41-
@@ -56,6 +56,7 @@ class install_lib(Command):
41+
@@ -56,6 +56,7 @@ def initialize_options(self):
4242
self.compile = None
4343
self.optimize = None
4444
self.skip_build = None
4545
+ self.multiarch = None # if we should rename the extensions
4646

4747
def finalize_options(self):
4848
# Get all the information we need to install pure Python modules
49-
@@ -68,6 +69,7 @@ class install_lib(Command):
49+
@@ -68,6 +69,7 @@ def finalize_options(self):
5050
('compile', 'compile'),
5151
('optimize', 'optimize'),
5252
('skip_build', 'skip_build'),
5353
+ ('multiarch', 'multiarch'),
5454
)
5555

5656
if self.compile is None:
57-
@@ -108,6 +110,8 @@ class install_lib(Command):
57+
@@ -108,6 +110,8 @@ def build(self):
5858

5959
def install(self):
6060
if os.path.isdir(self.build_dir):

patches/tempfile-minimal.diff

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ diff --git a/Lib/tempfile.py b/Lib/tempfile.py
1212
index abb5f45..c23894f 100644
1313
--- a/Lib/tempfile.py
1414
+++ b/Lib/tempfile.py
15-
@@ -40,7 +40,146 @@ import functools as _functools
15+
@@ -40,7 +40,146 @@
1616
import warnings as _warnings
1717
import io as _io
1818
import os as _os
@@ -160,7 +160,7 @@ index abb5f45..c23894f 100644
160160
import stat as _stat
161161
import errno as _errno
162162
from random import Random as _Random
163-
@@ -926,7 +1065,7 @@ class TemporaryDirectory:
163+
@@ -926,7 +1065,7 @@ def onerror(func, path, exc_info):
164164
if not ignore_errors:
165165
raise
166166

patches/tkinter-import.diff

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ diff --git a/Lib/tkinter/__init__.py b/Lib/tkinter/__init__.py
1212
index 254f63f..29d6e1e 100644
1313
--- a/Lib/tkinter/__init__.py
1414
+++ b/Lib/tkinter/__init__.py
15-
@@ -35,7 +35,10 @@ import enum
15+
@@ -35,7 +35,10 @@
1616
import sys
1717
import types
1818

0 commit comments

Comments
 (0)