Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pipenv support for annotations #2

Open
R-Faraji opened this issue Jul 21, 2022 · 0 comments
Open

Pipenv support for annotations #2

R-Faraji opened this issue Jul 21, 2022 · 0 comments

Comments

@R-Faraji
Copy link
Collaborator

R-Faraji commented Jul 21, 2022

Starting from python version 3.7 annotations are supported, any version below that is not which means that some dependencies cannot be resolve, resulting in a failed locking.

Locking Failed! 

Traceback (most recent call last):
  File "/home/"user"/.local/pipx/venvs/pipenv/lib/python3.8/site-packages/pipenv/resolver.py", line 854, in <module>
    main()
  File "/home/"user"/.local/pipx/venvs/pipenv/lib/python3.8/site-packages/pipenv/resolver.py", line 831, in main
    from pipenv.vendor.vistir.misc import replace_with_text_stream
  File "/home/"user"/.local/pipx/venvs/pipenv/lib/python3.8/site-packages/pipenv/__init__.py", line 56, in <module>
    from .cli import cli
  File "/home/"user"/.local/pipx/venvs/pipenv/lib/python3.8/site-packages/pipenv/cli/__init__.py", line 1, in <module>
    from .command import cli  # noqa
  File "/home/"user"/.local/pipx/venvs/pipenv/lib/python3.8/site-packages/pipenv/cli/command.py", line 7, in <module>
    from pipenv.cli.options import (
  File "/home/"user"/.local/pipx/venvs/pipenv/lib/python3.8/site-packages/pipenv/cli/options.py", line 3, in <module>
    from pipenv.project import Project
  File "/home/"user"/.local/pipx/venvs/pipenv/lib/python3.8/site-packages/pipenv/project.py", line 2
    from __future__ import annotations
    ^
SyntaxError: future feature annotations is not defined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant