From 1736526023a3e616d1530815880bb3b28e3433c3 Mon Sep 17 00:00:00 2001 From: Ibrahim Shaqqou <101660458+IbrahimShaqqou@users.noreply.github.com> Date: Fri, 17 Jul 2026 14:51:37 -0400 Subject: [PATCH 1/4] gh-153853: Fix parameter name of calendar.setfirstweekday() in docs (#153851) --- Doc/library/calendar.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/calendar.rst b/Doc/library/calendar.rst index 31faa8c4fb43dc6..60cd214b4501010 100644 --- a/Doc/library/calendar.rst +++ b/Doc/library/calendar.rst @@ -365,7 +365,7 @@ interpreted as prescribed by the ISO 8601 standard. Year 0 is 1 BC, year -1 is For simple text calendars this module provides the following functions. -.. function:: setfirstweekday(weekday) +.. function:: setfirstweekday(firstweekday) Sets the weekday (``0`` is Monday, ``6`` is Sunday) to start each week. The values :const:`MONDAY`, :const:`TUESDAY`, :const:`WEDNESDAY`, :const:`THURSDAY`, From 34f109db9579fe5f597d8b00653e905b40590410 Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Fri, 17 Jul 2026 23:48:26 +0200 Subject: [PATCH 2/4] gh-152023: Update macOS installer builds to SQLite 3.53.3 (#153867) Enable median() and percentile() functions. --- Mac/BuildScript/build-installer.py | 7 ++++--- .../macOS/2026-07-17-23-20-27.gh-issue-152023.QAAgdj.rst | 2 ++ 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 Misc/NEWS.d/next/macOS/2026-07-17-23-20-27.gh-issue-152023.QAAgdj.rst diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py index 394e42439f7710e..b0756b681994e70 100755 --- a/Mac/BuildScript/build-installer.py +++ b/Mac/BuildScript/build-installer.py @@ -359,13 +359,14 @@ def library_recipes(): ), ), dict( - name="SQLite 3.53.2", - url="https://www.sqlite.org/2026/sqlite-autoconf-3530200.tar.gz", - checksum="588ad51949419a56ebe81fe56193d510c559eb94c9a57748387860b5d3069316", + name="SQLite 3.53.3", + url="https://www.sqlite.org/2026/sqlite-autoconf-3530300.tar.gz", + checksum="c917d7db16648ec95f714974ace5e5dcf46b7dc70e26600a0a102a3141125db0", extra_cflags=('-Os ' '-DSQLITE_ENABLE_FTS5 ' '-DSQLITE_ENABLE_FTS4 ' '-DSQLITE_ENABLE_FTS3_PARENTHESIS ' + '-DSQLITE_ENABLE_PERCENTILE ' '-DSQLITE_ENABLE_RTREE ' '-DSQLITE_OMIT_AUTOINIT ' '-DSQLITE_TCL=0 ' diff --git a/Misc/NEWS.d/next/macOS/2026-07-17-23-20-27.gh-issue-152023.QAAgdj.rst b/Misc/NEWS.d/next/macOS/2026-07-17-23-20-27.gh-issue-152023.QAAgdj.rst new file mode 100644 index 000000000000000..afabb3d52249708 --- /dev/null +++ b/Misc/NEWS.d/next/macOS/2026-07-17-23-20-27.gh-issue-152023.QAAgdj.rst @@ -0,0 +1,2 @@ +Update macOS installer builds to SQLite 3.53.3. Enable median() and +percentile() functions. From a4c19f5323e9b16556388926fd804366d0112690 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Sat, 18 Jul 2026 00:59:27 +0300 Subject: [PATCH 3/4] Skip curses tests when scr_dump()/is_keypad() are unavailable (GH-153866) test_scr_dump() and test_state_getters() errored instead of skipping on builds without scr_dump(), is_keypad() or is_leaveok() (e.g. some narrow ncurses, NetBSD, PDCurses). Co-authored-by: Claude Opus 4.8 --- Lib/test/test_curses.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Lib/test/test_curses.py b/Lib/test/test_curses.py index b99e4efbb83ce41..3ba79be789cf3e5 100644 --- a/Lib/test/test_curses.py +++ b/Lib/test/test_curses.py @@ -1364,6 +1364,7 @@ def test_putwin(self): self.assertEqual(win.getmaxyx(), (5, 12)) self.assertEqual(win.instr(2, 0), b' Lorem ipsum') + @requires_curses_func('scr_dump') def test_scr_dump(self): # Test scr_dump(), scr_restore(), scr_init() and scr_set(). # scr_dump() writes the virtual screen to a named file; the other three @@ -1722,6 +1723,9 @@ def test_state_getters(self): ('notimeout', 'is_notimeout'), ('scrollok', 'is_scrollok'), ]: + # is_keypad()/is_leaveok() are not available in every curses build. + if not hasattr(stdscr, getter): + continue getattr(stdscr, setter)(True) self.assertIs(getattr(stdscr, getter)(), True) getattr(stdscr, setter)(False) From d478cf81f770168e3fb512ce110a88774f04f549 Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Sat, 18 Jul 2026 00:14:40 +0200 Subject: [PATCH 4/4] gh-124111: Update macOS installer to use Tcl/Tk 9.0.4. (#153868) --- Mac/BuildScript/build-installer.py | 6 +++--- .../macOS/2026-07-17-23-35-36.gh-issue-124111.dmM4lk.rst | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 Misc/NEWS.d/next/macOS/2026-07-17-23-35-36.gh-issue-124111.dmM4lk.rst diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py index b0756b681994e70..16ad3fd111f65d6 100755 --- a/Mac/BuildScript/build-installer.py +++ b/Mac/BuildScript/build-installer.py @@ -264,10 +264,10 @@ def library_recipes(): tk_patches = ['backport_gh71383_fix.patch', 'tk868_on_10_8_10_9.patch', 'backport_gh110950_fix.patch'] else: - tcl_tk_ver='9.0.3' - tcl_checksum='2537ba0c86112c8c953f7c09d33f134dd45c0fb3a71f2d7f7691fd301d2c33a6' + tcl_tk_ver='9.0.4' + tcl_checksum='d0aed49230bc02a65c1e0229e65f34590a4b037ec40d546f32573b467f7551ea' - tk_checksum='bf344efadb618babb7933f69275620f72454d1c8220130da93e3f7feb0efbf9b' + tk_checksum='d7a146d2917eb8b5cc95276dbf0e3d03c7464d2b19c1675357857c989301dbb4' tk_patches = [] diff --git a/Misc/NEWS.d/next/macOS/2026-07-17-23-35-36.gh-issue-124111.dmM4lk.rst b/Misc/NEWS.d/next/macOS/2026-07-17-23-35-36.gh-issue-124111.dmM4lk.rst new file mode 100644 index 000000000000000..48ab66407831a86 --- /dev/null +++ b/Misc/NEWS.d/next/macOS/2026-07-17-23-35-36.gh-issue-124111.dmM4lk.rst @@ -0,0 +1 @@ +Update macOS installer to use Tcl/Tk 9.0.4.