Skip to content

Commit 12f7489

Browse files
committed
fix remaining references to draft-4
1 parent 1c57b22 commit 12f7489

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

cwltool/process.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -314,13 +314,13 @@ def __init__(self, toolpath_object, **kwargs):
314314

315315
global SCHEMA_FILE, SCHEMA_DIR, SCHEMA_ANY # pylint: disable=global-statement
316316
if SCHEMA_FILE is None:
317-
get_schema("draft-4")
317+
get_schema("v1.0")
318318
SCHEMA_ANY = cast(Dict[unicode, Any],
319-
SCHEMA_CACHE["draft-4"][3].idx["https://w3id.org/cwl/salad#Any"])
319+
SCHEMA_CACHE["v1.0"][3].idx["https://w3id.org/cwl/salad#Any"])
320320
SCHEMA_FILE = cast(Dict[unicode, Any],
321-
SCHEMA_CACHE["draft-4"][3].idx["https://w3id.org/cwl/cwl#File"])
321+
SCHEMA_CACHE["v1.0"][3].idx["https://w3id.org/cwl/cwl#File"])
322322
SCHEMA_DIR = cast(Dict[unicode, Any],
323-
SCHEMA_CACHE["draft-4"][3].idx["https://w3id.org/cwl/cwl#Directory"])
323+
SCHEMA_CACHE["v1.0"][3].idx["https://w3id.org/cwl/cwl#Directory"])
324324

325325
names = schema_salad.schema.make_avro_schema([SCHEMA_FILE, SCHEMA_DIR, SCHEMA_ANY],
326326
schema_salad.ref_resolver.Loader({}))[0]

cwltool/update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ def draft4Dev2toDev3(doc, loader, baseuri):
428428
ALLUPDATES = UPDATES.copy()
429429
ALLUPDATES.update(DEVUPDATES)
430430

431-
LATEST = "draft-4.dev3"
431+
LATEST = "v1.0.dev4"
432432

433433
def identity(doc, loader, baseuri): # pylint: disable=unused-argument
434434
# type: (Any, Loader, str) -> Tuple[Any, Union[str, unicode]]

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@
3131
'schemas/draft-3/*.md',
3232
'schemas/draft-3/salad/schema_salad/metaschema/*.yml',
3333
'schemas/draft-3/salad/schema_salad/metaschema/*.md',
34-
'schemas/draft-4/*.yml',
35-
'schemas/draft-4/*.md',
36-
'schemas/draft-4/salad/schema_salad/metaschema/*.yml',
37-
'schemas/draft-4/salad/schema_salad/metaschema/*.md']},
34+
'schemas/v1.0/*.yml',
35+
'schemas/v1.0/*.md',
36+
'schemas/v1.0/salad/schema_salad/metaschema/*.yml',
37+
'schemas/v1.0/salad/schema_salad/metaschema/*.md']},
3838
install_requires=[
3939
'requests',
4040
'ruamel.yaml',

0 commit comments

Comments
 (0)