-
Notifications
You must be signed in to change notification settings - Fork 2
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
Distinguish core and optional dependencies #20
Comments
Aye, nice idea. I'll add that the next time I stream working on this; seems like a nice self-contained change. |
Looking into the options, either I'm missing the obvious here, or neither of "requires_dist": [
"markdown-it-py[linkify,plugins]>=2.1.0",
"rich>=13.3.3",
"typing-extensions<5.0.0,>=4.4.0",
"tree-sitter<0.21.0,>=0.20.1; extra == \"syntax\"",
"tree-sitter-languages==1.10.2; extra == \"syntax\""
], There also seems to be nothing in the metadata as acquired from the metadata that says "oh yeah there's this syntax thing you might want to say you want...". |
I confess I haven't really looked into this in any detail, but perhaps you could use the But now looking at all the possible markers, I've realised it isn't as simple as distinguishing core and extra dependencies, as some might depend on the OS, Python versions, etc. I'm not sure a tool like PISpy should really be expected to drill down to this level of detail... |
Yup, was playing around with that this morning. While I've not reached a final conclusion on on it, I think I'm falling down on the side of this not really being a handy thing for PISpy (albeit I am considering a consolidated vs detailed dependency display toggle). |
Sorry I hadn't really considered all the possible dependency "depends" when I suggested this! A consolidated vs detailed dependency display toggle would be a nice feature but only if it isn't too much work. |
It might be nice to distinguish between core and optional dependencies in the
Requires
section.For example, the
textual
package shows tree-sitter and tree-sitter-languages which are optional extras. Other packages may have defined separatedev
only dependencies.The text was updated successfully, but these errors were encountered: