chezou / tdworkflow

Unofficial Treasure Workflow Client
Apache License 2.0
7 stars 5 forks source link

Missing dependency for mypy_extensions #24

Closed k24d closed 1 year ago

k24d commented 1 year ago

I installed tdworkflow-0.8.0 as follows:

% pip install tdworkflow
Collecting tdworkflow
  Using cached tdworkflow-0.8.0-py3-none-any.whl (21 kB)
Requirement already satisfied: requests in /opt/miniconda3/envs/myenv/lib/python3.10/site-packages (from tdworkflow) (2.31.0)
Requirement already satisfied: charset-normalizer<4,>=2 in /opt/miniconda3/envs/myenv/lib/python3.10/site-packages (from requests->tdworkflow) (3.2.0)
Requirement already satisfied: idna<4,>=2.5 in /opt/miniconda3/envs/myenv/lib/python3.10/site-packages (from requests->tdworkflow) (3.4)
Requirement already satisfied: urllib3<3,>=1.21.1 in /opt/miniconda3/envs/myenv/lib/python3.10/site-packages (from requests->tdworkflow) (2.0.3)
Requirement already satisfied: certifi>=2017.4.17 in /opt/miniconda3/envs/myenv/lib/python3.10/site-packages (from requests->tdworkflow) (2023.5.7)
Installing collected packages: tdworkflow
Successfully installed tdworkflow-0.8.0

And I got the following error:

  File "/Users/keisuke.nishida/myscript.py", line 9, in <module>
    import tdworkflow
  File "/opt/miniconda3/envs/myenv/lib/python3.10/site-packages/tdworkflow/__init__.py", line 5, in <module>
    from . import (
  File "/opt/miniconda3/envs/myenv/lib/python3.10/site-packages/tdworkflow/client.py", line 12, in <module>
    from mypy_extensions import DefaultArg
ModuleNotFoundError: No module named 'mypy_extensions'

Can you add a dependency for mypy_extensions?

chezou commented 1 year ago

Thanks for reporting. Fixed on https://pypi.org/project/tdworkflow/0.8.1/