Skip to content

Use condas dask-core in ci instead of dask to speedup ci and reduce dependencies - #6007

Merged
dcherian merged 11 commits into
pydata:mainfrom
aaronspring:patch-1
Nov 28, 2021
Merged

Use condas dask-core in ci instead of dask to speedup ci and reduce dependencies#6007
dcherian merged 11 commits into
pydata:mainfrom
aaronspring:patch-1

Conversation

@aaronspring

@aaronspringaaronspring commented Nov 19, 2021

Copy link
Copy Markdown
Contributor
  • Closes #xxxx
  • Tests added
  • Passes pre-commit run --all-files
  • User visible changes (including notable bug fixes) are documented in whats-new.rst
  • New functions/methods are listed in api.rst

Tried to reduce dependencies from installing dask via conda which installs like pip install dask[complete]. dask-core is like pip install dask. xgcm/xhistogram#71 (comment)

Why? dask[complete] includes bokeh etc which are not needed here and likely speed up CI setup/install times

but now dask and dask-core are conda installed :( seems like iris installs dask https://github.com/conda-forge/iris-feedstock/blob/master/recipe/meta.yaml, so this would require an iris-feedstock PR first

linking SciTools/iris#4434 and conda-forge/iris-feedstock#77

@aaronspring
aaronspring marked this pull request as draft November 20, 2021 23:27
@aaronspringaaronspring changed the title dask-coreUse condas dask-core in ci instead of dask to speedup ci and reduce dependenciesNov 23, 2021
@aaronspring
aaronspring marked this pull request as ready for review November 23, 2021 23:59
@aaronspring

Copy link
Copy Markdown
ContributorAuthor

bokeh etc not installed anymore when temporarily not installing iris from conda https://github.com/pydata/xarray/runs/4298565586?check_suite_focus=true

Comment threadci/requirements/doc.yml Outdated
@dcheriandcherian added the plan to merge Final call for comments label Nov 24, 2021
@dcherian
dcherian merged commit cc03589 into pydata:mainNov 28, 2021
@aaronspring
aaronspring deleted the patch-1 branch November 28, 2021 21:01
dcherian added a commit to dcherian/xarray that referenced this pull request Dec 2, 2021
* upstream/main:
fix grammatical typo in docs (pydata#6034)
Use condas dask-core in ci instead of dask to speedup ci and reduce dependencies (pydata#6007)
Use complex nan by default when interpolating out of bounds (pydata#6019)
Simplify missing value handling in xarray.corr (pydata#6025)
Add pyXpcm to Related Projects doc page (pydata#6031)
Make xr.corr and xr.map_blocks work without dask (pydata#5731)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

plan to mergeFinal call for comments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@aaronspring@dcherian