Skip to content

Commit 25c711a

Browse files
generatedunixname1734921407115435facebook-github-bot
authored andcommitted
Import upstream CPython branch '3.14'
Summary: Python `3.14.0rc1+` (`3.14`) was **published** on 2025-08-05 20:38:48+00:00. # Commit Info Base: (`3.14.0rc1+`) - `f4870086bac79c708ba506452b5e580bcd212d26` (commit date: 2025-08-04 13:01:39+00:00) Imported: (`3.14.0rc1+`) - `3.14` (commit date: 2025-08-05 20:38:48+00:00) Reviewed By: zsol, itamaro, jermenkoo Differential Revision: D79719545 fbshipit-source-id: c9f0df1d4c5339b61e0ede1be97c151905060dbd
1 parent 4d8ab00 commit 25c711a

3 files changed

Lines changed: 15 additions & 13 deletions

File tree

Doc/conf.py

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -566,14 +566,11 @@
566566
'image': '_static/og-image.png',
567567
'line_color': '#3776ab',
568568
}
569-
if 'builder_html' in tags: # noqa: F821
570-
ogp_custom_meta_tags = [
571-
'<meta name="theme-color" content="#3776ab">',
572-
]
573-
if 'create-social-cards' not in tags: # noqa: F821
574-
# Define a static preview image when not creating social cards
575-
ogp_image = '_static/og-image.png'
576-
ogp_custom_meta_tags += [
577-
'<meta property="og:image:width" content="200">',
578-
'<meta property="og:image:height" content="200">',
579-
]
569+
ogp_custom_meta_tags = ('<meta name="theme-color" content="#3776ab">',)
570+
if 'create-social-cards' not in tags: # noqa: F821
571+
# Define a static preview image when not creating social cards
572+
ogp_image = '_static/og-image.png'
573+
ogp_custom_meta_tags += (
574+
'<meta property="og:image:width" content="200">',
575+
'<meta property="og:image:height" content="200">',
576+
)

Doc/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ sphinx~=8.2.0
1111

1212
blurb
1313

14-
sphinxext-opengraph~=0.11.0
14+
sphinxext-opengraph~=0.12.0
1515
sphinx-notfound-page~=1.0.0
1616

1717
# The theme used by the documentation is stored separately, so we need

Lib/test/support/__init__.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,12 @@ def has_no_debug_ranges():
544544
return not bool(config['code_debug_ranges'])
545545

546546
def requires_debug_ranges(reason='requires co_positions / debug_ranges'):
547-
return unittest.skipIf(has_no_debug_ranges(), reason)
547+
try:
548+
skip = has_no_debug_ranges()
549+
except unittest.SkipTest as e:
550+
skip = True
551+
reason = e.args[0] if e.args else reason
552+
return unittest.skipIf(skip, reason)
548553

549554

550555
MS_WINDOWS = (sys.platform == 'win32')

0 commit comments

Comments
 (0)