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

DOC: put pip install with extra dependency in quotation #1346

Merged
merged 3 commits into from Sep 9, 2020
Merged

DOC: put pip install with extra dependency in quotation #1346

merged 3 commits into from Sep 9, 2020

Conversation

raybellwaves
Copy link
Contributor

  • [NA] Closes #xxxx
  • [NA] Tests added
  • [NA] Passes flake8 satpy
  • [NA] Fully documented
  • [NA] Add your name to AUTHORS.md if not there already

@djhoese
Copy link
Member

djhoese commented Sep 7, 2020

I suppose this fails on some command line interfaces because it tries to interpret the [] brackets?

@raybellwaves
Copy link
Contributor Author

I suppose this fails on some command line interfaces because it tries to interpret the [] brackets?

Not sure. On OSX. Remembered seeing quotes in dask (https://docs.dask.org/en/latest/install.html#pip).

@raybellwaves
Copy link
Contributor Author

Moved "all" to "complete". I believe this is more desired. i.e. this time it made it past the numpy error (#1347) and gets to the pykdtree error (#1337).

@coveralls
Copy link

coveralls commented Sep 7, 2020

Coverage Status

Coverage decreased (-0.003%) to 90.265% when pulling 2d8797f on raybellwaves:patch-1 into 477136b on pytroll:master.

@codecov
Copy link

codecov bot commented Sep 7, 2020

Codecov Report

Merging #1346 into master will decrease coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1346      +/-   ##
==========================================
- Coverage   90.26%   90.26%   -0.01%     
==========================================
  Files         226      226              
  Lines       32718    32718              
==========================================
- Hits        29534    29533       -1     
- Misses       3184     3185       +1     
Impacted Files Coverage Δ
satpy/scene.py 90.42% <0.00%> (-0.18%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 477136b...2d8797f. Read the comment docs.

Copy link
Member

@mraspaud mraspaud left a comment

Choose a reason for hiding this comment

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

Thanks for submitting this. You just need to revert 'complete' to 'all'


Or all at once, although this isn't recommended due to the large number of
dependencies:

.. code-block:: bash

$ pip install satpy[all]
$ pip install "satpy[complete]"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
$ pip install "satpy[complete]"
$ pip install "satpy[all]"

We don't have 'complete' defined in our setup.py file.

Copy link
Member

Choose a reason for hiding this comment

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

To give more context to what @mraspaud is saying @raybellwaves: The thing inside the brackets is actually referencing items mentioned in the "extra_requires" parameter of the setup.py file. In our setup.py we call this special "all extra dependencies"-type thing "all". In other projects it sounds like they call it "complete".

Copy link
Contributor Author

Choose a reason for hiding this comment

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

But complete works which is why I'm confused and it gets further than all. Anyway I'll revert back to all and move this to a new issue

Copy link
Member

Choose a reason for hiding this comment

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

See my comment on your new issue #1350. complete and all aren't features of pip, they are manually coded "extras" that dask and satpy have included for the users convenience. They call theirs complete, we call ours all.

@mraspaud mraspaud added this to the v0.23.0 milestone Sep 9, 2020
@mraspaud mraspaud merged commit 4b5c503 into pytroll:master Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants