-
Notifications
You must be signed in to change notification settings - Fork 286
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
Extended the installation description #3958
Conversation
As mentioned in Issue 3949, installation of Iris on Ubuntu was very difficult. I described an easy way to install Iris on Ubuntu without conda here.
Just signed this CLA. |
Maybe someone can help me with why these tests fail? |
The two doc tasks have failed as there are some warnings in the build. The build flag to promote warnings to errors is enabled, this ensures the documentation does not degrade over time. I think the warnings seem to be:
(see this on cirrus: https://cirrus-ci.com/task/6044147754729472?command=tests#L593) I think you may have renamed the existing label _installing_from_source to be _installing_from_source_with_conda, meaning the existing references to the old label are now flagging an error. I suggest you rename the label back, or correct the references in the above three files. HTH. |
_installing_from_source_with_conda -> _installing_from_source because tests failed
Don't know what went wrong now. Is it because of this: (line 245) broken https://www.unidata.ucar.edu/software/udunits/udunits-current/doc/udunits/udunits2.html - 404 Client Error: Not Found for url: https://www.unidata.ucar.edu/software/udunits/udunits-current/doc/udunits/udunits2.html maybe? |
The change in #3942 is due to be merged back into |
... alternatively you could just cherry pick the relevant commit (83d1b72) onto your branch as soon as you like:
|
* update links * added s to http
The changes render html ok. I would suggest that the new lines added are limited to 80 chars in length as it makes reading the source .rst files much easier. The only exceptions are when you embed commands, so the sudo and pip3 commands are ok on a single line. I hope that makes sense. We should be get to get this approved and then merged. |
The commit I did from the command line (c557a20) screwed it up I think. CLA-checker refuses to accept it now. |
Re-do those commits using a |
Should be okay now. |
@MHBalsmeier Awesome! Thanks for taking the time to contribute this PR - it's really appreciated 😀 As an aside, I'm soon to push the Fancy confirming whether the install of 3.0.0 works from PyPI? |
@MHBalsmeier Also, could you make an entry for your PR in the We're keen to recognise your valued contribution 👍 |
docs/iris/src/installing.rst
Outdated
Finally, Iris and its Python dependencies can be installed with the following | ||
command:: | ||
|
||
pip3 install astropy tqdm oktopus bs4 setuptools nc_time_axis cython cfunits cf-units cf-python pandas stratify pyugrid scitools-pyke black imagehash nose asv scitools-iris |
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.
@MHBalsmeier You seem to have quite a few extra dependencies and optional dependencies mixed in here... would it be possible to strip this example back to it's essential bare minimum?
I'm guessing that this is the package dependency requirements for your specific area of research/work.
The following appear to extra dependencies for your particular needs:
astropy
tqdm
oktopus
bs4
cython
cf-python
asv
The following appear to be optional dependencies of iris
, but not strictly necessary:
nc_time_axis
pandas
stratify
pyugrid
black
imagehash
nose
I'm also assuming that cfunits
isn't a necessary dependency for cf-units
? (cfunits
is a similar package as our SciTools cf-units
, which is maintained by David Hassell from Reading University)
So, I guess my question is, could this actually boil down to simply:
> pip3 install setuptools cf-units scitools-pyke scitools-iris
Although, I'm guessing (off the top of my head) that cython
is necessary for cf-units
? If that's the case then we have:
> pip3 install setuptools cython cf-units scitools-pyke scitools-iris
Is it possible for you to confirm this?
@MHBalsmeier BTW I've just uploaded |
The way I have it now works with v3.0.0. cftime would throw an error if not included explicitly with a version number due to a dependency conflict. |
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.
@MHBalsmeier Awesome work! Thank you! 💯 🎉 🍻
LGTM... @trexfeathers I'll leave you review and merge when your happy 👍
* master: remove explicit URLs for core dev names from latest.rst (SciTools#3973) document that iris.coords.Coord is an ABC (SciTools#3971) reorganise docs common links + add core devs (SciTools#3972) Docs whatsnew add dropdowns to the template (SciTools#3969) Docs whatsnew enumerated lists (SciTools#3970) Merge back v3p0p1 (SciTools#3966) Captilise installation heading - align SciTools#3958 content with SciTools#3940. (SciTools#3963) Merge back v3p0p0 (SciTools#3960) Extended the installation description (SciTools#3958)
* master: (23 commits) Added text to state the Python version used to build the docs. (SciTools#3989) add nox session conda list (SciTools#3990) Add abstract cube summary (SciTools#3987) automate docs discovery of iris and python versions (SciTools#3981) corrected syntax (SciTools#3980) core dev whatsnew entry (SciTools#3978) moved docs dir and updated references to it (SciTools#3975) Fix test_incompatible_dimensions test (SciTools#3977) remove explicit URLs for core dev names from latest.rst (SciTools#3973) document that iris.coords.Coord is an ABC (SciTools#3971) reorganise docs common links + add core devs (SciTools#3972) Docs whatsnew add dropdowns to the template (SciTools#3969) Docs whatsnew enumerated lists (SciTools#3970) Merge back v3p0p1 (SciTools#3966) Captilise installation heading - align SciTools#3958 content with SciTools#3940. (SciTools#3963) Merge back v3p0p0 (SciTools#3960) Extended the installation description (SciTools#3958) Put cube data on the x axis if plotting just a cube against a vertical or y coordinate (SciTools#3906) remove stock_mdi_arrays.npz (SciTools#3913) Gallery: update seasonal ensemble example (SciTools#3933) ...
🚀 Pull Request
Description
As mentioned in Issue 3949, installation of Iris on Ubuntu was very difficult. I described an easy way to install Iris on Ubuntu without conda in the installation file in the documentation.