diff --git a/Doc/conf.py b/Doc/conf.py
index 526df2dad92..61c4e7d2b57 100644
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -601,8 +601,8 @@ stable_abi_file = 'data/stable_abi.dat'
ogp_site_url = 'https://docs.python.org/3/'
ogp_site_name = 'Python documentation'
ogp_image = '_static/og-image.png'
-ogp_custom_meta_tags = [
+ogp_custom_meta_tags = (
'',
'',
'',
-]
+)
diff --git a/Doc/requirements.txt b/Doc/requirements.txt
index 2e429f46b43..7b7286429a1 100644
--- a/Doc/requirements.txt
+++ b/Doc/requirements.txt
@@ -11,7 +11,7 @@ sphinx~=8.2.0
blurb
-sphinxext-opengraph~=0.9.0
+sphinxext-opengraph~=0.12.0
sphinx-notfound-page~=1.0.0
# The theme used by the documentation is stored separately, so we need