-
Notifications
You must be signed in to change notification settings - Fork 101
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
Conversation
@@ -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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this 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 |
There was a problem hiding this comment.
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.
I've checked and removed the version from the instructions. |
There was a problem hiding this 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.
Fixes #1299
Discussion: #1298