-
Notifications
You must be signed in to change notification settings - Fork 202
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
lock file out-of-date for streamlit pypi package + multienv #2373
Comments
Is anyone else facing similar issues? I have #2373 and the lock file is not working as intended somehow not updated. The particular example mentioned by the original poster is not reproducible for me. I am working on adding a reproducible example. I am using 0.39 (current latest) pixi. [dependencies]
python = "3.11"
pip = ">=24.2"
[environments]
foo = { features = [
"foo",
], solve-group = "foo" }
[feature.foo.pypi-dependencies]
deepeval = "~=1.4.5"
[project]
name = "baz"
version = "1.0.0"
description = "bar"
authors = [
"foo",
]
platforms = ["linux-64", "win-64", "osx-arm64"]
channels = ["conda-forge"] to reproduce: pixi install
pixi install --locked |
though: |
I just checkout your example @geoHeil, It's an interesting case.
- kind: pypi
name: tzdata
version: '2024.2'
url: https://files.pythonhosted.org/packages/a6/ab/7e5f53c3b9d14972843a647d8d7a853969a58aecc7559cb3267302c94774/tzdata-2024.2-py2.py3-none-any.whl
sha256: a48093786cdcde33cad18c2555e8532f34422074448fbc874186f0abd79565cd
requires_python: '>=2'
- kind: conda
name: tzdata
version: 2024b
build: hc8b5060_0
subdir: noarch
noarch: generic
url: https://conda.anaconda.org/conda-forge/noarch/tzdata-2024b-hc8b5060_0.conda
sha256: 4fde5c3008bf5d2db82f2b50204464314cc3c91c1d953652f7bd01d9e52aefdf
md5: 8ac3367aafb1cc0a068483c580af8015
license: LicenseRef-Public-Domain
size: 122354
timestamp: 1728047496079 I would have expected the mapping to avoid this, but it seems to not be seen as a pypi package from the mapping: https://conda-mapping.prefix.dev/hash-v0/4fde5c3008bf5d2db82f2b50204464314cc3c91c1d953652f7bd01d9e52aefdf It does indeed regress between |
We found it. We'll fix this asap. It's a bug in our It's only an issue where you have |
Awesome! And thanks for your speed. |
I made an initial attempt at a fix here: conda/rattler#965 |
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
This is the
pixi.toml
:Execute the following commands:
Issue description
The lock file is out-of-date, although it should be:
Interestingly, enabling the default feature for
dev
gets rid of the error.pixi.lock
Expected behavior
pixi install --locked
should return normally.The text was updated successfully, but these errors were encountered: