1
0
forked from pool/python-rdflib

65 Commits

Author SHA256 Message Date
7cbf6c2d8d Accepting request 1291244 from devel:languages:python
- Convert to libalternatives

- Add reproducible-doc-build.patch to make the build reproducible.
  gh#RDFLib/rdflib#2645

OBS-URL: https://build.opensuse.org/request/show/1291244
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=35
2025-07-09 15:26:03 +00:00
7ccf056ecb - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=80
2025-07-08 08:19:58 +00:00
123ea5257b - Add reproducible-doc-build.patch to make the build reproducible.
gh#RDFLib/rdflib#2645

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=79
2025-07-08 08:14:17 +00:00
c8b5414847 Accepting request 1267636 from devel:languages:python
- Update to 7.1.4
  * Remove old hacks against 2to3
  * Allow multi subjects & objects in graph funcs
  * Reduce test warnings
  * Downgrade log message about plugin
  * Remove old hacks against 2to3
  * Cope with Namespace annotations in Python 3.14
  * Small docco update

OBS-URL: https://build.opensuse.org/request/show/1267636
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=34
2025-04-08 15:51:03 +00:00
1b65dcccb0 try to drop possible extra deps
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=77
2025-04-07 11:28:20 +00:00
4d2db6cbee - Update to 7.1.4
* Remove old hacks against 2to3
  * Allow multi subjects & objects in graph funcs
  * Reduce test warnings
  * Downgrade log message about plugin
  * Remove old hacks against 2to3
  * Cope with Namespace annotations in Python 3.14
  * Small docco update

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=76
2025-04-07 11:26:23 +00:00
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
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
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
9297506e3e Accepting request 1185182 from devel:languages:python
- Create doc subpackage with _multibuild to move
  python3-sphnix-autodoc-typehints build requirement out of ring1
- Update to 7.0.0:
  * BREAKING CHANGE: drop support for python 3.7 (#2436)
  * feat: add curie method to NamespaceManager (#2365)
  * feat: add optional target_graph argument to Graph.cbd and use it for
    DESCRIBE queries (#2322)
  * feat: Don't generate prefixes for unknown URIs (#2467)
  * feat: Longturtle improvements (#2500)
  * fix: SPARQL count with optionals (#2448)
  * fix: GROUP_CONCAT handling of empty separator (issue) (#2474)
  * fix: add NORMALIZE_LITERALS to rdflib.__all__ (#2489)
  * fix: correct imports and __all__ (#2340)
  * fix: dbpedia URL to use https instead of http (#2444)
  * fix: eliminate bare except: (#2350)
  * fix: eliminate some mutable default arguments in SPARQL code (#2301)
  * fix: formatting of SequencePath and AlternativePath (#2504)
  * fix: handling of rdf:HTML literals (#2490)
  * fix: HTTP 308 Permanent Redirect status code handling (#2389)
  * fix: lexical-to-value mapping of rdf:HTML literals (#2483)
  * fix: TriG handling of GRAPH keyword without a graph ID (#2469)
  * fix: TriG parser error handling for nested graphs (#2468)
- Switch to autosetup and pyproject macros.
- Shift docs build to the install phase, the module needs to be queryable.
- Drop patch reproducible.patch, included.

OBS-URL: https://build.opensuse.org/request/show/1185182
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=30
2024-07-05 17:45:05 +00:00
c2fc4b6fc0 Accepting request 1133427 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1133427
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=29
2023-12-15 20:46:36 +00:00
6575ff7ecd Accepting request 1132811 from home:bmwiedemann:branches:devel:languages:python
Add reproducible.patch for reproducible builds (boo#1062303)

There might be other/better ways to solve this,
but upstream moved pretty far already.

OBS-URL: https://build.opensuse.org/request/show/1132811
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=61
2023-12-15 12:22:24 +00:00
09eabcea3e Accepting request 952276 from devel:languages:python
- Update to 6.1.1:
  * add support for Python 3.10
  * updates the test suite to pytest (from nose)
  * tidies up a lot of continuous integration
  * gets more tests tested, not skipped
  * implements lots of mypy tests
  * updates several parsers and serializers
  * supports the new HexTuples format!
  * drop support for Python 2 and Python 3 < 3.7.
  * improved testing with mock SPARQL stores
- Drop unneeded BuildRequires on python3-2to3

OBS-URL: https://build.opensuse.org/request/show/952276
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=28
2022-02-09 19:38:14 +00:00
e9620768b3 - Update to 6.1.1:
* add support for Python 3.10
  * updates the test suite to pytest (from nose)
  * tidies up a lot of continuous integration
  * gets more tests tested, not skipped
  * implements lots of mypy tests
  * updates several parsers and serializers
  * supports the new HexTuples format!
  * drop support for Python 2 and Python 3 < 3.7.
  * improved testing with mock SPARQL stores
- Drop unneeded BuildRequires on python3-2to3

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=60
2022-02-07 23:40:36 +00:00
0cbb0a0fa4 Accepting request 862380 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/862380
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=27
2021-01-15 18:44:58 +00:00
67f4f92e2b Accepting request 862293 from home:etamPL:branches:devel:languages:python
removed unneeded 'Requires' dependencies

OBS-URL: https://build.opensuse.org/request/show/862293
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=58
2021-01-11 15:10:36 +00:00
9831617fd7 Accepting request 807428 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/807428
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=26
2020-05-28 07:08:07 +00:00
Tomáš Chvátal
fffa83171f Accepting request 807394 from home:rfrohl:branches:devel:languages:python
update python-rdflib to newest version: 5.0.0

OBS-URL: https://build.opensuse.org/request/show/807394
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=56
2020-05-20 04:41:30 +00:00
Tomáš Chvátal
b20a24aacf Accepting request 807230 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/807230
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=55
2020-05-19 12:12:43 +00:00
e5f25ec705 Accepting request 743996 from devel:languages:python
- Replace %fdupes -s with plain %fdupes; hardlinks are better.

OBS-URL: https://build.opensuse.org/request/show/743996
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=25
2019-11-04 16:11:19 +00:00
2d9f77fd79 - Replace %fdupes -s with plain %fdupes; hardlinks are better.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=53
2019-10-14 14:40:53 +00:00
b820c08bfa Accepting request 659635 from devel:languages:python
Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/659635
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=24
2018-12-26 23:28:19 +00:00
bdcb1719ff Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=51
2018-12-04 17:20:48 +00:00
1854edb861 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=50
2018-12-04 13:58:46 +00:00
2280313b9f Accepting request 493455 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/493455
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=23
2017-05-16 12:29:44 +00:00
Todd R
ea7294db2b Accepting request 492711 from home:TheBlackCat:branches:devel:languages:python
- Update to version 4.2.2
- Implement single-spec version
- Fix source URL.

OBS-URL: https://build.opensuse.org/request/show/492711
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=48
2017-05-08 14:21:35 +00:00
1ed585abcd Accepting request 427608 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/427608
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=22
2016-09-17 12:37:43 +00:00
9787c09ebd Accepting request 427033 from home:aplanas:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/427033
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=46
2016-09-14 12:42:04 +00:00
Stephan Kulow
aa745c75bd Accepting request 315778 from devel:languages:python
- Split documentation into doc subpackage
- update to version 4.2.0

OBS-URL: https://build.opensuse.org/request/show/315778
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=21
2015-07-19 09:44:27 +00:00
Todd R
f933cdbab5 Accepting request 314727 from home:TheBlackCat:branches:devel:languages:python
Split documentation into doc subpackage

OBS-URL: https://build.opensuse.org/request/show/314727
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=45
2015-07-01 13:43:43 +00:00
a5bb6ea6a0 Accepting request 306561 from home:benoit_monin:branches:devel:languages:python
- update to version 4.2.0
- remove *.pyc deletion: fixed upstream
- remove unwanted shebang in rdflib
- fix update-alternatives
- remove end-of-line encoding fix: fixed upstream

OBS-URL: https://build.opensuse.org/request/show/306561
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=44
2015-05-12 14:34:55 +00:00
6b7f502d3a Accepting request 260807 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/260807
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=20
2014-11-15 10:40:44 +00:00
75d4f365b5 Accepting request 260390 from home:Ledest:misc
fix bashisms in pre script

OBS-URL: https://build.opensuse.org/request/show/260390
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=42
2014-11-11 09:18:13 +00:00
Stephan Kulow
57eb7de92e Accepting request 248598 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/248598
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=19
2014-09-12 09:19:02 +00:00
Todd R
4c2884bb0c Accepting request 248597 from home:TheBlackCat:branches:devel:languages:python
Update to 4.1.2

OBS-URL: https://build.opensuse.org/request/show/248597
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=40
2014-09-11 13:18:29 +00:00
Todd R
e14e7e82d9 Accepting request 209979 from home:TheBlackCat:branches:devel:languages:python
Update to 4.0.1

OBS-URL: https://build.opensuse.org/request/show/209979
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=39
2013-12-09 13:30:32 +00:00
Stephan Kulow
fa979a905f Accepting request 179989 from devel:languages:python
housekeeping sr, necessary due to split between d:l:p and d:l:p3 and (manual) _link removal in Factory.

OBS-URL: https://build.opensuse.org/request/show/179989
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=16
2013-06-19 13:53:14 +00:00
Sascha Peilicke
f7ec5d3e3f Python3 moved to devel:languages:python3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=37
2013-06-17 12:53:45 +00:00
Stephan Kulow
22827d6282 Accepting request 163855 from devel:languages:python
- Disable building for python3 <= 3.2, since it is not compatible with those versions (forwarded request 163854 from TheBlackCat)

OBS-URL: https://build.opensuse.org/request/show/163855
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=15
2013-04-14 08:38:44 +00:00
Todd R
7641c8704c Accepting request 163854 from devel:languages:python3
- Disable building for python3 <= 3.2, since it is not compatible with those versions

OBS-URL: https://build.opensuse.org/request/show/163854
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=35
2013-04-13 09:55:52 +00:00
Stephan Kulow
808c768253 Accepting request 157734 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/157734
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=14
2013-03-08 12:29:13 +00:00
Sascha Peilicke
0ee4e93084 - Drop shipped bytecode files and recompile them
- Drop shipped bytecode files and recompile them

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=33
2013-01-31 13:25:43 +00:00
Sascha Peilicke
9a2c739c4e - Run testsuite everywhere
- Macro cleanup

- Run testsuite everywhere

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=32
2013-01-30 13:04:35 +00:00
Stephan Kulow
f9cf8fe4c5 Accepting request 148578 from devel:languages:python
Made required changes (forwarded request 148431 from posophe)

OBS-URL: https://build.opensuse.org/request/show/148578
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=12
2013-01-20 07:17:32 +00:00
Sascha Peilicke
cfe580d10a Accepting request 148431 from home:posophe:branches:devel:languages:python
Made required changes

OBS-URL: https://build.opensuse.org/request/show/148431
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=30
2013-01-15 14:15:09 +00:00
Ismail Dönmez
297182f5db Accepting request 143966 from devel:languages:python
- Disable testsuite on SLE_11_SP2 to fix build

OBS-URL: https://build.opensuse.org/request/show/143966
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=11
2012-12-05 13:06:23 +00:00
Sascha Peilicke
482c043d2f - Disable testsuite on SLE_11_SP2 to fix build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=28
2012-12-03 15:32:54 +00:00
Stephan Kulow
f931e2d2ba Accepting request 139114 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/139114
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=10
2012-10-25 19:26:30 +00:00
2e2bcd19dc - Update to 3.2.3:
* Fixes broken querying
    https://github.com/RDFLib/rdflib/issues/234
  * graph.transitiveClosure now works with loops
    https://github.com/RDFLib/rdflib/issues/206
- Changes in 3.2.2:
  * Improved serialization/parsing roundtrip tests led to some fixes
    of obscure parser/serializer bugs. In particular complex string 
    Literals in ntriples improved a lot. 
  * The terms of a triple are now asserted to be RDFLib Node's in graph.add
    This should avoid getting strings and other things in the store.
    https://github.com/RDFLib/rdflib/issues/200
  * Added a specific TurtleParser that does not require the store to be 
    non-formula aware.
    https://github.com/RDFLib/rdflib/issues/214
  * A trig-serializer was added, see:
    http://www4.wiwiss.fu-berlin.de/bizer/trig/
  * BNode generation was made thread-safe 
    https://github.com/RDFLib/rdflib/issues/209
    (also fixed better by dzinxed)
  * Illegal BNode IDs removed from NT output: 
    https://github.com/RDFLib/rdflib/issues/212
  * and more minor bug fixes that had no issues

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=26
2012-10-16 18:49:53 +00:00
Stephan Kulow
68d6799129 Accepting request 128761 from devel:languages:python
Add missing requirements, build docs, run tests (forwarded request 125047 from jimfunk)

OBS-URL: https://build.opensuse.org/request/show/128761
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=9
2012-07-24 14:10:52 +00:00
Sascha Peilicke
acd55752f3 Accepting request 125047 from home:jimfunk:branches:devel:languages:python
Add missing requirements, build docs, run tests

OBS-URL: https://build.opensuse.org/request/show/125047
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=24
2012-07-23 13:19:33 +00:00
Stephan Kulow
b3845798fe Accepting request 124749 from devel:languages:python
Add missing requires"
 (forwarded request 124412 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/124749
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=7
2012-06-15 13:39:59 +00:00
7dbacb2601 Accepting request 124412 from home:dimstar:branches:devel:languages:python
Add missing requires"

OBS-URL: https://build.opensuse.org/request/show/124412
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=22
2012-06-12 20:00:41 +00:00
Stephan Kulow
be451d9e03 Accepting request 121928 from devel:languages:python
- Update to version 3.2.1:
  + New setuptools entry points for query processors and results
  + Many bugfixes

- license update: BSD-3-Clause
  SPDX format

- Update to version 3.2.0:
  + rdflib now works under python3
  + Unit tests were updated and cleaned up
  + Updated documentations
  + A new resource oriented API was added
  + Many bugfixes.

OBS-URL: https://build.opensuse.org/request/show/121928
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=6
2012-05-29 09:44:34 +00:00
Sascha Peilicke
b9035b5d8c - Update to version 3.2.1:
+ New setuptools entry points for query processors and results
  + Many bugfixes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=20
2012-05-23 12:46:14 +00:00
Sascha Peilicke
f2a7911534 Accepting request 109110 from home:babelworx:ldig:branches:devel:languages:python
license update: BSD-3-Clause
SPDX format

OBS-URL: https://build.opensuse.org/request/show/109110
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=19
2012-05-23 12:43:12 +00:00
Jan Matejek
d4b8611845 Accepting request 105306 from home:dimstar:branches:devel:languages:python
Update to 3.2.0

OBS-URL: https://build.opensuse.org/request/show/105306
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=18
2012-03-09 13:31:50 +00:00
Sascha Peilicke
8f6ce621e6 Accepting request 84413 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/84413
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=4
2011-09-23 08:36:22 +00:00
Sascha Peilicke
3e006f767a - Fixed SLE build by adding a %define python_sitelib
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=15
2011-09-22 09:48:57 +00:00
Sascha Peilicke
0590c9234c Accepting request 83932 from devel:languages:python
- Update to version 3.1.0:
  * Literal.__str__ does not behave like unicode
  * (RDFa Parser) Does not handle application/xhtml+xml
  * RDFa TC #117: Fragment identifiers stripped from BASE
  * Malformed literals produced when rdfa contains newlines
  * Namespaces beginning with _ are invalid
  * Turtle Files with a UTF-8 BOM fail to parse
  * ClosedNamespace.__str__ returns URIRef not str
  * IOMemory does not override open
  * Timestamps with microseconds *and* "Z" timezone are not parsed
  * DateTime literals with offsets fail to convert to Python
  * Timestamps with timezone information are not parsed
  * problem with unicode literals in rdflib.compare.graph_diff
  * Sleepycat Store broken with create=False
  * Would be useful if Graph.query could propagate kwargs to a
    plugin processor
  * Graph.connected exception when passed empty graph
  * Not compatible with Python 2.4
  * Support Python's set operations on Graph
  * NT output encoding to utf-8 broken as it goes through
    _xmlcharrefreplace
  * Store SPARQL Support
- Fix non-executable bits rpmlint issue

OBS-URL: https://build.opensuse.org/request/show/83932
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=3
2011-09-21 15:21:52 +00:00
OBS User autobuild
b0cbe38009 Accepting request 45509 from devel:languages:python
Copy from devel:languages:python/python-rdflib based on submit request 45509 from user matejcik

OBS-URL: https://build.opensuse.org/request/show/45509
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rdflib?expand=0&rev=1
2010-08-24 20:02:00 +00:00
6 changed files with 128 additions and 31 deletions

View File

@@ -1,3 +1,68 @@
-------------------------------------------------------------------
Tue Jul 8 08:17:28 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
-------------------------------------------------------------------
Tue Jul 8 08:07:39 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
- Add reproducible-doc-build.patch to make the build reproducible.
gh#RDFLib/rdflib#2645
-------------------------------------------------------------------
Thu Apr 3 06:45:45 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 7.1.4
* Remove old hacks against 2to3
* Allow multi subjects & objects in graph funcs
* Reduce test warnings
* Downgrade log message about plugin
* Remove old hacks against 2to3
* Cope with Namespace annotations in Python 3.14
* Small docco update
-------------------------------------------------------------------
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
@@ -18,55 +18,55 @@
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "doc"
%bcond_without doc
%define psuffix -doc
%bcond_without doc
%else
%bcond_with doc
%define psuffix %{nil}
%bcond_with doc
%endif
# Tests don't work and cause a dependency loop with python-SPARQLWrapper
%bcond_with tests
%bcond_without libalternatives
%{?sle15_python_module_pythons}
Name: python-rdflib%{psuffix}
Version: 7.0.0
Version: 7.1.4
Release: 0
Summary: A Python library for working with RDF
License: BSD-3-Clause
URL: http://rdflib.net/
URL: https://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
# PATCH-FIX-OPENSUSE reproducible-doc-build.patch gh#RDFLib/rdflib#2645 -- daniel.garcia@suse.com
Patch1: reproducible-doc-build.patch
BuildRequires: alts
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires: alts
BuildArch: noarch
%if %{with tests}
BuildRequires: %{python_module SPARQLWrapper}
BuildRequires: %{python_module flake8}
BuildRequires: %{python_module pytest}
%endif
%if %{with doc}
BuildRequires: %{python_module rdflib = %{version}}
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}
BuildRequires: %{python_module html5lib}
BuildRequires: %{python_module isodate}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core}
BuildRequires: %{python_module pyparsing}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module xml}
Requires: python-html5lib
Requires: python-isodate
Requires: python-pyparsing
%python_subpackages
%endif
%python_subpackages
%description
RDFLib is a Python library for working with RDF, a simple yet powerful
@@ -117,19 +117,12 @@ popd
%else
%post
%python_install_alternative rdfs2dot
%python_install_alternative rdfpipe
%python_install_alternative rdfgraphisomorphism
%python_install_alternative rdf2dot
%python_install_alternative csv2rdf
%postun
%python_uninstall_alternative rdfs2dot
%python_uninstall_alternative rdfpipe
%python_uninstall_alternative rdfgraphisomorphism
%python_uninstall_alternative rdf2dot
%python_uninstall_alternative csv2rdf
%pre
%python_libalternatives_reset_alternative rdfs2dot
%python_libalternatives_reset_alternative rdfpipe
%python_libalternatives_reset_alternative rdfgraphisomorphism
%python_libalternatives_reset_alternative rdf2dot
%python_libalternatives_reset_alternative csv2rdf
%files %{python_files}
%license LICENSE

View File

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

BIN
rdflib-7.1.4.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -0,0 +1,26 @@
diff --git a/rdflib/term.py b/rdflib/term.py
index 3e397674..4e0cfcf1 100644
--- a/rdflib/term.py
+++ b/rdflib/term.py
@@ -23,6 +23,7 @@ underlying Graph:
from __future__ import annotations
+import sys
import abc
import re
from fractions import Fraction
@@ -483,7 +484,12 @@ class BNode(IdentifiedNode):
else:
node_id = sn_result
else:
- node_id = uuid4().hex
+ # Do not generate random id for doc, this will help with reproducible
+ # builds https://github.com/RDFLib/rdflib/issues/2645
+ if "sphinx-build" in sys.argv[0]:
+ node_id = "NODEID"
+ else:
+ node_id = uuid4().hex
# note, for two (and only two) string variables,
# concat with + is faster than f"{x}{y}"
value = _prefix + f"{node_id}"

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