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
The Python wheel available at PyPI for release 0.2.5 does not contain any Python source files. The same applies for Python wheels that are built locally.
To Reproduce
Looking at the Python wheel for release 0.2.5 available at PyPI yields following output:
$ unzip -t mkdocstrings_python_legacy-0.2.5-py3-none-any.whl
Archive: mkdocstrings_python_legacy-0.2.5-py3-none-any.whl
testing: mkdocstrings_python_legacy-0.2.5.dist-info/METADATA OK
testing: mkdocstrings_python_legacy-0.2.5.dist-info/WHEEL OK
testing: mkdocstrings_python_legacy-0.2.5.dist-info/entry_points.txt OK
testing: mkdocstrings_python_legacy-0.2.5.dist-info/licenses/LICENSE OK
testing: mkdocstrings_python_legacy-0.2.5.dist-info/RECORD OK
No errors detected in compressed data of mkdocstrings_python_legacy-0.2.5-py3-none-any.whl.
The same output is given for locally built Python wheels.
Expected behavior
The Python wheels should contain the required Python source files.
knobix
changed the title
bug: Built wheels no longer contain Python source files since release 0.2.0
bug: Built wheels no longer contain Python source files since release 0.2.5
Mar 22, 2025
Description of the bug
The Python wheel available at PyPI for release 0.2.5 does not contain any Python source files. The same applies for Python wheels that are built locally.
To Reproduce
Looking at the Python wheel for release 0.2.5 available at PyPI yields following output:
The same output is given for locally built Python wheels.
Expected behavior
The Python wheels should contain the required Python source files.
Environment information
$ python3.11 -m mkdocstrings_handlers.python.debug - __System__: FreeBSD-13.4-RELEASE-amd64-64bit-ELF - __Python__: cpython 3.11.11 - __Environment variables__: - __Installed packages__: - `mkdocstrings-python-legacy` v0.2.5
Additional context
Adding back following lines to section
[tool.pdm.build]
inpyproject.toml
that were removed by commit e6f429e should remedy the issue:The text was updated successfully, but these errors were encountered: