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

update environment and lock files #51

Closed
wants to merge 2 commits into from
Closed

update environment and lock files #51

wants to merge 2 commits into from

Conversation

tsnow03
Copy link
Member

@tsnow03 tsnow03 commented Feb 15, 2023

Copying the environment from the hub-image repo and adding a lock file. The old lock file isn't working and package updates for jupyter book will be really nice to have.

@github-actions
Copy link

Binder 👈 Launch a binder notebook on this branch

@weiji14
Copy link
Member

weiji14 commented Feb 22, 2023

@tsnow03, is this just syncing the CryoCloudWebsite's environment.yml file with the one at https://github.com/CryoInTheCloud/hub-image/blob/13c06aff40c93435f0b7c44d02e74f24e381b02a/environment.yml?

@tsnow03
Copy link
Member Author

tsnow03 commented Feb 24, 2023

I'd like to. I'm not actually getting a lock file that builds properly. I'll work on this tomorrow.

@tsnow03 tsnow03 marked this pull request as draft February 24, 2023 06:03
@weiji14
Copy link
Member

weiji14 commented Feb 24, 2023

Are you getting the same error as in conda/conda-lock#292? Might need to downgrade to conda=22.9.

@tsnow03
Copy link
Member Author

tsnow03 commented Mar 10, 2023

I'm using conda=4.13.0. I was able to build the new conda lock file, but using conda env create --name cryocloud --file conda-linux-64.lock.yml will not create a new environment.

Solving environment: failed

ResolvePackageNotFound: 
  - nss==3.78=h2350873_0
  - kealib==1.4.15=ha7026e8_1
  - postgresql==14.5=ha105346_1
  - xorg-libxau==1.0.9=h7f98852_0
  - blosc==1.21.1=h83bc5f7_3
  - icu==70.1=h27087fc_0
  - kiwisolver==1.4.4=py39hf939315_1
  - libgfortran-ng==12.2.0=h69a702a_19
  - ....

@weiji14
Copy link
Member

weiji14 commented Mar 11, 2023

I'm using conda=4.13.0. I was able to build the new conda lock file, but using conda env create --name cryocloud --file conda-linux-64.lock.yml will not create a new environment.

Hmm, conda=4.13.0 is a little old now (released 20 May 2022). Maybe try updaing it using conda update -n base conda and try again?

Looking through the packages you listed like nss, kealib, postgresql, etc. It seems that the conda=4.13.0 is picking up slightly older versions which are packaged using the .tar.bz2 archive format, even though conda-forge has moved to the a more lightweight .conda format by default now (see conda-forge/conda-forge.github.io#1586). Still, I don't see why you wouldn't be able to install either of them with conda=4.13.0 (would maybe ask @scottyhq), but maybe updating your conda installer to a 22.* version can help 🤷

@wsauthoff wsauthoff closed this May 26, 2023
@wsauthoff wsauthoff deleted the envwork branch May 26, 2023 20:36
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 this pull request may close these issues.

3 participants