Skip to content

Commit 03cc3af

Browse files
committed
[setup] Pin rdflib version
The latest rdflib version (>5.0.0) brought major breaking changes. Until these changes have been introduced in the odml library, the rdflib version will be pinned to 5.0.0 to ensure a full working library on pip install.
1 parent 174bc85 commit 03cc3af

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

requirements-test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
pytest
2-
owlrl
2+
owlrl==5.2.3
33
requests

setup.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,11 @@
3131

3232
# pyparsing needs to be pinned to 2.4.7 for the time being. setup install fetches a pre-release
3333
# package that currently results in issues with the rdflib library.
34-
install_req = ["lxml", "pyyaml>=5.1", "rdflib", "docopt", "pathlib", "pyparsing==2.4.7"]
34+
install_req = ["lxml", "pyyaml>=5.1", "rdflib==5.0.0", "docopt", "pathlib", "pyparsing==2.4.7"]
3535

36-
tests_req = ["pytest", "owlrl", "requests"]
36+
# owlrl depends on rdflib - the pinned version should be removed once the version pin has also been
37+
# removed from rdflib.
38+
tests_req = ["pytest", "owlrl==5.2.3", "requests"]
3739

3840
setup(
3941
name='odML',

0 commit comments

Comments
 (0)