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

ENH - build environments programmatically from lockfile #856

Open
kcpevey opened this issue Aug 1, 2024 · 1 comment
Open

ENH - build environments programmatically from lockfile #856

kcpevey opened this issue Aug 1, 2024 · 1 comment

Comments

@kcpevey
Copy link
Contributor

kcpevey commented Aug 1, 2024

Context

Note

Comment below adds clarification on the status of env creation from lockfiles -- @trallard

Programmatically building an environment via lockfile is not possible in conda-store, but the recommended approach is unclear.

My understanding is that this is not possible via the python API, but IS possible via the REST API. I looked through the autogenerated REST API docs, but its not clear to me how one would go about this.

Value and/or benefit

The ability to programmatically build environments from a lockfile is one possible approach to backup and restore.

It would be beneficial to all developer type users who would rather do things programmatically.

Anything else?

No response

@kcpevey kcpevey added the area: documentation 📖 Improvements or additions to documentation label Aug 1, 2024
@trallard
Copy link
Collaborator

trallard commented Aug 2, 2024

Right now there is not a native programmatic way to build envs from a lockfile.
There is a way to create a single env and any programmatic approach would require an external script or similar, so this would need to be implemented first, then documented.

@trallard trallard changed the title Document how to build environment programmatically from lockfile ENH - build environments programmatically from lockfile Aug 2, 2024
@trallard trallard added type: enhancement 💅🏼 area: api and removed area: documentation 📖 Improvements or additions to documentation labels Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: New 🚦
Development

No branches or pull requests

2 participants