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

Recommended Workflow for Local Use #245

Closed
ytausch opened this issue Nov 25, 2024 · 2 comments
Closed

Recommended Workflow for Local Use #245

ytausch opened this issue Nov 25, 2024 · 2 comments

Comments

@ytausch
Copy link

ytausch commented Nov 25, 2024

What is the recommended workflow for running this locally? Should I clone the repository and call relock.py?

@beckermr
Copy link
Member

You can use conda-lock directly. The git diff will be a mess, but it will still work just fine. This action only reformats the conda-lock output.

@ytausch
Copy link
Author

ytausch commented Nov 25, 2024

Fine by me. For future reference: I also got it working by running this giant CLI command:

python ../relock-conda/relock.py --environment-file environment.yml --lock-file conda-lock.yml --ignored-packages  "" --relock-all-packages "true" --include-only-packages ""

It still prints /bin/sh: : No such file or directory (I don't know why because /bin/sh exists) but relocks the lock file.

@ytausch ytausch closed this as completed Nov 25, 2024
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

No branches or pull requests

2 participants