Skip to content

Conversation

@jl-wynen
Copy link
Member

@jl-wynen jl-wynen commented Feb 12, 2025

This creates a basic dist-info folder next to the package folder. When building with the conda-forge feedstock, I get

$ ls build_artifacts/pkg_cache/scipp-25.01.0-py310ha9c1c75_3/lib/python3.10/site-packages
scipp/  scipp-25.01.0.dist-info/

which matches the structure of other packages, e.g.,

$ ls build_artifacts/pkg_cache/numpy-2.1.3-py310hd6e36ab_0/lib/python3.10/site-packages
numpy/  numpy-2.1.3.dist-info/

But when installing with

cd build_artifacts/pkg_cache
conda create ./scipp-25.01.0-py310ha9c1c75_3.conda ./numpy-2.1.3-py310hd6e36ab_0.conda

it installs the dist-info for numpy but not scipp. I inspected the files in build_artifacts/pkg_cache/numpy-2.1.3-py310hd6e36ab_0/info and the same for scipp but could not find a difference. SO I don't know why this doesn't work for scipp yet.

@jl-wynen jl-wynen added the build system Related to continuous integration & testing infrastructure label Feb 12, 2025
@jl-wynen jl-wynen requested a review from MridulS February 12, 2025 15:53
@jl-wynen jl-wynen force-pushed the pip-metadata-in-conda branch from d8a271d to 2466607 Compare April 2, 2025 12:27
@jl-wynen jl-wynen marked this pull request as ready for review April 2, 2025 12:28
@jl-wynen
Copy link
Member Author

jl-wynen commented Apr 2, 2025

Maybe it only fails to install the metadata in a local install. Let's try with an actual release and install from anaconda.

@jl-wynen jl-wynen enabled auto-merge April 2, 2025 12:28
@jl-wynen jl-wynen merged commit 2a64d1d into main Apr 2, 2025
4 checks passed
@jl-wynen jl-wynen deleted the pip-metadata-in-conda branch April 2, 2025 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build system Related to continuous integration & testing infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants