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

Commit conda-lock.yml to repository #122

Closed
scottyhq opened this issue Aug 6, 2024 · 3 comments · Fixed by #123
Closed

Commit conda-lock.yml to repository #122

scottyhq opened this issue Aug 6, 2024 · 3 comments · Fixed by #123

Comments

@scottyhq
Copy link
Contributor

scottyhq commented Aug 6, 2024

It would be useful to commit the unified lockfile to this repository in addition to the platform-specific
https://github.com/CryoInTheCloud/hub-image/blob/main/conda-linux-64.lock

This would facilitate installing the cryocloud environment (at least the conda-forge part) on different systems
ICESAT-2HackWeek/website-2024#17 (comment)

@weiji14
Copy link
Member

weiji14 commented Aug 6, 2024

Maybe time for me to pick up on #14 again 😆 Do we want both the conda-lock.yml file and conda-linux-64.lock file?

@weiji14
Copy link
Member

weiji14 commented Aug 6, 2024

Oh wait actually, #14 might have been chewing on too much as it was trying to install from the conda-lock.yml via a postBuild script. I can open a separate smaller PR for just adding a conda-lock.yml file.

@scottyhq
Copy link
Contributor Author

scottyhq commented Aug 6, 2024

Yeah for starters just linux-64 conda-lock.yml in addition to conda-linux-64.lock would be useful.

conda-lock lock -p linux-64
conda-lock render -k explicit -p linux-64

Looks like other platforms aren't happy with a few of the packages:

Could not lock the environment for platform osx-64
Could not solve for environment specs
The following package could not be installed
└─ ocl-icd-system does not exist (perhaps a typo or a missing channel).

scottyhq added a commit that referenced this issue Aug 14, 2024
Syncing with the changes at
ICESAT-2HackWeek/website-2024#18 by:

- Pinning `sphinx` explicity to 7.3 (was resolving to 5.1.1 before)
- Upgrade `awscli` from 1.27.76 to 2.17 to resolve conflict on
`docutils` (see
ICESAT-2HackWeek/website-2024#18 (comment))
- Downgrade `ipython` from 8.20.0 to 8.17 to resolve conflict on
`prompt_toolkit` (see
ICESAT-2HackWeek/website-2024#18 (comment))

This PR also adds a 'conda-lock.yml' (following #122) in addition to the
existing 'conda-lock-linux64.yml' file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants