You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ python3 -m venv venv
❯ . venv/bin/activate
❯ pip install meiga
Collecting meiga
Downloading meiga-1.6.0-py3-none-any.whl (13 kB)
Installing collected packages: meiga
Successfully installed meiga-1.6.0
❯ python3
Python 3.10.5 (main, Aug 1 2022, 07:53:20) [GCC 12.1.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from meiga import Error, Success, Failure, Result
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/tmp/mmm/venv/lib/python3.10/site-packages/meiga/__init__.py", line 3, in <module>
from meiga import public_api
File "/tmp/mmm/venv/lib/python3.10/site-packages/meiga/public_api.py", line 6, in <module>
from . import decorators
File "/tmp/mmm/venv/lib/python3.10/site-packages/meiga/decorators/__init__.py", line 1, in <module>
from .meiga_decorator import meiga
File "/tmp/mmm/venv/lib/python3.10/site-packages/meiga/decorators/meiga_decorator.py", line 4, in <module>
from typing_extensions import ParamSpec
ModuleNotFoundError: No module named 'typing_extensions'
1.5.1 works fine:
❯ pip install meiga==1.5.1
Collecting meiga==1.5.1
Downloading meiga-1.5.1-py3-none-any.whl (12 kB)
Installing collected packages: meiga
Attempting uninstall: meiga
Found existing installation: meiga 1.6.0
Uninstalling meiga-1.6.0:
Successfully uninstalled meiga-1.6.0
Successfully installed meiga-1.5.1
❯ python3
Python 3.10.5 (main, Aug 1 2022, 07:53:20) [GCC 12.1.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from meiga import Error, Success, Failure, Result
>>>
Broken on both python 3.10 and 3.9 (caught that one in CI), seemingly by #27 .
I presume like there should be an optional dependency typing-extensions for py < 3.10, and for 3.10 and above ParamSpec should be imported from typing instead - from my understanding, said typehint got merged from extensions into stdlib in 3.10 release.
1.5.1
works fine:Broken on both python 3.10 and 3.9 (caught that one in CI), seemingly by #27 .
I presume like there should be an optional dependency
typing-extensions
forpy < 3.10
, and for 3.10 and aboveParamSpec
should be imported fromtyping
instead - from my understanding, said typehint got merged from extensions into stdlib in 3.10 release.FYI: if you look at the GHA run corresponding to #27 https://github.com/alice-biometrics/meiga/runs/7740328032?check_suite_focus=true ,
typing-extensions
is actually installed there as a dependency oflume
:This is how it leaked to production.
The text was updated successfully, but these errors were encountered: