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

KeyError on running poetry2conda #19

Open
skulltech opened this issue Aug 9, 2021 · 0 comments
Open

KeyError on running poetry2conda #19

skulltech opened this issue Aug 9, 2021 · 0 comments

Comments

@skulltech
Copy link

skulltech commented Aug 9, 2021

Following is the error

sumit@Sumits-MacBook-Air backend % poetry2conda pyproject.toml environment.yaml
Traceback (most recent call last):
  File "/opt/homebrew/bin/poetry2conda", line 8, in <module>
    sys.exit(main())
  File "/opt/homebrew/lib/python3.9/site-packages/poetry2conda/convert.py", line 294, in main
    converted_obj = convert(args.pyproject, include_dev=args.dev, extras=args.extras)
  File "/opt/homebrew/lib/python3.9/site-packages/poetry2conda/convert.py", line 53, in convert
    dependencies, pip_dependencies = collect_dependencies(
  File "/opt/homebrew/lib/python3.9/site-packages/poetry2conda/convert.py", line 161, in collect_dependencies
    tag = constraint["tag"]
KeyError: 'tag'

I'm suspecting this dependency in my pyproject.yaml is the culprit.

pyppeteer = { git = "https://github.com/pyppeteer/pyppeteer.git", rev = "0fd15a7" }
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