Skip to content

Commit 66e3308

Browse files
committed
SA14: Use importlib_metadata<4 to retain compatibility with Python 3.6
Croaks otherwise on `Python 3.6, SA 1.4.36`:: AttributeError: module 'typing' has no attribute '_SpecialForm'
1 parent f03c29a commit 66e3308

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

setup.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ def read(path):
6767
test=['zope.testing>=4,<5',
6868
'zc.customdoctests>=1.0.1,<2',
6969
'stopit>=1.1.2,<2'],
70-
sqlalchemy=['sqlalchemy>=1.0,<1.5', 'geojson>=2.5.0']
70+
sqlalchemy=['sqlalchemy>=1.0,<1.5',
71+
'geojson>=2.5.0',
72+
'importlib_metadata<4']
7173
),
7274
python_requires='>=3.4',
7375
install_requires=requirements,

0 commit comments

Comments
 (0)