-
Notifications
You must be signed in to change notification settings - Fork 357
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 export does not export pip as a dependency of conda and throws syntax error with Windows runner #2686
Comments
Can you try to reproduce this locally (without GHA) with a recent version of Micromamba and Conda? |
I asked a colleague who has Windows installed to do it. Will come back to you with the results. In the meantime I also changed the input
Here also something strange is happening. Pip lists itself as a dependency:
|
@jonashaag : @Engrammae could reproduce the errors locally on his Windows machine. Might then be a mamba/micromamba issue? |
Yes! |
I transfered the issue to the Mamba repo |
I am using
mamba-org/setup-micromamba@v1
to solve an environment using an input.yml
file and then export the solved environment using:conda env export -p "${MAMBA_ROOT_PREFIX}/envs/test" | grep -v "^prefix: " > test_solved.yml
(see this link)When I use the
ubuntu-latest
runner, everything works fine, but when I use thewindows-latest
image, two strange things happen:1.) Normally,
pip
itself should appear as a dependency itself in the conda section before the pip packages get listed. This does not happen.2.) When inspecting the exported
.yml
file there seems to be a syntax error. The first package under thepip:
section looks like this:I created a minimal repo to reproduce this error: https://github.com/JohannesWiesner/test_push_yml/tree/main
The text was updated successfully, but these errors were encountered: