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

conda install -n base conda-lock no longer works with existing Lockfiles due to new conda-lock release #1488

Open
3 tasks done
rohanku opened this issue May 28, 2023 · 4 comments
Labels

Comments

@rohanku
Copy link

rohanku commented May 28, 2023

Background Work

Chipyard Version and Hash

Release: 1.5.0
Hash: a6a6a6

OS Setup

Darwin rohanmbp.local 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64

conda-lock version 2.0.0

Other Setup

Followed documentation for setting up Chipyard repository.

Current Behavior

conda-lock is unable to read Lockfiles during ./build-setup.sh

Expected Behavior

conda-lock should be able to parse Lockfiles (works when constrained to version 1.4.0 using conda install -n base conda-lock=1.4.0)

Other Information

No response

@rohanku rohanku added the bug label May 28, 2023
@jerryz123
Copy link
Contributor

Are you saying that the amending the instructions to be conda install -n base conda-lock=1.4.0 (forcing a version) will fix the issue? If so, can you just PR it to main?

@JL102
Copy link
Contributor

JL102 commented Jun 12, 2023

Are you saying that the amending the instructions to be conda install -n base conda-lock=1.4.0 (forcing a version) will fix the issue? If so, can you just PR it to main?

I can verify that downgrading conda-lock from v2.0.0 to v1.4.0 stops the issue as described on this separate forum thread: https://discuss.python.org/t/validation-error/27335
The issue I was encountering was not during the conda install -n base conda-lock step, but in fact occurred when attempting to run build-setup.sh.

@fangrouli
Copy link

I can verify that downgrading conda-lock from v2.0.0 to v1.4.0 stops the issue as described
in fact occurred when attempting to run build-setup.sh.

Exactly same behaviour. Recommends quoting this in the documentation.

@jspkay
Copy link

jspkay commented Jun 26, 2023

I had the same issue and confirm that downgrading conda-lock to 1.4.0 solved the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants