Skip to content

Commit f9dc9af

Browse files
GlassOfWhiskeykinowmr-c
authored
Import dependencies from cwl_utils after code refactoring (#1686)
* Removed sandboxjs and expression from cwltool * req cwl-utils package; type fixes Co-authored-by: "Bruno P. Kinoshita" <[email protected]> Co-authored-by: Michael R. Crusoe <[email protected]>
1 parent fad1b31 commit f9dc9af

17 files changed

+37
-949
lines changed

MANIFEST.in

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,6 @@ include cwltool/schemas/v1.2/*.yml
5252
include cwltool/schemas/v1.2/*.md
5353
include cwltool/schemas/v1.2/salad/schema_salad/metaschema/*.yml
5454
include cwltool/schemas/v1.2/salad/schema_salad/metaschema/*.md
55-
include cwltool/cwlNodeEngine.js
56-
include cwltool/cwlNodeEngineJSConsole.js
57-
include cwltool/cwlNodeEngineWithContext.js
5855
include cwltool/extensions.yml
5956
include cwltool/extensions-v1.1.yml
6057
include cwltool/jshint/jshint_wrapper.js

cwltool.Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ RUN apk add --no-cache git gcc python3-dev libxml2-dev libxslt-dev libc-dev linu
55
WORKDIR /cwltool
66
COPY . .
77

8-
RUN pip install toml -rmypy-requirements.txt "$(grep schema.salad requirements.txt)"
9-
# schema-salad is needed to be installed (this time as pure Python) for
10-
# cwltool + mypyc
8+
RUN pip install toml -rmypy-requirements.txt
119
RUN CWLTOOL_USE_MYPYC=1 MYPYPATH=mypy-stubs pip wheel --no-binary schema-salad --wheel-dir=/wheels .[deps]
1210
RUN rm /wheels/schema_salad*
1311
RUN pip install black

cwltool/builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
cast,
1616
)
1717

18+
from cwl_utils import expression
1819
from rdflib import Graph, URIRef
1920
from rdflib.namespace import OWL, RDFS
2021
from ruamel.yaml.comments import CommentedMap
@@ -25,7 +26,6 @@
2526
from schema_salad.validate import validate
2627
from typing_extensions import TYPE_CHECKING, Type # pylint: disable=unused-import
2728

28-
from . import expression
2929
from .errors import WorkflowException
3030
from .loghandler import _logger
3131
from .mutation import MutationManager

cwltool/cwlNodeEngine.js

Lines changed: 0 additions & 21 deletions
This file was deleted.

cwltool/cwlNodeEngineJSConsole.js

Lines changed: 0 additions & 32 deletions
This file was deleted.

cwltool/cwlNodeEngineWithContext.js

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)