Skip to content

Commit 5dff7db

Browse files
authored
Add version constraint typing >= 3.5.2 so ruamel typechecks work. (#55)
1 parent 6fb2969 commit 5dff7db

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

schema_salad/makedoc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import copy
66
import re
77
import sys
8-
import StringIO
8+
from StringIO import StringIO
99
import logging
1010
import urlparse
1111
from .aslist import aslist
@@ -153,7 +153,7 @@ class RenderType(object):
153153

154154
def __init__(self, toc, j, renderlist, redirects):
155155
# type: (ToC, List[Dict], str, Dict) -> None
156-
self.typedoc = StringIO.StringIO()
156+
self.typedoc = StringIO()
157157
self.toc = toc
158158
self.subs = {} # type: Dict[str, str]
159159
self.docParent = {} # type: Dict[str, List]

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
'rdflib >= 4.1.0',
3434
'rdflib-jsonld >= 0.3.0',
3535
'mistune',
36-
'typing',
36+
'typing >= 3.5.2',
3737
'CacheControl',
3838
'lockfile']
3939

@@ -46,7 +46,7 @@
4646
extras_require = {} # TODO: to be removed when the above is added
4747

4848
setup(name='schema-salad',
49-
version='1.16',
49+
version='1.17',
5050
description='Schema Annotations for Linked Avro Data (SALAD)',
5151
long_description=open(README).read(),
5252
author='Common workflow language working group',

0 commit comments

Comments
 (0)