Skip to content

Commit 02ba0d7

Browse files
authored
Merge pull request #450 from common-workflow-language/manu-chroma-patch-1
setup.py: pin ruamel.yaml package version
2 parents 3fbfd02 + 95ada09 commit 02ba0d7

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

cwltool/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ def load_job_order(args, t, stdin, print_input_deps=False, relative_deps=False,
434434
if len(args.job_order) == 1 and args.job_order[0][0] != "-":
435435
job_order_file = args.job_order[0]
436436
elif len(args.job_order) == 1 and args.job_order[0] == "-":
437-
job_order_object = yaml.round_trip_load(stdin) # type: ignore
437+
job_order_object = yaml.round_trip_load(stdin)
438438
job_order_object, _ = loader.resolve_all(job_order_object, file_uri(os.getcwd()) + "/")
439439
else:
440440
job_order_file = None

cwltool/workflow.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ def __init__(self, toolpath_object, pos, **kwargs):
684684
for tool_entry in self.embedded_tool.tool[toolfield]:
685685
frag = shortname(tool_entry["id"])
686686
if frag == shortinputid:
687-
param.update(tool_entry) # type: ignore
687+
param.update(tool_entry)
688688
found = True
689689
bound.add(frag)
690690
break

mypy.ini

+3
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1+
[mypy-ruamel.*]
2+
ignore_errors = True
3+
14
[mypy-schema_salad.*]
25
ignore_errors = True

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
requests>=1.0
2-
ruamel.yaml==0.13.7
2+
ruamel.yaml>=0.12.4,<0.15
33
rdflib==4.2.2
44
rdflib-jsonld==0.4.0
55
shellescape==3.4.1

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
install_requires=[
5555
'setuptools',
5656
'requests >= 1.0',
57-
'ruamel.yaml >= 0.12.4',
57+
'ruamel.yaml >= 0.12.4, < 0.15',
5858
'rdflib >= 4.2.2, < 4.3.0',
5959
'shellescape >= 3.4.1, < 3.5',
6060
'schema-salad >= 2.6, < 3',

0 commit comments

Comments
 (0)