Skip to content

Commit

Permalink
Remove pathlib from requirements as it has been included in Python si…
Browse files Browse the repository at this point in the history
…nce Python 3.4
  • Loading branch information
heplesser committed Dec 12, 2023
1 parent 5213865 commit 90ef0f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@
with open('README.md') as f:
description_text = f.read()

install_req = ["docopt", "lxml", "pathlib", "pyyaml>=5.1", "rdflib>=6.0.0"]
install_req = ["docopt", "lxml", "pyyaml>=5.1", "rdflib>=6.0.0"]
# owlrl depends on rdflib; update any changes in requirements-test.txt as well.
tests_req = ["owlrl", "pytest", "requests"]

# Keep support for for Python versions below 3.7; relevant for the
# rdflib usage; rdflib >= 6 does not support Python versions below 3.7.
if _python_version.minor <= 6:
# pyparsing needs to be pinned to 2.4.7 due to issues with the rdflib 5.0.0 library.
install_req = ["docopt", "lxml", "pathlib", "pyyaml>=5.1", "rdflib==5.0.0", "pyparsing==2.4.7"]
install_req = ["docopt", "lxml", "pyyaml>=5.1", "rdflib==5.0.0", "pyparsing==2.4.7"]

# owlrl depends on rdflib and needs to be pinned to a corresponding version.
tests_req = ["owlrl==5.2.3", "pytest", "requests"]
Expand Down

0 comments on commit 90ef0f3

Please sign in to comment.