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
Add update instructions #2621
Add update instructions #2621
Conversation
Codecov Report
@@ Coverage Diff @@
## RELEASE_next_patch #2621 +/- ##
======================================================
+ Coverage 76.30% 76.33% +0.02%
======================================================
Files 202 202
Lines 29603 29640 +37
Branches 6461 6469 +8
======================================================
+ Hits 22590 22625 +35
- Misses 5236 5237 +1
- Partials 1777 1778 +1
Continue to review full report at Codecov.
|
@NathalieBrun, based on the suggestions your made on gitter, I have updated the installation section of the user. Could you please check the follow page and comment if necessary? https://hyperspy--2621.org.readthedocs.build/en/2621/user_guide/install.html |
Hello
thanks for taking into account my questions.
I have other questions that maybe could be useful in the user guide :
- if you have an HyperSpy bundle installation can you update it using "conda update ... "? Some people told me to simply uninstall it then reinstall the new version, is it OK to do so?
- in my case I had to specify the current version to update, is it a bug in my previous installation (made with Anaconda Navigator, cf 3rd question)? You could indicate in the User Guide that specify the version can solve an issue, even if you want to update with the current version.
- is it not recommended to do the installation with Anaconda Navigator (which is very convenient to manage environments and versions of the different packages) ?
Best regards
Nathalie Brun
De: "Eric Prestat" <notifications@github.com>
À: "hyperspy/hyperspy" <hyperspy@noreply.github.com>
Cc: "Nathalie Brun" <nathalie.brun@u-psud.fr>, "Mention" <mention@noreply.github.com>
Envoyé: Mardi 19 Janvier 2021 18:56:40
Objet: Re: [hyperspy/hyperspy] Add update instructions (#2621)
[ https://github.com/NathalieBrun | @NathalieBrun ] , based on the suggestions your made on gitter, I have updated the installation section of the user. Could you please check the follow page and comment if necessary?
[ https://hyperspy--2621.org.readthedocs.build/en/2621/user_guide/install.html | https://hyperspy--2621.org.readthedocs.build/en/2621/user_guide/install.html ]
—
You are receiving this because you were mentioned.
Reply to this email directly, [ #2621 (comment) | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/AAIXDIBWHKVLT4HXB4YNWKTS2XBVRANCNFSM4WEVWFDA | unsubscribe ] .
|
Yes, this should work fine if your hyperspy bundle is not the portable one or <=2019.07.28 - see https://github.com/hyperspy/hyperspy-bundle/releases for details. Uninstalling and reinstalling will definitively work! In the past, updating was not as easy and trouble free as of today, and I guess this is why people will choose this route!
This isn't an expected behaviour but there may be various reasons for this - most likely you had other dependencies in your environment preventing hyperspy to update, but I would imagine that this is a corner case.
There are "integration issues" with Anaconda navigator: it works well only with the anaconda distribution and it doesn't always work well with |
Thanks a lot I think everything is clear now.
Best regards
Nathalie Brun
De: "Eric Prestat" <notifications@github.com>
À: "hyperspy/hyperspy" <hyperspy@noreply.github.com>
Cc: "Nathalie Brun" <nathalie.brun@u-psud.fr>, "Mention" <mention@noreply.github.com>
Envoyé: Mercredi 20 Janvier 2021 15:30:49
Objet: Re: [hyperspy/hyperspy] Add update instructions (#2621)
* if you have an HyperSpy bundle installation can you update it using "conda update ... "? Some people told me to simply uninstall it then reinstall the new version, is it OK to do so?
Yes, this should work fine if your hyperspy bundle is not the portable one or <=2019.07.28 - see [ https://github.com/hyperspy/hyperspy-bundle/releases | https://github.com/hyperspy/hyperspy-bundle/releases ] for details.
Uninstalling and reinstalling will definitively work! In the past, updating was not as easy and trouble free as of today, and I guess this is why people will choose this route!
BQ_BEGIN
* in my case I had to specify the current version to update, is it a bug in my previous installation (made with Anaconda Navigator, cf 3rd question)? You could indicate in the User Guide that specify the version can solve an issue, even if you want to update with the current version.
BQ_END
This isn't an expected behaviour but there may be various reasons for this - most likely you had other dependencies in your environment preventing hyperspy to update, but I would imagine that this is a corner case.
BQ_BEGIN
* is it not recommended to do the installation with Anaconda Navigator (which is very convenient to manage environments and versions of the different packages) ?
BQ_END
There are "integration issues" with Anaconda navigator: it works well only with the anaconda distribution and it doesn't always work well with conda-forge which is the community and main repository for scientific packages and the one we rely on.
Instead, I think, that we should recommend alternative to the Anaconda navigator, as mentioned in [ #2618 (comment) | #2618 (comment) ] .
—
You are receiving this because you were mentioned.
Reply to this email directly, [ #2621 (comment) | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/AAIXDIEUWLTHURZQOUUXVODS23SJTANCNFSM4WEVWFDA | unsubscribe ] .
|
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.
LGTM
…pdate_instructions # Conflicts: # CHANGES.rst
750e73d
to
0b31813
Compare
Closes #2618.
Progress of the PR
CHANGES.rst
,