Skip to content

Commit 0389cf5

Browse files
committed
SA14: Pin some dependency packages to retain compatibility with Python 3.6
- importlib_metadata<4 - typing-extensions<4 Croaks otherwise on `Python 3.6, SA 1.4.36`:: from typing import Protocol ImportError: cannot import name 'Protocol' AttributeError: module 'typing' has no attribute '_SpecialForm'
1 parent 8d2f78b commit 0389cf5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

setup.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,10 @@ 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',
73+
'typing-extensions<4']
7174
),
7275
python_requires='>=3.4',
7376
install_requires=requirements,

0 commit comments

Comments
 (0)