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

Fix mamba failing to install MSS #1301

Merged
merged 2 commits into from
Dec 9, 2021

Conversation

swsrkty
Copy link
Collaborator

@swsrkty swsrkty commented Dec 6, 2021

Fixes #1299
Discussion: #1298

@swsrkty swsrkty mentioned this pull request Dec 6, 2021
@@ -35,7 +35,8 @@ Once the `conda-forge` channel has been enabled, `mss` can be installed with:

$ conda create -n mssenv mamba
$ conda activate mssenv
$ mamba install mss
(mssenv) $ mamba install mss=6.0.0 python
(mssenv) $ mss
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of the hardcoded 6.0.0 I would like to use the recent tag of the branch, But I've no idea if this can be filled in. If there is a var which we can use.

on command line this can be done by e.g.
https://newbedev.com/how-to-get-the-latest-tag-name-in-current-branch-in-git

If we commit a hardcoded version string this file needs on any further release a change too.

Copy link
Collaborator

@Marilyth Marilyth Dec 7, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't mamba install mss python suffice?
Once the python fixation is gone, it should look for the appropriate version by itself.

That is also how our installer works
https://github.com/Open-MSS/mss-install/blob/main/LinuxMac.sh#L65

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for the test environment I needed to add always python only for any new single package added
https://github.com/Open-MSS/MSS/pull/1294/files#diff-7dc87d4394e1756c519dbfd0b80d3b31377f643f0bc25d3ed807ce8a3794023d

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on windows the install script fetches now the latest version, so no need to change this.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mamba install mss python works, We should not force the version number in the README here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah interesting, so it works because mss finds the appropriate version by itself and we don't need to specify it.

Copy link
Member

@ReimarBauer ReimarBauer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see discussions, comments

@@ -35,7 +35,8 @@ Once the `conda-forge` channel has been enabled, `mss` can be installed with:

$ conda create -n mssenv mamba
$ conda activate mssenv
$ mamba install mss
(mssenv) $ mamba install mss=6.0.0 python
(mssenv) $ mss
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mamba install mss python works, We should not force the version number in the README here.

@swsrkty
Copy link
Collaborator Author

swsrkty commented Dec 8, 2021

mamba install mss python works, We should not force the version number in the README here.

I've checked and removed the version from the instructions.

Copy link
Collaborator

@Marilyth Marilyth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should work this way.

@ReimarBauer ReimarBauer merged commit f5f4d93 into Open-MSS:stable Dec 9, 2021
@ReimarBauer ReimarBauer linked an issue Dec 12, 2021 that may be closed by this pull request
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 this pull request may close these issues.

mamba failing to install MSS through instructions in README
3 participants