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

Update to Typer breaks Package import #1649

Open
loleg opened this issue Apr 4, 2024 · 0 comments
Open

Update to Typer breaks Package import #1649

loleg opened this issue Apr 4, 2024 · 0 comments

Comments

@loleg
Copy link

loleg commented Apr 4, 2024

When importing the current build of the Frictionless Py library I'm getting an import error loading Option from typer. Typer was not referenced in my project directly, and I see that version 0.12.0 was loaded. Locking typer at 0.11.1 in my project resolves the problem. I don't see anything in the Release notes on their side that would raise a flag.

Here is an excerpt of my stack trace:

  File "/srv/dribdat/meta/dribdat/boxout/datapackage.py", line 7, in <module>
    from frictionless import Package
  File "/home/oleg/.cache/pypoetry/virtualenvs/dribdat-7P2NJE9z-py3.8/lib/python3.8/site-packages/frictionless/__init__.py", line 19, in <module>
    from .program import program
  File "/home/oleg/.cache/pypoetry/virtualenvs/dribdat-7P2NJE9z-py3.8/lib/python3.8/site-packages/frictionless/program/__init__.py", line 1, in <module>
    from .api import program_api
  File "/home/oleg/.cache/pypoetry/virtualenvs/dribdat-7P2NJE9z-py3.8/lib/python3.8/site-packages/frictionless/program/api.py", line 1, in <module>
    from typer import Option as Opt
ImportError: cannot import name 'Option' from 'typer' (unknown location)
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