Repository navigation
Closed
Labels
bugSomething isn't working
Description
Checks
-
I have checked that this issue has not already been reported.
-
I have confirmed this bug exists on the latest version of pixi, using
pixi --version.
Reproducible example
Given:
[workspace]
channels = [
"conda-forge",
"nodefaults",
]
authors = ["Charlie Marsh <[email protected]>"]
name = "pixi-project"
platforms = ["osx-arm64"]
version = "0.1.0"
[tasks]
[pypi-dependencies]
iniconfig = "*"
[pypi-options]
index-url = "https://pypi.org/simple"
[dependencies]
python = ">=3.14.2,<3.15"Then pixi install followed by pixi list yields:
bzip2 1.0.8 hd037594_8 122.1 KiB conda https://conda.anaconda.org/conda-forge/
ca-certificates 2025.11.12 hbd8a1cb_0 148.9 KiB conda https://conda.anaconda.org/conda-forge/
iniconfig 2.3.0 17.9 KiB pypi iniconfig-2.3.0-py3-none-any.whl
libexpat 2.7.3 haf25636_0 66.2 KiB conda https://conda.anaconda.org/conda-forge/
libffi 3.5.2 he5f378a_0 39.3 KiB conda https://conda.anaconda.org/conda-forge/
liblzma 5.8.1 h39f12f2_2 90.1 KiB conda https://conda.anaconda.org/conda-forge/
libmpdec 4.0.0 h5505292_0 70.1 KiB conda https://conda.anaconda.org/conda-forge/
libsqlite 3.51.1 h9a5124b_0 885.1 KiB conda https://conda.anaconda.org/conda-forge/
libzlib 1.3.1 h8359307_2 45.3 KiB conda https://conda.anaconda.org/conda-forge/
ncurses 6.5 h5e97a16_3 778.3 KiB conda https://conda.anaconda.org/conda-forge/
openssl 3.6.0 h5503f6c_0 3 MiB conda https://conda.anaconda.org/conda-forge/
python 3.14.2 h40d2674_100_cp314 12.9 MiB conda https://conda.anaconda.org/conda-forge/
python_abi 3.14 8_cp314 6.8 KiB conda https://conda.anaconda.org/conda-forge/
readline 8.2 h1d1bf99_2 246.4 KiB conda https://conda.anaconda.org/conda-forge/
tk 8.6.13 h892fb3f_3 3 MiB conda https://conda.anaconda.org/conda-forge/
tzdata 2025b h78e105d_0 120.1 KiB conda https://conda.anaconda.org/conda-forge/
zstd 1.5.7 hbf9d68e_6 423.3 KiB conda https://conda.anaconda.org/conda-forge/
However, if you change to any other index:
[workspace]
channels = [
"conda-forge",
"nodefaults",
]
authors = ["Charlie Marsh <[email protected]>"]
name = "pixi-project"
platforms = ["osx-arm64"]
version = "0.1.0"
[tasks]
[pypi-dependencies]
iniconfig = "*"
[pypi-options]
index-url = "https://test.pypi.org/simple"
[dependencies]
python = ">=3.14.2,<3.15"Then pixi install followed by pixi list yields:
bzip2 1.0.8 hd037594_8 122.1 KiB conda https://conda.anaconda.org/conda-forge/
ca-certificates 2025.11.12 hbd8a1cb_0 148.9 KiB conda https://conda.anaconda.org/conda-forge/
iniconfig 2.0.0 pypi
libexpat 2.7.3 haf25636_0 66.2 KiB conda https://conda.anaconda.org/conda-forge/
libffi 3.5.2 he5f378a_0 39.3 KiB conda https://conda.anaconda.org/conda-forge/
liblzma 5.8.1 h39f12f2_2 90.1 KiB conda https://conda.anaconda.org/conda-forge/
libmpdec 4.0.0 h5505292_0 70.1 KiB conda https://conda.anaconda.org/conda-forge/
libsqlite 3.51.1 h9a5124b_0 885.1 KiB conda https://conda.anaconda.org/conda-forge/
libzlib 1.3.1 h8359307_2 45.3 KiB conda https://conda.anaconda.org/conda-forge/
ncurses 6.5 h5e97a16_3 778.3 KiB conda https://conda.anaconda.org/conda-forge/
openssl 3.6.0 h5503f6c_0 3 MiB conda https://conda.anaconda.org/conda-forge/
python 3.14.2 h40d2674_100_cp314 12.9 MiB conda https://conda.anaconda.org/conda-forge/
python_abi 3.14 8_cp314 6.8 KiB conda https://conda.anaconda.org/conda-forge/
readline 8.2 h1d1bf99_2 246.4 KiB conda https://conda.anaconda.org/conda-forge/
tk 8.6.13 h892fb3f_3 3 MiB conda https://conda.anaconda.org/conda-forge/
tzdata 2025b h78e105d_0 120.1 KiB conda https://conda.anaconda.org/conda-forge/
zstd 1.5.7 hbf9d68e_6 423.3 KiB conda https://conda.anaconda.org/conda-forge/
Notice that iniconfig does not have a size or source.
Issue description
No response
Expected behavior
That the size and source fields would be present for all indexes.
\cc @lerebear
Reacted by Lérè
Metadata
Metadata
Assignees
Labels
bugSomething isn't working
Activity
prady0t commentedon Dec 11, 2025
This has to do with how Rattler extracts info from PyPI packages,
Whereas for a conda package:
There is much more information available for conda packages, such as size and source info, that is missing from PyPI. It's very typical of PyPI packages to include less comprehensive metadata.
baszalmstra commentedon Dec 11, 2025
Thanks for the investigation @prady0t but that doesnt explain why we do have that information if the index is not specified.
baszalmstra commentedon Dec 11, 2025
@charliermarsh Does uv store the size and index in the lockfile?
prady0t commentedon Dec 11, 2025
Very true.
zsol commentedon Dec 11, 2025
Yes, the registry is stored per package (in the source field), and the size is stored next to each artifact
baszalmstra commentedon Dec 11, 2025
It turns out we don't correctly restore the index when we read the package from the lock file. This is fine in most cases, but it incorrectly invalidates the cache. Since this is the only thing
pixi listuses, it fails to report the size and index.I'll make a PR later today to fix this.
hunger commentedon Feb 24, 2026
This is what the output looks like with my lockfile-v7 branch on top of rattler/pixi:
torchis taken from a different index, but the output looks like the pypi packages around it for me.Double-checking this again: This seems to already work with a released version of pixi, without any of my lockfile-v7 changes applied. I think we can close this issue.
baszalmstra commentedon Feb 24, 2026
Make sure to clear caches before doing so!
feat: list data for pypi packages from cached index data
hunger commentedon Feb 27, 2026
bdb8da4 addresses this issue.
It sits on top of quite a few changes needed to adapt pixi to use
rattlerfrom thefeature/lockfile-v7branch. Not sure how to set this up for proper review.feat: list data for pypi packages from cached index data
feat: list data for pypi packages from cached index data
feat: list data for pypi packages from cached index data
5 remaining items
feat: list data for pypi packages from cached index data
feat: list data for pypi packages from cached index data
feat: list data for pypi packages from cached index data
feat: list data for pypi packages from cached index data
feat: list data for pypi packages from cached index data
feat: list data for pypi packages from cached index data
feat: list data for pypi packages from cached index data
feat: list data for pypi packages from cached index data
feat: list data for pypi packages from cached index data
feat: list data for pypi packages from cached index data
feat: list data for pypi packages from cached index data
feat: list data for pypi packages from cached index data