Skip to content

Commit 47f4e3f

Browse files
authored
Merge pull request #318 from common-workflow-language/rdflib-fix
Bump schema salad pin. Pin mypy version.
2 parents ed0fcbf + c490ad2 commit 47f4e3f

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ ruamel.yaml==0.13.7
33
rdflib==4.2.1
44
rdflib-jsonld==0.4.0
55
shellescape==3.4.1
6-
schema-salad>=2.1.20170208112505,<3
6+
schema-salad>=2.3.20170302225134,<3
77
typing==3.5.2.2 ; python_version>="2.7"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
'ruamel.yaml >= 0.12.4',
5151
'rdflib >= 4.2.2, < 4.3.0',
5252
'shellescape >= 3.4.1, < 3.5',
53-
'schema-salad >= 2.2.20170222151604, < 3',
53+
'schema-salad >= 2.3.20170302225134, < 3',
5454
'typing >= 3.5.2, < 3.6',
5555
'six >= 1.10.0',
5656

tests/test_examples.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import cwltool.process
77
import cwltool.workflow
88
from .util import get_data
9+
from cwltool.main import main
910

1011
class TestParamMatching(unittest.TestCase):
1112
def test_params(self):
@@ -336,6 +337,11 @@ def test_lifting(self):
336337
echo = f.make(get_data("tests/test_bad_outputs_wf.cwl"))
337338
self.assertEqual(echo(inp="foo"), {"out": "foo\n"})
338339

340+
class TestPrintDot(unittest.TestCase):
341+
def test_print_dot(self):
342+
# Require that --enable-ext is provided.
343+
self.assertEquals(main(["--print-dot", get_data('tests/wf/revsort.cwl')]), 0)
344+
339345

340346
if __name__ == '__main__':
341347
unittest.main()

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ deps = -rrequirements.txt
1515
commands = make mypy
1616
whitelist_externals = make
1717
deps =
18-
mypy>=0.470
18+
mypy==0.470
1919
typed-ast==0.6.3
2020
-rrequirements.txt
2121

2222
[testenv:py35-mypy]
2323
commands = make mypy3
2424
whitelist_externals = make
2525
deps =
26-
mypy>=0.470
26+
mypy==0.470
2727
typed-ast==0.6.3
2828
-rrequirements.txt
2929

0 commit comments

Comments
 (0)