Skip to content

RDFLIB issues... #47

@dnkennedy

Description

@dnkennedy

So, I had the most recent rdflib (as of this writing):

% pip show rdflib
Name: rdflib
Version: 7.0.0
Summary: RDFLib is a Python library for working with RDF, a simple yet powerful language for representing information.

Home-page: https://github.com/RDFLib/rdflib

Author: Daniel 'eikeon' Krech
Author-email: eikeon@eikeon.com
License: BSD-3-Clause
Location: /Users/kennedyd/opt/anaconda3/envs/segstats_jsonld/lib/python3.11/site-packages
Requires: isodate, pyparsing
Required-by: prov, pynidm

And a the current pynidm:

% pip show pynidm
Name: pynidm
Version: 4.1.0
Summary: PYNIDM: a Python NIDM library and tools

Home-page: https://github.com/incf-nidash/PyNIDM

Author: INCF-NIDASH developers
Author-email: incf-nidash-nidm@googlegroups.com
License: Apache-2.0
Location: /Users/kennedyd/opt/anaconda3/envs/segstats_jsonld/lib/python3.11/site-packages
Requires: click, click-option-group, cognitiveatlas, datalad, etelemetry, numpy, ontquery, pandas, patsy, prov, pybids, pydot, pygithub, pyld, python-dateutil, rapidfuzz, rdflib, requests, scikit-learn, scipy, statsmodels, tabulate, validators
Required-by: segstats-jsonld

But I get (hundreds) of the following error:

caught a TypeError, retrying call to <class 'rdflib.plugins.memory.IOMemory'>.bind without override, see https://github.com/RDFLib/rdflib/issues/1880 for more info

Traceback (most recent call last):
File "/Users/kennedyd/opt/anaconda3/envs/segstats_jsonld/lib/python3.11/site-packages/rdflib/namespace/init.py", line 691, in _store_bind
return self.store.bind(prefix, namespace, override=override)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: IOMemory.bind() got an unexpected keyword argument 'override'

With @dbkeator 's help, I backed my rdflib back out to 6.3.2, which worked for him. And that removed my rdflib errors.

How do we deal with this for others?????

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions