Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-sphinx-sitemap for
openSUSE:Factory checked in at 2026-11-19 16:54:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sphinx-sitemap (Old)
and /work/SRC/openSUSE:Factory/.python-sphinx-sitemap.new.1251 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sphinx-sitemap"
Thu Nov 19 16:54:50 2026 rev:2 rq:1398528 version:2.9.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-sphinx-sitemap/python-sphinx-sitemap.changes
2026-04-23 17:13:08.709743282 +0200
+++
/work/SRC/openSUSE:Factory/.python-sphinx-sitemap.new.1251/python-sphinx-sitemap.changes
2026-11-19 16:55:10.249924946 +0100
@@ -1,0 +2,6 @@
+Thu Nov 19 00:05:08 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Add patch support-gitpython-3.2.patch:
+ * Support changes required by GitPython's new path validation.
+
+-------------------------------------------------------------------
New:
----
support-gitpython-3.2.patch
----------(New B)----------
New:
- Add patch support-gitpython-3.2.patch:
* Support changes required by GitPython's new path validation.
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-sphinx-sitemap.spec ++++++
--- /var/tmp/diff_new_pack.VgbG6Q/_old 2026-11-19 16:55:12.849035117 +0100
+++ /var/tmp/diff_new_pack.VgbG6Q/_new 2026-11-19 16:55:12.851035202 +0100
@@ -23,6 +23,8 @@
License: MIT
URL: https://github.com/jdillard/sphinx-sitemap
Source:
https://github.com/jdillard/sphinx-sitemap/archive/refs/tags/v%{version}.tar.gz#/sphinx_sitemap-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM gh#jdillard/sphinx-sitemap#127
+Patch0: support-gitpython-3.2.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
++++++ support-gitpython-3.2.patch ++++++
>From c8465d1121f8fa530a90536427848caaa5f519c5 Mon Sep 17 00:00:00 2001
From: Steve Kowalik <[email protected]>
Date: Thu, 19 Nov 2026 10:57:22 +1100
Subject: [PATCH 1/2] Move git_setup fixture to conftest
The git_setup fixture was duplicated into both test files, with the same
content, move it into conftest, and also exclude .git from
repo.index.add(), to support GitPython 3.2+ path validation.
---
tests/conftest.py | 10 ++++++++++
tests/test_parallel_mode.py | 9 ---------
tests/test_simple.py | 9 ---------
3 files changed, 10 insertions(+), 18 deletions(-)
diff --git a/tests/conftest.py b/tests/conftest.py
index 5332dce..7ae660d 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -1,5 +1,7 @@
+import os
from pathlib import Path
+from git import Repo
import pytest
import sphinx
@@ -22,3 +24,11 @@ def rootdir():
return path(__file__).parent.abspath() / "roots"
return Path(__file__).resolve().parent / "roots"
+
+
[email protected](autouse=True, scope="function")
+def git_setup(app):
+ repo = Repo.init(app.srcdir)
+ repo.index.add([p for p in os.listdir(app.srcdir) if p != ".git"])
+ repo.index.commit("test: creating git record for files")
+ yield
diff --git a/tests/test_parallel_mode.py b/tests/test_parallel_mode.py
index 88fc4fd..0a1e480 100644
--- a/tests/test_parallel_mode.py
+++ b/tests/test_parallel_mode.py
@@ -2,15 +2,6 @@
from xml.etree import ElementTree as etree
import pytest
-from git import Repo
-
-
[email protected](autouse=True, scope="function")
-def git_setup(app):
- repo = Repo.init(app.srcdir)
- repo.index.add(os.listdir(app.srcdir))
- repo.index.commit("test: creating git record for files")
- yield
@pytest.mark.sphinx(
diff --git a/tests/test_simple.py b/tests/test_simple.py
index bd58268..25ae841 100644
--- a/tests/test_simple.py
+++ b/tests/test_simple.py
@@ -2,15 +2,6 @@
from xml.etree import ElementTree as etree
import pytest
-from git import Repo
-
-
[email protected](autouse=True, scope="function")
-def git_setup(app):
- repo = Repo.init(app.srcdir)
- repo.index.add(os.listdir(app.srcdir))
- repo.index.commit("test: creating git record for files")
- yield
@pytest.mark.sphinx(
>From 223637b3f80f518911768ce9e80c1a975fd1e858 Mon Sep 17 00:00:00 2001
From: "pre-commit-ci[bot]"
<66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Wed, 18 Nov 2026 23:59:34 +0000
Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---
tests/conftest.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/conftest.py b/tests/conftest.py
index 7ae660d..e78e8aa 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -1,9 +1,9 @@
import os
from pathlib import Path
-from git import Repo
import pytest
import sphinx
+from git import Repo
pytest_plugins = "sphinx.testing.fixtures"
# Exclude 'roots' dirs for pytest test collector