Skip to content

Commit e3282bd

Browse files
committed
[setup] Fix pyparsing installation issue
Closes #410 Installing pyparsing via setup.py install fetches a faulty pre-release version of pyparsing. Pinning version to functional 2.4.7 for the time being.
1 parent 45719a2 commit e3282bd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

setup.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@
3030
with open('README.md') as f:
3131
description_text = f.read()
3232

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

35-
tests_req = ["owlrl", "requests"]
37+
tests_req = ["pytest", "owlrl", "requests"]
3638

3739
if sys.version_info < (3, 4):
3840
install_req += ["enum34"]

0 commit comments

Comments
 (0)