Dependency graph support for statically-defined Python dependencies #6456
-
Despite continued wide usage of Looking forward, PEP 621 has outlined the use of
The static and standardized format Package authors can't work around this limitation by e.g. reading dependencies from |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 28 replies
-
Some large popular Python projects, like Flask, are coding around GitHub's limits instead of supporting the better Python standard for no benefit other than GitHub's. See here for an example: https://github.com/pallets/flask/blob/main/setup.py#L3-L16 |
Beta Was this translation helpful? Give feedback.
-
It looks like |
Beta Was this translation helpful? Give feedback.
-
Dropping in to report that Flit is also not supported. urllib3 had it's "Used By" and "Sponsor who you depend on" support removed due to this. Our team had to work around this by writing fake metadata into our This seems like a fairly widespread issue for the Python ecosystem, for example the package |
Beta Was this translation helpful? Give feedback.
-
Dependencies can now be listed in a standard way in |
Beta Was this translation helpful? Give feedback.
-
Greetings from Dependency Graph team! Trying to get ramped up on the issue and Would anyone be kindly able to confirm that the most optimal way to extract a package name would be by keying on either Thank you. |
Beta Was this translation helpful? Give feedback.
-
Hi @annarosenthal you all added this, right? Just noticed I suddenly have "Used by" on repos. |
Beta Was this translation helpful? Give feedback.
-
Incidentally, one of the major Python template generators, PyScaffold, uses |
Beta Was this translation helpful? Give feedback.
Hi @annarosenthal you all added this, right?
https://github.blog/changelog/2023-02-13-dependency-graph-supports-the-python-pep-621-standard/
Just noticed I suddenly have "Used by" on repos.
Thank you!!!