Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pixi-pack writes outdated repodata.json that doesn't include repodata patches #8

Closed
pavelzw opened this issue Jun 4, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@pavelzw
Copy link
Member

pavelzw commented Jun 4, 2024

error message and environment.yml

image

Currently, pixi-pack uses the package metadata and rattler_index::index(&channel_dir, None) to generate the repodata.json.

entry in repodata.json generated by pixi-pack

image

This is not the same repodata.json (i mean the corresponding subset) of the upstream repodata.json if there were repodata patches.

repodata patched that lead to this error

image

We can generate an up-to-date patched repodata.json from pixi.lock

"repodata-like" entry in pixi.lock that we can use to generate the fixed repodata.json

image


We should include a test that rattler can solve the environment.yml as well.

We can use

name: python
version: 3.12.3
build: h2628c8c_0_cpython
subdir: win-64
url: https://conda.anaconda.org/conda-forge/win-64/python-3.12.3-h2628c8c_0_cpython.conda
sha256: 1a95494abe572a8819c933f978df89f00bde72ea9432d46a70632599e8029ea4
md5: f07c8c5dd98767f9a652de5d039b284e
depends:
- bzip2 >=1.0.8,<2.0a0
- libexpat >=2.6.2,<3.0a0
- libffi >=3.4,<4.0a0
- libsqlite >=3.45.2,<4.0a0
- libzlib >=1.2.13,<2.0.0a0
as an example where repodata patches occured.

@pavelzw pavelzw added the bug Something isn't working label Jun 4, 2024
@pavelzw
Copy link
Member Author

pavelzw commented Jun 5, 2024

fixed by #10

@pavelzw pavelzw closed this as completed Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant