diff --git a/python-rdflib.changes b/python-rdflib.changes index 7cff12a..bd7da8e 100644 --- a/python-rdflib.changes +++ b/python-rdflib.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Mon Oct 28 10:15:59 UTC 2024 - Daniel Garcia + +- Add sphinx8.patch to build doc with latest sphinx, gh#RDFLib/rdflib#2956 +- Update to 7.1.1: + * This minor release removes the dependency on some only Python + packages, in particular six which is a problem for some Linux + distributions that ship RDFLib. + * Replace html5lib with html5rdf, make it an optional dependency PR #2951 + * Prevent crash when comparing ill-typed numeric types. PR #2949 + * Fix parser bug and add test PR #2943 + * Fix import ordering in get_merged_prs. PR #2947 +- 7.1.0: + * There are no major changes in this release over 7.0.0 and this + release can be used in place of 7.0.0 without much worry about + altered behaviour. + ------------------------------------------------------------------- Wed Jul 3 11:44:54 UTC 2024 - Daniel Garcia diff --git a/python-rdflib.spec b/python-rdflib.spec index 8bfc801..dbe22c2 100644 --- a/python-rdflib.spec +++ b/python-rdflib.spec @@ -28,12 +28,14 @@ # Tests don't work and cause a dependency loop with python-SPARQLWrapper %bcond_with tests Name: python-rdflib%{psuffix} -Version: 7.0.0 +Version: 7.1.1 Release: 0 Summary: A Python library for working with RDF License: BSD-3-Clause URL: http://rdflib.net/ Source: https://files.pythonhosted.org/packages/source/r/rdflib/rdflib-%{version}.tar.gz +# PATCH-FIX-UPSTREAM sphinx8.patch gh#RDFLib/rdflib#2956 -- daniel.garcia@suse.com +Patch0: sphinx8.patch BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(post): update-alternatives @@ -52,6 +54,7 @@ BuildRequires: python3-Sphinx BuildRequires: python3-myst-parser BuildRequires: python3-sphinx-autodoc-typehints BuildRequires: python3-sphinxcontrib-apidoc +BuildRequires: python3-typing_extensions Provides: %{python_module rdflib-doc = %{version}} %else BuildRequires: %{python_module base >= 3.8} diff --git a/rdflib-7.0.0.tar.gz b/rdflib-7.0.0.tar.gz deleted file mode 100644 index 574f34e..0000000 --- a/rdflib-7.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9995eb8569428059b8c1affd26b25eac510d64f5043d9ce8c84e0d0036e995ae -size 4765796 diff --git a/rdflib-7.1.1.tar.gz b/rdflib-7.1.1.tar.gz new file mode 100644 index 0000000..7bfa485 --- /dev/null +++ b/rdflib-7.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:164de86bd3564558802ca983d84f6616a4a1a420c7a17a8152f5016076b2913e +size 4864216 diff --git a/sphinx8.patch b/sphinx8.patch new file mode 100644 index 0000000..e5c01bd --- /dev/null +++ b/sphinx8.patch @@ -0,0 +1,13 @@ +Index: rdflib-7.1.1/docs/conf.py +=================================================================== +--- rdflib-7.1.1.orig/docs/conf.py ++++ rdflib-7.1.1/docs/conf.py +@@ -300,7 +300,7 @@ def autodoc_skip_member_handler( + """ + # https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html#event-autodoc-skip-member + if ( +- app.env.docname == "apidocs/rdflib" ++ app.env.docname in ["apidocs/rdflib", "apidocs/rdflib.namespace"] + and what == "module" + and type(obj).__name__.endswith("DefinedNamespaceMeta") + ):