From 59303ae9d89d977c76acb997e7830f9b5e378548 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 11 Feb 2026 13:06:36 +0100 Subject: [PATCH] Use new package name for roman-numerals - Fixes: rhbz#2438819 This is the bootstrap build that was necessary due to: Problem: package python3-sphinxcontrib-websupport-1.2.7-16.fc44.noarch requires python3.14dist(sphinx) >= 5, but none of the providers can be installed - package python3-sphinx-1:8.2.3-19.fc44.noarch requires python3.14dist(roman-numerals-py) >= 1, but none of the providers can be installed - package python3-roman-numerals-4.1.0-1.fc45.noarch obsoletes python3-roman-numerals-py < 4~~ provided by python3-roman-numerals-py-3.1.0-6.fc44.noarch - cannot install the best candidate for the job - conflicting requests --- 2c3e22e3e8e743960.patch | 25 +++++++++++++++++++++++++ python-sphinx.spec | 7 ++++++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 2c3e22e3e8e743960.patch diff --git a/2c3e22e3e8e743960.patch b/2c3e22e3e8e743960.patch new file mode 100644 index 0000000..a4e305b --- /dev/null +++ b/2c3e22e3e8e743960.patch @@ -0,0 +1,25 @@ +From 6e5d24b9bbb513ce2666f12724aa5da3ab0700bb Mon Sep 17 00:00:00 2001 +From: Adam Turner <9087854+aa-turner@users.noreply.github.com> +Date: Mon, 24 Nov 2025 22:47:51 +0000 +Subject: [PATCH] Use new package name for ``roman-numerals`` + +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index 4e59e90..717c135 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -75,7 +75,7 @@ dependencies = [ + "alabaster>=0.7.14", + "imagesize>=1.3", + "requests>=2.30.0", +- "roman-numerals-py>=1.0.0", ++ "roman-numerals>=1.0.0", + "packaging>=23.0", + "colorama>=0.4.6; sys_platform == 'win32'", + ] +-- +2.53.0 + diff --git a/python-sphinx.spec b/python-sphinx.spec index 2b29abd..f058893 100644 --- a/python-sphinx.spec +++ b/python-sphinx.spec @@ -1,7 +1,7 @@ # When bootstrapping sphinx in Fedora, we don't yet have sphinxcontrib-* # Without the packages, we have warnings in docs, but it's not a hard dependency # We don't want to support sphinxcontrib-* in RHEL, hence disabling the dependencies -%bcond sphinxcontrib %{undefined rhel} +%bcond sphinxcontrib 0 # RHEL does not include python3-snowballstemmer (SRPM: snowball) %bcond snowballstemmer %{undefined rhel} # Also, we don't have all the tests requirements @@ -64,6 +64,11 @@ Patch: https://github.com/sphinx-doc/sphinx/pull/13527.patch # Compatibility with docutils 0.22+ Patch: https://github.com/sphinx-doc/sphinx/pull/13610.patch Patch: https://github.com/sphinx-doc/sphinx/pull/13883.patch +# Use new package name for roman-numerals +# Fixes https://bugzilla.redhat.com/2438819 +# https://github.com/sphinx-doc/sphinx/commit/2c3e22e3e8e743960 +# Temporary backport before we update to Sphinx 9, rebased +Patch: 2c3e22e3e8e743960.patch BuildArch: noarch