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

✨ Add support for package requiring itself, add extras to --tree --json #101

Merged
merged 2 commits into from
Nov 22, 2022

Conversation

ddelange
Copy link
Owner

Fixes #95

Only triggers cyclic mechanic when the package requires the same extra as its ancestor (not the case here):

$ pipgrip --tree etils[etree,epath]
etils[epath,etree] (0.9.0)
├── etils[array_types] (0.9.0)
├── etils[enp] (0.9.0)
│   ├── etils[epy] (0.9.0)
│   │   └── typing-extensions (4.4.0)
│   └── numpy (1.23.5)
├── etils[epy] (0.9.0)
│   └── typing-extensions (4.4.0)
├── etils[etqdm] (0.9.0)
│   ├── absl-py (1.3.0)
│   ├── etils[epy] (0.9.0)
│   │   └── typing-extensions (4.4.0)
│   └── tqdm (4.64.1)
├── importlib-resources (5.10.0)
├── typing-extensions (4.4.0)
└── zipp (3.10.0)

@ddelange ddelange merged commit 2e135d2 into master Nov 22, 2022
@ddelange ddelange deleted the package-requiring-itself branch November 22, 2022 16:09
@github-actions
Copy link

Released 0.9.0

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

Successfully merging this pull request may close these issues.

Error when package requires itself
1 participant