-
Notifications
You must be signed in to change notification settings - Fork 35
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
Package index should list dependencies and dependents #54
Comments
PyPI doesn't currently expose this information because it hasn't actually Changing that is blocked by having declarative dependency metadata or a |
Techincally PyPI does support it and does display it, just very few packages are uploaded in a way that tells PyPI what it's dependencies are. See: https://pypi.python.org/pypi/twine |
Ah, true, I always forget about that part of metadata 1.2. Perhaps Jason |
The problem with adding it to setuptools is it won't work correctly in the fairly common case where someone conditonally adds something to |
Thanks, @hickford. If I understand correctly, this is tracked in pypi/warehouse#789. |
Based on pypi/warehouse#474 , in order to make dependency tracking work for future releases, we'd need to
And some of this could be via public service announcement-type campaigns, and some of it could be through policy enforced at the PyPI level (e.g., on such-and-such a date, we will stop accepting releases whose metadata versions are under 2.1). Another option is to depend more on Libraries.io, which has and is improving its PyPI dependency tracking -- see librariesio/libraries.io#1916 and librariesio/bibliothecary#415 . |
When reading about a package, it's useful to see a list of its dependencies. This is an important description of the package, and indispensably helpful for discovering related software (particularly if dependents are listed too). Sadly PyPI doesn't show any of this information, eg. https://pypi.python.org/pypi/Flask/
For comparison, RubyGems lists dependencies, eg. https://rubygems.org/gems/rails
While Npm lists both dependencies and dependents, eg. https://www.npmjs.org/package/trumpet
The text was updated successfully, but these errors were encountered: