Skip to content

Commit 2be19f3

Browse files
committed
fix py3.6 compat
1 parent e845c02 commit 2be19f3

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
requests>=2.4.3
22
ruamel.yaml>=0.15,<0.17.22
33
rdflib>=4.2.2,<6.2
4+
rdflib>= 4.2.2, < 6.0.0;python_version<='3.6'
45
shellescape>=3.4.1,<3.9
56
schema-salad>=8.2.20211104054942,<9
67
prov==1.5.1

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@
110110
# https://github.com/ionrock/cachecontrol/issues/137
111111
"ruamel.yaml >= 0.15, < 0.17.22",
112112
"rdflib >= 4.2.2, < 6.2.0",
113+
"rdflib >= 4.2.2, < 6.0.0;python_version<='3.6'",
113114
"shellescape >= 3.4.1, < 3.9",
114115
"schema-salad >= 8.2.20211104054942, < 9",
115116
"mypy-extensions",
@@ -134,7 +135,7 @@
134135
"mock >= 2.0.0",
135136
"pytest-mock >= 1.10.0",
136137
"arcp >= 0.2.0",
137-
"rdflib-jsonld >= 0.4.0",
138+
"rdflib-jsonld>=0.4.0, <= 0.6.1;python_version<='3.6'",
138139
],
139140
entry_points={"console_scripts": ["cwltool=cwltool.main:run"]},
140141
zip_safe=True,

test-requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ mock >= 2.0.0
44
pytest-mock >= 1.10.0
55
pytest-cov
66
arcp >= 0.2.0
7-
rdflib-jsonld >= 0.4.0
7+
rdflib-jsonld>=0.4.0, <= 0.6.1;python_version<='3.6'
88
-rrequirements.txt

0 commit comments

Comments
 (0)