Skip to content

Commit

Permalink
SA14: Pin some dependency packages to retain compatibility with Pytho…
Browse files Browse the repository at this point in the history
…n 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'
  • Loading branch information
amotl committed May 12, 2022
1 parent 8d2f78b commit 0389cf5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ def read(path):
test=['zope.testing>=4,<5',
'zc.customdoctests>=1.0.1,<2',
'stopit>=1.1.2,<2'],
sqlalchemy=['sqlalchemy>=1.0,<1.5', 'geojson>=2.5.0']
sqlalchemy=['sqlalchemy>=1.0,<1.5',
'geojson>=2.5.0',
'importlib-metadata<4',
'typing-extensions<4']
),
python_requires='>=3.4',
install_requires=requirements,
Expand Down

0 comments on commit 0389cf5

Please sign in to comment.