Skip to content

pipdeptree does not handle extras #23

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

Open
sapols opened this issue Jan 7, 2025 · 1 comment
Open

pipdeptree does not handle extras #23

sapols opened this issue Jan 7, 2025 · 1 comment
Labels
warning Not currently a problem but could become one

Comments

@sapols
Copy link
Contributor

sapols commented Jan 7, 2025

E.g. if you try to get pipdeptree output for pyhc-core[tests], the [tests] part breaks it and we get empty output, which breaks the pipeline.

The temporary fix is to simply modify get-dep-tree-for-package.sh to ignore the [extra] part when it's present, but this means the resulting dependency spreadsheet will not contain any info about those extra dependencies. Meaning the spreadsheet would technically be incomplete and there could be a dependency conflict from the extras that we wouldn't detect.

@sapols
Copy link
Contributor Author

sapols commented Jan 7, 2025

Found an issue about this in their GitHub: tox-dev/pipdeptree#107
(Seems some started working on it a few years ago, then stopped, and it's been back burnered since)

@sapols sapols added the warning Not currently a problem but could become one label Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
warning Not currently a problem but could become one
Projects
None yet
Development

No branches or pull requests

1 participant