You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to query requires_dist in https://pypi.python.org/pypi/<pkg>/json (or https://www.wheelodex.org/json/projects/%3Cpkg%3E or similar) to create a badge with the version of a particular dependency?
Some sort of generic py-pi-versions-from-framework-classifiers
PyPI dependency version is a reasonable request. We have this for some other package registries.
One thing that makes this a bit challenging in python is that whereas with npm for example, the dependencies are expressed as an object mapping package names to versions e.g:
This makes it easy to take a package and return a version range.
With PyPI, requires_dist is an array of strings expressing a package constraint (which may or may not include a version, and may include a bunch of other stuff) e.g:
[
"python-dateutil>=2.8.0",
"qiskit[crosstalk-pass,csp-layout-pass,qasm3-import,visualization]; extra == \"all\"",
"typing-extensions",
"importlib-metadata>=4.6; python_version < '3.10'",
"isort==5.13.2 ; extra == \"dev\""
]
馃搵 Description
Would it be possible to query
requires_dist
inhttps://pypi.python.org/pypi/<pkg>/json
(orhttps://www.wheelodex.org/json/projects/%3Cpkg%3E
or similar) to create a badge with the version of a particular dependency?Some sort of generic
py-pi-versions-from-framework-classifiers
For example:![numpy compatibility](https://camo.githubusercontent.com/0929c80d3d8a88355766df447f65105abbb35dc230096d642ee48eea5e2d3eef/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6e756d7079253230636f6d7061746962696c6974792d25334333253243253345253344312e31372d626c7565)
https://img.shields.io/pypi/dependency_versions/qiskit/numpy
generatebased on query https://pypi.org/pypi/qiskit/json
The text was updated successfully, but these errors were encountered: