Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-Sphinx for openSUSE:Factory checked in at 2023-01-30 17:09:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Sphinx (Old) and /work/SRC/openSUSE:Factory/.python-Sphinx.new.32243 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Sphinx" Mon Jan 30 17:09:56 2023 rev:93 rq:1061917 version:6.1.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Sphinx/python-Sphinx.changes 2023-01-15 17:57:56.786124675 +0100 +++ /work/SRC/openSUSE:Factory/.python-Sphinx.new.32243/python-Sphinx.changes 2023-01-30 17:12:34.952979432 +0100 @@ -1,0 +2,6 @@ +Sun Jan 29 18:59:21 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- add alabaster-0713-compat.patch to fix testsuite failure with + newer alabaster theme. + +------------------------------------------------------------------- New: ---- alabaster-0713-compat.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Sphinx.spec ++++++ --- /var/tmp/diff_new_pack.yYZDWY/_old 2023-01-30 17:12:35.416981945 +0100 +++ /var/tmp/diff_new_pack.yYZDWY/_new 2023-01-30 17:12:35.420981967 +0100 @@ -42,6 +42,8 @@ Source4: readthedocs.inv Source5: update-intersphinx.sh Source99: python-Sphinx.keyring +# PATCH-FIX-UPSTREAM: Update test_config.py::test_needs_sphinx for Alabaster 0.7.13 compat +Patch1: alabaster-0713-compat.patch BuildRequires: %{python_module base} BuildRequires: %{python_module flit-core} BuildRequires: %{python_module pip} @@ -299,7 +301,8 @@ %if ! %{with test} %post -%{python_install_alternative sphinx-apidoc sphinx-autogen sphinx-build sphinx-quickstart} +%python_install_alternative sphinx-apidoc sphinx-autogen sphinx-build sphinx-quickstart +: %postun %python_uninstall_alternative sphinx-apidoc ++++++ alabaster-0713-compat.patch ++++++ >From 0fcd3596630b26490c4ea1999634f9f057b2244b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20B?= <2589111+j...@users.noreply.github.com> Date: Sat, 21 Jan 2023 11:10:26 +0100 Subject: [PATCH] Update test_config.py::test_needs_sphinx for Alabaster 0.7.13 compat Relates #11145 --- tests/test_config.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/test_config.py b/tests/test_config.py index d31fae11329..b0e2112a5e2 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -163,20 +163,20 @@ def _make_app(*args, **kw): return _make_app -@mock.patch.object(sphinx, '__display_version__', '1.3.4') +@mock.patch.object(sphinx, '__display_version__', '1.6.4') def test_needs_sphinx(make_app_with_empty_project): make_app = make_app_with_empty_project # micro version - make_app(confoverrides={'needs_sphinx': '1.3.3'}) # OK: less - make_app(confoverrides={'needs_sphinx': '1.3.4'}) # OK: equals + make_app(confoverrides={'needs_sphinx': '1.6.3'}) # OK: less + make_app(confoverrides={'needs_sphinx': '1.6.4'}) # OK: equals with pytest.raises(VersionRequirementError): - make_app(confoverrides={'needs_sphinx': '1.3.5'}) # NG: greater + make_app(confoverrides={'needs_sphinx': '1.6.5'}) # NG: greater # minor version - make_app(confoverrides={'needs_sphinx': '1.2'}) # OK: less - make_app(confoverrides={'needs_sphinx': '1.3'}) # OK: equals + make_app(confoverrides={'needs_sphinx': '1.5'}) # OK: less + make_app(confoverrides={'needs_sphinx': '1.6'}) # OK: equals with pytest.raises(VersionRequirementError): - make_app(confoverrides={'needs_sphinx': '1.4'}) # NG: greater + make_app(confoverrides={'needs_sphinx': '1.7'}) # NG: greater # major version make_app(confoverrides={'needs_sphinx': '0'}) # OK: less