← All tasks
pythonpython-babel/babel #1109Not a task: already works

The .dist-info does not follow Python Packaging User Guide guideline

envgap__python-babel__babel-1109

01 / FAILURE SIGNATURE

As reported upstream

error: Failed to find dist-info directory `babel-2.15.0.dist-info` in environment at ~/.local/share/uv/tools/babel
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
a32f15ecec23d5d5049100fd8e65606be7ad12a1
Manifest
setup.py
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

python-babel/babel #1109 · read the original issue
## Overview Description



The .dist-info does not follow Python Packaging User Guide guideline.



The .dist-info directory is outlined [here](https://packaging.python.org/en/latest/specifications/recording-installed-packages/):



This directory is named as {name}-{version}.dist-info, with name and version fields corresponding to [Core metadata specifications](https://packaging.python.org/en/latest/specifications/core-metadata/#core-metadata). Both fields must be normalized (see the [name normalization specification](https://packaging.python.org/en/latest/specifications/name-normalization/#name-normalization) and the [version normalization specification](https://packaging.python.org/en/latest/specifications/version-specifiers/#version-specifiers-normalization)), and replace dash (-) characters with underscore (_) characters, so the .dist-info directory always has exactly one dash (-) character in its stem, separating the name and version fields.



## Steps to Reproduce



1. run `uv tool install babel`



## Actual Results



```console

error: Failed to find dist-info directory `babel-2.15.0.dist-info` in environment at ~/.local/share/uv/tools/babel

```



## Expected Results



installation succeed



## Reproducibility



## Additional Information



See

 * https://github.com/astral-sh/uv/issues/5749

 * https://packaging.python.org/en/latest/specifications/recording-installed-packages/
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]