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
$ /usr/local/python3.7/bin/pdm
Traceback (most recent call last):
File "/usr/local/python3.7/bin/pdm", line 5, in <module>
from pdm.core import main
File "/usr/local/python3.7/lib/python3.7/site-packages/pdm/__init__.py", line 5, in <module>
from pdm.cli.commands.base import BaseCommand
File "/usr/local/python3.7/lib/python3.7/site-packages/pdm/cli/commands/base.py", line 5, in <module>
from pdm.cli.options import Option, global_option, project_option, verbose_option
File "/usr/local/python3.7/lib/python3.7/site-packages/pdm/cli/options.py", line 9, in <module>
from pdm._types import Protocol
File "/usr/local/python3.7/lib/python3.7/site-packages/pdm/_types.py", line 9, in <module>
from typing_extensions import Literal, Protocol, TypedDict
ModuleNotFoundError: No module named 'typing_extensions'
The text was updated successfully, but these errors were encountered:
@frostming I think you shouldn't rely on a package being a dependency of another dependency. If you import it directly, list it as a dependency. This could prevent bad surprises :) And it gives you control over the accepted versions.
pdm
doesn't havetyping_extensions
specified as a dependency, but it's needed for Python 3.7:pdm/pdm/_types.py
Lines 4 to 9 in 1f83b7e
Steps to reproduce
Actual behavior
The text was updated successfully, but these errors were encountered: