Wiki source code of PyPI Repository Limitations
Last modified by Thomas Mortagne on 2026/10/10 10:42
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
![]() |
2.1 | 1 | Which packages the [[Python 3 PyPI Repository>>doc:extensions:Extension.Python.PyPI.WebHome]] can install, and in which version, depends on GraalPy, the Python 3 implementation the scripts run on. |
| 2 | |||
| 3 | == Packages Listed in the Index == | ||
| 4 | |||
| 5 | PyPI provides no way to know which of its hundreds of thousands of packages are worth proposing, so only the most downloaded ones (500 by default, according to [[Top PyPI Packages>>https://hugovk.dev/top-pypi-packages/]]) are listed in the extension index, which the regular search uses. Any other package can still be found by searching without the index, or installed from its name, as described in [[Install Python Packages>>doc:documentation.extensions.admin.python.install-python-packages.WebHome]]. The number of listed packages is set in [[PyPI Repository Configuration>>doc:documentation.extensions.admin.python.pypi-repository-configuration.WebHome]]. | ||
| 6 | |||
| 7 | == Installable Packages == | ||
| 8 | |||
| 9 | Only the packages providing a wheel without native code (a wheel tagged like ##py3-none-any##) can be installed. A package published only as a source distribution, or only with wheels containing native code, is not supported. | ||
| 10 | |||
| 11 | == Selected Versions == | ||
| 12 | |||
| 13 | The versions, the dependencies and the compatibility of a package are evaluated for the Python version implemented by GraalPy, following the Python packaging standards: a pre-release is only selected when no final release matches. The optional dependencies (extras) are never installed. | ||
| 14 | |||
| 15 | {{version before="17.10.14, 18.4.7, 18.9.0"}}Installing a Python package can break the list of the compatible extensions in the "Extensions" section of the administration.{{/version}} |
