Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-sphinxcontrib-youtube for 
openSUSE:Factory checked in at 2026-04-26 21:11:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sphinxcontrib-youtube (Old)
 and      /work/SRC/openSUSE:Factory/.python-sphinxcontrib-youtube.new.11940 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-sphinxcontrib-youtube"

Sun Apr 26 21:11:36 2026 rev:3 rq:1349302 version:1.5.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-sphinxcontrib-youtube/python-sphinxcontrib-youtube.changes
        2023-12-04 23:02:45.770382824 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-sphinxcontrib-youtube.new.11940/python-sphinxcontrib-youtube.changes
     2026-04-26 21:14:17.968741760 +0200
@@ -1,0 +2,9 @@
+Sat Apr 25 21:51:41 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 1.5.0:
+  * replace obsolete sphinx.testing.path with pathlib
+  * Use string for status indicator during LaTeX image download
+  * Fix/youtube refer
+  * ubuntu and python update
+
+-------------------------------------------------------------------

Old:
----
  sphinxcontrib_youtube-1.4.1.tar.gz

New:
----
  sphinxcontrib_youtube-1.5.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-sphinxcontrib-youtube.spec ++++++
--- /var/tmp/diff_new_pack.x1200T/_old  2026-04-26 21:14:18.484762843 +0200
+++ /var/tmp/diff_new_pack.x1200T/_new  2026-04-26 21:14:18.488763007 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-sphinxcontrib-youtube
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-sphinxcontrib-youtube
-Version:        1.4.1
+Version:        1.5.0
 Release:        0
 Summary:        Sphinx "youtube" extension
 License:        BSD-3-Clause
@@ -29,11 +29,11 @@
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-Sphinx >= 6.1
+Requires:       python-Sphinx >= 7.2
 Requires:       python-requests
 BuildArch:      noarch
 # SECTION test requirements
-BuildRequires:  %{python_module Sphinx >= 6.1}
+BuildRequires:  %{python_module Sphinx >= 7.2}
 BuildRequires:  %{python_module requests}
 # /SECTION
 %python_subpackages

++++++ sphinxcontrib_youtube-1.4.1.tar.gz -> sphinxcontrib_youtube-1.5.0.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sphinxcontrib_youtube-1.4.1/PKG-INFO 
new/sphinxcontrib_youtube-1.5.0/PKG-INFO
--- old/sphinxcontrib_youtube-1.4.1/PKG-INFO    1970-01-01 01:00:00.000000000 
+0100
+++ new/sphinxcontrib_youtube-1.5.0/PKG-INFO    1970-01-01 01:00:00.000000000 
+0100
@@ -1,6 +1,6 @@
-Metadata-Version: 2.1
+Metadata-Version: 2.4
 Name: sphinxcontrib-youtube
-Version: 1.4.1
+Version: 1.5.0
 Summary: Sphinx "youtube" extension.
 Author-email: Chris Pickel <[email protected]>
 Maintainer-email: "David A. Ham" <[email protected]>
@@ -15,7 +15,8 @@
 Classifier: Programming Language :: Python
 Classifier: Topic :: Documentation
 Classifier: Topic :: Utilities
-Requires-Dist: Sphinx>=6.1
+License-File: LICENCE
+Requires-Dist: Sphinx>=7.2
 Requires-Dist: requests
 Requires-Dist: nox ; extra == "dev"
 Requires-Dist: sphinx-copybutton ; extra == "doc"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sphinxcontrib_youtube-1.4.1/pyproject.toml 
new/sphinxcontrib_youtube-1.5.0/pyproject.toml
--- old/sphinxcontrib_youtube-1.4.1/pyproject.toml      2023-09-22 
13:10:58.217758400 +0200
+++ new/sphinxcontrib_youtube-1.5.0/pyproject.toml      2026-04-01 
15:44:28.031229300 +0200
@@ -23,7 +23,7 @@
     "Topic :: Documentation",
     "Topic :: Utilities",
 ]
-dependencies = ["Sphinx>=6.1", "requests"]
+dependencies = ["Sphinx>=7.2", "requests"]
 
 [project.readme]
 content-type = "text/plain"
@@ -41,15 +41,14 @@
 test = ["pytest", "beautifulsoup4", "pytest-regressions", "pytest-cov"]
 
 [tool.ruff]
-ignore-init-module-imports = true
 fix = true
-select = ["E", "F", "W", "I", "D", "RUF"]
-ignore = ["E501"]  # line too long | Black take care of it
+lint.select = ["E", "F", "W", "I", "D", "RUF"]
+lint.ignore = ["E501"]  # line too long | Black take care of it
 
-[tool.ruff.flake8-quotes]
+[tool.ruff.lint.flake8-quotes]
 docstring-quotes = "double"
 
-[tool.ruff.pydocstyle]
+[tool.ruff.lint.pydocstyle]
 convention = "google"
 
 [tool.coverage.run]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sphinxcontrib_youtube-1.4.1/sphinxcontrib/youtube/__init__.py 
new/sphinxcontrib_youtube-1.5.0/sphinxcontrib/youtube/__init__.py
--- old/sphinxcontrib_youtube-1.4.1/sphinxcontrib/youtube/__init__.py   
2023-09-22 13:10:30.837263300 +0200
+++ new/sphinxcontrib_youtube-1.5.0/sphinxcontrib/youtube/__init__.py   
2026-04-01 15:44:28.031559700 +0200
@@ -1,7 +1,8 @@
 """Sphinx "youtube" extension."""
+
 from . import peertube, utils, vimeo, youtube
 
-__version__ = "1.4.1"
+__version__ = "1.5.0"
 
 
 def setup(app):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sphinxcontrib_youtube-1.4.1/sphinxcontrib/youtube/peertube.py 
new/sphinxcontrib_youtube-1.5.0/sphinxcontrib/youtube/peertube.py
--- old/sphinxcontrib_youtube-1.4.1/sphinxcontrib/youtube/peertube.py   
2023-09-18 13:03:15.836960300 +0200
+++ new/sphinxcontrib_youtube-1.5.0/sphinxcontrib/youtube/peertube.py   
2026-04-01 15:08:28.126993000 +0200
@@ -1,5 +1,7 @@
 """Directive dedicated to the peertube platform."""
 
+from typing import ClassVar
+
 from docutils.parsers.rst import directives
 
 from . import utils
@@ -22,7 +24,7 @@
     _platform_url = "peertube.tv"
 
     # optional options available
-    option_spec = {
+    option_spec: ClassVar = {
         "width": directives.unchanged,
         "height": directives.unchanged,
         "aspect": directives.unchanged,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sphinxcontrib_youtube-1.4.1/sphinxcontrib/youtube/utils.py 
new/sphinxcontrib_youtube-1.5.0/sphinxcontrib/youtube/utils.py
--- old/sphinxcontrib_youtube-1.4.1/sphinxcontrib/youtube/utils.py      
2023-09-18 13:03:15.840361600 +0200
+++ new/sphinxcontrib_youtube-1.5.0/sphinxcontrib/youtube/utils.py      
2026-04-01 15:08:28.127186000 +0200
@@ -2,12 +2,12 @@
 
 import re
 from pathlib import Path
+from typing import ClassVar
 
 import requests
 from docutils import nodes
 from docutils.parsers.rst import Directive, directives
 from sphinx.util import logging
-from sphinx.util.console import brown
 from sphinx.util.display import status_iterator
 
 logger = logging.getLogger(__name__)
@@ -65,7 +65,7 @@
     required_arguments = 1
     optional_arguments = 0
     final_argument_whitespace = False
-    option_spec = {
+    option_spec: ClassVar = {
         "width": directives.unchanged,
         "height": directives.unchanged,
         "aspect": directives.unchanged,
@@ -124,7 +124,7 @@
 # -- builder specific methods 
--------------------------------------------------
 
 
-def visit_video_node_html(self, node, platform_url_privacy=None):
+def visit_video_node_html(self, node, platform_url_privacy=None, 
additional_attr={}):
     """Visit html video node."""
     aspect = node["aspect"]
     width = node["width"]
@@ -157,6 +157,7 @@
         attrs = {
             "src": "{}{}{}".format(platform_url, node["id"], url_parameters),
             "style": css(style),
+            **additional_attr,
         }
     else:
         if width is None:
@@ -174,6 +175,7 @@
         attrs = {
             "src": "{}{}{}".format(platform_url, node["id"], url_parameters),
             "style": css(style),
+            **additional_attr,
         }
     if node["align"] is not None:
         div_style["text-align"] = node["align"]
@@ -261,7 +263,7 @@
     )
     msg = "Downloading remote images..."
     nb_images = len(env.video_remote_images)
-    for src in iterator(env.video_remote_images, msg, brown, nb_images):
+    for src in iterator(env.video_remote_images, msg, "brown", nb_images):
 
         dst = Path(app.outdir) / env.video_remote_images[src]
         if not dst.is_file():
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sphinxcontrib_youtube-1.4.1/sphinxcontrib/youtube/youtube.py 
new/sphinxcontrib_youtube-1.5.0/sphinxcontrib/youtube/youtube.py
--- old/sphinxcontrib_youtube-1.4.1/sphinxcontrib/youtube/youtube.py    
2023-09-18 13:02:49.170686200 +0200
+++ new/sphinxcontrib_youtube-1.5.0/sphinxcontrib/youtube/youtube.py    
2026-04-01 15:08:28.127336500 +0200
@@ -23,7 +23,11 @@
     privacy = "https://www.youtube-nocookie.com/embed/";
     embed = "https://www.youtube.com/embed/";
     node["platform_url"] = embed if node["privacy_mode"] is None else privacy
-    return utils.visit_video_node_html(self, node)
+    return utils.visit_video_node_html(
+        self,
+        node,
+        additional_attr={"referrerpolicy": "strict-origin-when-cross-origin"},
+    )
 
 
 _NODE_VISITORS = utils._NODE_VISITORS.copy()

Reply via email to