Skip to content

Commit 381a6c2

Browse files
committed
Merge branch 'main' into get_slice_bound-kind
2 parents b7c6fe6 + f915515 commit 381a6c2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+937
-841
lines changed

.git-blame-ignore-revs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# black PR 3142
2+
d089df385e737f71067309ff7abae15994d581ec
3+
4+
# isort PR 1924
5+
0e73e240107caee3ffd1a1149f0150c390d43251

.github/workflows/ci-additional.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ jobs:
4242
[
4343
"py37-bare-minimum",
4444
"py37-min-all-deps",
45-
"py37-min-nep18",
4645
"py38-all-but-dask",
4746
"py38-flaky",
4847
]
@@ -103,7 +102,7 @@ jobs:
103102
$PYTEST_EXTRA_FLAGS
104103
105104
- name: Upload code coverage to Codecov
106-
uses: codecov/[email protected].2
105+
uses: codecov/[email protected].3
107106
with:
108107
file: ./coverage.xml
109108
flags: unittests,${{ matrix.env }}

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
path: pytest.xml
101101

102102
- name: Upload code coverage to Codecov
103-
uses: codecov/[email protected].2
103+
uses: codecov/[email protected].3
104104
with:
105105
file: ./coverage.xml
106106
flags: unittests

.github/workflows/upstream-dev-ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122
shopt -s globstar
123123
python .github/workflows/parse_logs.py logs/**/*-log
124124
- name: Report failures
125-
uses: actions/github-script@v4.0.2
125+
uses: actions/github-script@v4.1
126126
with:
127127
github-token: ${{ secrets.GITHUB_TOKEN }}
128128
script: |

ci/install-upstream-wheels.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,5 @@ python -m pip install \
4242
git+https://github.com/hgrecco/pint \
4343
git+https://github.com/pydata/bottleneck \
4444
git+https://github.com/pydata/sparse \
45-
git+https://github.com/intake/filesystem_spec
45+
git+https://github.com/intake/filesystem_spec \
46+
git+https://github.com/SciTools/nc-time-axis

ci/requirements/py37-min-all-deps.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ dependencies:
1515
- cfgrib=0.9
1616
- cftime=1.1
1717
- coveralls
18-
- dask=2.15
19-
- distributed=2.15
18+
- dask=2.24
19+
- distributed=2.24
2020
- h5netcdf=0.8
2121
- h5py=2.10
2222
- hdf5=1.10
@@ -25,13 +25,14 @@ dependencies:
2525
- lxml=4.5 # Optional dep of pydap
2626
- matplotlib-base=3.2
2727
- nc-time-axis=1.2
28-
# netcdf follows a 1.major.minor[.patch] convention (see https://github.com/Unidata/netcdf4-python/issues/1090)
29-
# bumping the netCDF4 version is currently blocked by #4491
28+
# netcdf follows a 1.major.minor[.patch] convention
29+
# (see https://github.com/Unidata/netcdf4-python/issues/1090)
30+
# bumping the netCDF4 version is currently blocked by #4491
3031
- netcdf4=1.5.3
3132
- numba=0.49
3233
- numpy=1.17
3334
- pandas=1.0
34-
# - pint # See py37-min-nep18.yml
35+
- pint=0.15
3536
- pip
3637
- pseudonetcdf=3.1
3738
- pydap=3.2
@@ -44,7 +45,7 @@ dependencies:
4445
- scipy=1.4
4546
- seaborn=0.10
4647
- setuptools=40.4
47-
# - sparse # See py37-min-nep18.yml
48+
- sparse=0.8
4849
- toolz=0.10
4950
- zarr=2.4
5051
- pip:

ci/requirements/py37-min-nep18.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

doc/ecosystem.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Geosciences
1616
- `climpred <https://climpred.readthedocs.io>`_: Analysis of ensemble forecast models for climate prediction.
1717
- `geocube <https://corteva.github.io/geocube>`_: Tool to convert geopandas vector data into rasterized xarray data.
1818
- `GeoWombat <https://github.com/jgrss/geowombat>`_: Utilities for analysis of remotely sensed and gridded raster data at scale (easily tame Landsat, Sentinel, Quickbird, and PlanetScope).
19-
- `infinite-diff <https://github.com/spencerahill/infinite-diff>`_: xarray-based finite-differencing, focused on gridded climate/meterology data
19+
- `infinite-diff <https://github.com/spencerahill/infinite-diff>`_: xarray-based finite-differencing, focused on gridded climate/meteorology data
2020
- `marc_analysis <https://github.com/darothen/marc_analysis>`_: Analysis package for CESM/MARC experiments and output.
2121
- `MetPy <https://unidata.github.io/MetPy/dev/index.html>`_: A collection of tools in Python for reading, visualizing, and performing calculations with weather data.
2222
- `MPAS-Analysis <http://mpas-analysis.readthedocs.io>`_: Analysis for simulations produced with Model for Prediction Across Scales (MPAS) components and the Accelerated Climate Model for Energy (ACME).
@@ -46,7 +46,6 @@ Geosciences
4646
- `xESMF <https://pangeo-xesmf.readthedocs.io/>`_: Universal regridder for geospatial data.
4747
- `xgcm <https://xgcm.readthedocs.io/>`_: Extends the xarray data model to understand finite volume grid cells (common in General Circulation Models) and provides interpolation and difference operations for such grids.
4848
- `xmitgcm <http://xgcm.readthedocs.io/>`_: a python package for reading `MITgcm <http://mitgcm.org/>`_ binary MDS files into xarray data structures.
49-
- `xshape <https://xshape.readthedocs.io/>`_: Tools for working with shapefiles, topographies, and polygons in xarray.
5049

5150
Machine Learning
5251
~~~~~~~~~~~~~~~~
@@ -68,7 +67,7 @@ Extend xarray capabilities
6867
- `hypothesis-gufunc <https://hypothesis-gufunc.readthedocs.io/en/latest/>`_: Extension to hypothesis. Makes it easy to write unit tests with xarray objects as input.
6968
- `nxarray <https://github.com/nxarray/nxarray>`_: NeXus input/output capability for xarray.
7069
- `xarray-compare <https://github.com/astropenguin/xarray-compare>`_: xarray extension for data comparison.
71-
- `xarray-custom <https://github.com/astropenguin/xarray-custom>`_: Data classes for custom xarray creation.
70+
- `xarray-dataclasses <https://github.com/astropenguin/xarray-dataclasses>`_: xarray extension for typed DataArray and Dataset creation.
7271
- `xarray_extras <https://github.com/crusaderky/xarray_extras>`_: Advanced algorithms for xarray objects (e.g. integrations/interpolations).
7372
- `xpublish <https://xpublish.readthedocs.io/>`_: Publish Xarray Datasets via a Zarr compatible REST API.
7473
- `xrft <https://github.com/rabernat/xrft>`_: Fourier transforms for xarray data.

doc/getting-started-guide/installing.rst

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,6 @@ dependencies:
9595
- **setuptools:** 42 months (but no older than 40.4)
9696
- **numpy:** 18 months
9797
(`NEP-29 <https://numpy.org/neps/nep-0029-deprecation_policy.html>`_)
98-
- **dask and dask.distributed:** 12 months
99-
- **sparse, pint** and other libraries that rely on
100-
`NEP-18 <https://numpy.org/neps/nep-0018-array-function-protocol.html>`_
101-
for integration: very latest available versions only, until the technology will have
102-
matured. This extends to dask when used in conjunction with any of these libraries.
103-
numpy >=1.17.
10498
- **all other libraries:** 12 months
10599

106100
This means the latest minor (X.Y) version from N months prior. Patch versions (x.y.Z)
@@ -109,10 +103,7 @@ release is guaranteed to work.
109103

110104
You can see the actual minimum tested versions:
111105

112-
- `For NEP-18 libraries
113-
<https://github.com/pydata/xarray/blob/main/ci/requirements/py37-min-nep18.yml>`_
114-
- `For everything else
115-
<https://github.com/pydata/xarray/blob/main/ci/requirements/py37-min-all-deps.yml>`_
106+
`<https://github.com/pydata/xarray/blob/main/ci/requirements/py37-min-all-deps.yml>`_
116107

117108
.. _installation-instructions:
118109

doc/roadmap.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Why has xarray been successful? In our opinion:
3737
labeled multidimensional arrays, rather than solving particular
3838
problems.
3939
- This facilitates collaboration between users with different needs,
40-
and helps us attract a broad community of contributers.
40+
and helps us attract a broad community of contributors.
4141
- Importantly, this retains flexibility, for use cases that don't
4242
fit particularly well into existing frameworks.
4343

@@ -82,7 +82,7 @@ We think the right approach to extending xarray's user community and the
8282
usefulness of the project is to focus on improving key interfaces that
8383
can be used externally to meet domain-specific needs.
8484

85-
We can generalize the community's needs into three main catagories:
85+
We can generalize the community's needs into three main categories:
8686

8787
- More flexible grids/indexing.
8888
- More flexible arrays/computing.

0 commit comments

Comments
 (0)