1
0
forked from pool/python-rdflib

Compare commits

...

7 Commits

Author SHA256 Message Date
Ana Guerrero
0e161f8b59 Accepting request 1246400 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1246400
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=33
2025-02-18 18:08:34 +00:00
fc16eadb31 - Update to 7.1.3
* A fix-up release that re-adds support for Python 3.8 after it was
    accidentally removed in Release 7.1.2.
  * This release cherrypicks many additions to 7.1.2 added to 7.1.1 but
    leaves out typing changes that are not compatible with Python 3.8.
  * Also not carried over from 7.1.2 is the change from Poetry 1.x to 2.0.
  * Included are PRs such as _Defined Namespace warnings fix_, _sort
    longturtle blank nodes_, _deterministic longturtle serialisation_
    and _Dataset documentation improvements_.
- from version 7.1.2
  * A minor release that inadvertently removed support for Python 3.8.
    This release how now been deleted.
  * All the improved features initially made available in this release
    that were compatible with Python 3.8 have been preserved in the 7.1.3
    release. The main additions to 7.1.2 not preserved in 7.1.3 are updated
    type hints.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=74
2025-02-17 11:12:08 +00:00
Ana Guerrero
f521331b27 Accepting request 1225765 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1225765
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=32
2024-11-22 22:50:53 +00:00
b45584ca42 - Add %{?sle15_python_module_pythons}
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=72
2024-11-22 09:38:09 +00:00
Ana Guerrero
da940edf62 Accepting request 1218819 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1218819
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=31
2024-10-29 13:32:15 +00:00
a481de765f - Add sphinx8.patch to build doc with latest sphinx, gh#RDFLib/rdflib#2956
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=70
2024-10-28 13:06:21 +00:00
5da9f90f62 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=69
2024-10-28 11:50:52 +00:00
5 changed files with 64 additions and 5 deletions

View File

@ -1,3 +1,45 @@
-------------------------------------------------------------------
Fri Feb 14 07:34:18 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 7.1.3
* A fix-up release that re-adds support for Python 3.8 after it was
accidentally removed in Release 7.1.2.
* This release cherrypicks many additions to 7.1.2 added to 7.1.1 but
leaves out typing changes that are not compatible with Python 3.8.
* Also not carried over from 7.1.2 is the change from Poetry 1.x to 2.0.
* Included are PRs such as _Defined Namespace warnings fix_, _sort
longturtle blank nodes_, _deterministic longturtle serialisation_
and _Dataset documentation improvements_.
- from version 7.1.2
* A minor release that inadvertently removed support for Python 3.8.
This release how now been deleted.
* All the improved features initially made available in this release
that were compatible with Python 3.8 have been preserved in the 7.1.3
release. The main additions to 7.1.2 not preserved in 7.1.3 are updated
type hints.
-------------------------------------------------------------------
Fri Nov 22 08:39:23 UTC 2024 - ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Mon Oct 28 10:15:59 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- 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 <daniel.garcia@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-rdflib
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -27,13 +27,16 @@
# Tests don't work and cause a dependency loop with python-SPARQLWrapper
%bcond_with tests
%{?sle15_python_module_pythons}
Name: python-rdflib%{psuffix}
Version: 7.0.0
Version: 7.1.3
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 +55,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}

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9995eb8569428059b8c1affd26b25eac510d64f5043d9ce8c84e0d0036e995ae
size 4765796

3
rdflib-7.1.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f3dcb4c106a8cd9e060d92f43d593d09ebc3d07adc244f4c7315856a12e383ee
size 4867170

13
sphinx8.patch Normal file
View File

@ -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")
):