-
Notifications
You must be signed in to change notification settings - Fork 168
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
fix: Version parsing for mamba 1 #936
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
This reverts commit 04531bf.
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
The output to
I am trying to understand the origin of the error. Is there something specific to do? |
The signing error is expected since the installers are not signed. As you correctly noticed, the installation continues afterwards. Unfortunately, there are no error messages in the output. If you run this locally, you should be able to look at My initial guess is that |
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Is there another way to proceed than by c6cfe81? |
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Here is an example: https://github.com/conda/constructor/blob/main/examples/scripts/construct.yaml#L9-L13 You could do the same with the mamba version:
|
I think the problem you are currently running into is that I don't see that Miniforge is uninstalled after test execution. The pkg installers can unfortunately only be installed into select locations, so the mamba2 example will attempt to install into the same location as the mamba1 version, which is not allowed. So, you either remove the installation directory after the test or you parametrize the location via default_location_pkg. |
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Gentle follow-up, @marcoesters: does this solution work for you? |
Description
Fix mamba-org/mamba#3772.
#914 only parses the version correctly for mamba 2 but mamba<2 displayed the version differently:
Checklist - did you ...
news
directory (using the template) for the next release's release notes?