Skip to content

Commit 1fc1901

Browse files
committed
[setup.py] Upgrade rdflib and dependencies
Remove the rdflib 5.0.0 pin and upgrade to the latest rdflib distribution. Also upgrade dependent test library owlrl and remove the pinned pyparsing version that rdflib 5.0.0 was dependent on.
1 parent 8137f00 commit 1fc1901

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

setup.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,9 @@
3131
with open('README.md') as f:
3232
description_text = f.read()
3333

34-
# pyparsing needs to be pinned to 2.4.7 for the time being. setup install fetches a pre-release
35-
# package that currently results in issues with the rdflib library.
36-
install_req = ["lxml", "pyyaml>=5.1", "rdflib==5.0.0", "docopt", "pathlib", "pyparsing==2.4.7"]
37-
38-
# owlrl depends on rdflib - the pinned version should be removed once the version pin has also been
39-
# removed from rdflib. Also needs to be updated in requirements-test.txt
40-
tests_req = ["pytest", "owlrl==5.2.3", "requests"]
34+
install_req = ["docopt", "lxml", "pathlib", "pyyaml>=5.1", "rdflib>=6.0.0"]
35+
# owlrl depends on rdflib; update any changes in requirements-test.txt as well.
36+
tests_req = ["owlrl", "pytest", "requests"]
4137

4238
setup(
4339
name='odML',

0 commit comments

Comments
 (0)