public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Lumir Balhar <lbalhar@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-zope-schema] epel10: Fix compatibility with Sphinx 8 (rhbz#2329898)
Date: Thu, 19 Nov 2026 00:37:21 GMT [thread overview]
Message-ID: <179504864180.1.2340703579084676720.rpms-python-zope-schema-17e8e75617a2@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-zope-schema
Branch : epel10
Commit : 17e8e75617a25b6a6171f14c65224e61133688f6
Author : Lumir Balhar <lbalhar@redhat.com>
Date : 2024-12-03T07:38:07+01:00
Stats : +122/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-zope-schema/c/17e8e75617a25b6a6171f14c65224e61133688f6?branch=epel10
Log:
Fix compatibility with Sphinx 8 (rhbz#2329898)
---
diff --git a/python-zope-schema.spec b/python-zope-schema.spec
index 647839b..52b9770 100644
--- a/python-zope-schema.spec
+++ b/python-zope-schema.spec
@@ -3,12 +3,17 @@
Summary: Zope 3 schemas
Name: python-zope-schema
Version: 7.0.1
-Release: 9%{?dist}
+Release: 10%{?dist}
License: ZPL-2.1
BuildArch: noarch
URL: http://pypi.python.org/pypi/zope.schema
Source0: %{pypi_source %{modname}}
+# Compatibility with Sphinx 8
+# from https://github.com/zopefoundation/zope.schema/commit/c0be2d
+# Unrelated files removed
+Patch: sphinx8.patch
+
BuildRequires: python3-devel
BuildRequires: python3-setuptools
@@ -23,7 +28,7 @@ Summary: Zope 3 schemas
This package is a zope.interface extension for defining data schemas.
%prep
-%setup -q -n %{modname}-%{version}
+%autosetup -p1 -n %{modname}-%{version}
%generate_buildrequires
%pyproject_buildrequires -t
@@ -53,6 +58,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} zope-testrunner --test-path=src
%changelog
+* Tue Dec 03 2024 Lumír Balhar <lbalhar@redhat.com> - 7.0.1-10
+- Fix compatibility with Sphinx 8 (rhbz#2329898)
+
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
diff --git a/sphinx8.patch b/sphinx8.patch
new file mode 100644
index 0000000..bed893f
--- /dev/null
+++ b/sphinx8.patch
@@ -0,0 +1,112 @@
+diff --git a/docs/conf.py b/docs/conf.py
+index afba79f..4b77631 100644
+--- a/docs/conf.py
++++ b/docs/conf.py
+@@ -61,7 +61,6 @@
+ # The short X.Y version.
+ version = '.'.join(release.split('.')[:2])
+
+-
+ # The language for content autogenerated by Sphinx. Refer to documentation
+ # for a list of supported languages.
+ #language = None
+@@ -96,7 +95,6 @@
+ # A list of ignored prefixes for module index sorting.
+ #modindex_common_prefix = []
+
+-
+ # -- Options for HTML output ---------------------------------------------------
+
+ # The theme to use for HTML and HTML Help pages. See the documentation for
+@@ -176,25 +174,24 @@
+ # Output file base name for HTML help builder.
+ htmlhelp_basename = 'zopeschemadoc'
+
+-
+ # -- Options for LaTeX output --------------------------------------------------
+
+ latex_elements = {
+-# The paper size ('letterpaper' or 'a4paper').
+-#'papersize': 'letterpaper',
++ # The paper size ('letterpaper' or 'a4paper').
++ #'papersize': 'letterpaper',
+
+-# The font size ('10pt', '11pt' or '12pt').
+-#'pointsize': '10pt',
++ # The font size ('10pt', '11pt' or '12pt').
++ #'pointsize': '10pt',
+
+-# Additional stuff for the LaTeX preamble.
+-#'preamble': '',
++ # Additional stuff for the LaTeX preamble.
++ #'preamble': '',
+ }
+
+ # Grouping the document tree into LaTeX files. List of tuples
+ # (source start file, target name, title, author, documentclass [howto/manual]).
+ latex_documents = [
+- ('index', 'zopeschema.tex', u'zope.schema Documentation',
+- u'Zope Foundation Contributors', 'manual'),
++ ('index', 'zopeschema.tex', u'zope.schema Documentation',
++ u'Zope Foundation Contributors', 'manual'),
+ ]
+
+ # The name of an image file (relative to this directory) to place at the top of
+@@ -217,29 +214,25 @@
+ # If false, no module index is generated.
+ #latex_domain_indices = True
+
+-
+ # -- Options for manual page output --------------------------------------------
+
+ # One entry per manual page. List of tuples
+ # (source start file, name, description, authors, manual section).
+-man_pages = [
+- ('index', 'zopeschema', u'zope.schema Documentation',
+- [u'Zope Foundation Contributors'], 1)
+-]
++man_pages = [('index', 'zopeschema', u'zope.schema Documentation',
++ [u'Zope Foundation Contributors'], 1)]
+
+ # If true, show URL addresses after external links.
+ #man_show_urls = False
+
+-
+ # -- Options for Texinfo output ------------------------------------------------
+
+ # Grouping the document tree into Texinfo files. List of tuples
+ # (source start file, target name, title, author,
+ # dir menu entry, description, category)
+ texinfo_documents = [
+- ('index', 'zopeschema', u'zope.schema Documentation',
+- u'Zope Foundation Contributors', 'zopeschema', 'One line description of project.',
+- 'Miscellaneous'),
++ ('index', 'zopeschema', u'zope.schema Documentation',
++ u'Zope Foundation Contributors', 'zopeschema',
++ 'One line description of project.', 'Miscellaneous'),
+ ]
+
+ # Documents to append as an appendix to all manuals.
+@@ -252,14 +245,16 @@
+ #texinfo_show_urls = 'footnote'
+
+ intersphinx_mapping = {
+- 'https://docs.python.org/': None,
+- 'https://zopecomponent.readthedocs.io/en/latest': None,
++ 'python': ('https://docs.python.org/', None),
++ 'zopecomponent': ('https://zopecomponent.readthedocs.io/en/latest', None),
+ }
+
+-extlinks = {'issue': ('https://github.com/zopefoundation/zope.schema/issues/%s',
+- 'issue #'),
+- 'pr': ('https://github.com/zopefoundation/zope.schema/pull/%s',
+- 'pull request #')}
++extlinks = {
++ 'issue':
++ ('https://github.com/zopefoundation/zope.schema/issues/%s', 'issue #'),
++ 'pr':
++ ('https://github.com/zopefoundation/zope.schema/pull/%s', 'pull request #')
++}
+
+ autodoc_default_flags = ['members', 'show-inheritance']
+ autoclass_content = 'both'
reply other threads:[~2026-11-19 0:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179504864180.1.2340703579084676720.rpms-python-zope-schema-17e8e75617a2@fedoraproject.org \
--to=lbalhar@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox