Skip to content

Commit 103657d

Browse files
committed
Merge remote-tracking branch 'upstream/master' into fix-contourf-set_under
* upstream/master: (71 commits) Optimize isel for lazy array equality checking (pydata#3588) pin msgpack (pydata#3793) concat now handles non-dim coordinates only present in one dataset (pydata#3769) Add new h5netcdf backend phony_dims kwarg (pydata#3753) always use dask_array_type for isinstance calls (pydata#3787) allow formatting the diff of ndarray attributes (pydata#3728) Pint support for variables (pydata#3706) Format issue template comment as md comment (pydata#3790) Avoid running test_open_mfdataset_list_attr without dask (pydata#3780) remove seaborn.apionly compatibility (pydata#3749) Python 3.8 CI (pydata#3727) PKG: Explicitly add setuptools dependency (pydata#3628) update whats-new Typo in Universal Functions section (pydata#3663) Release v0.15.0 fix setup.cfg Documentation fixes (pydata#3732) Remove extra && in PR template (pydata#3730) Remove garbage text inserted in DASK_LICENSE (pydata#3729) Avoid unsafe use of pip (pydata#3726) ...
2 parents 061ddf2 + f468a06 commit 103657d

File tree

115 files changed

+6528
-4605
lines changed

Some content is hidden

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

115 files changed

+6528
-4605
lines changed

.binder/environment.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: xarray-examples
22
channels:
33
- conda-forge
44
dependencies:
5-
- python=3.7
5+
- python=3.8
66
- boto3
77
- bottleneck
88
- cartopy
@@ -31,6 +31,7 @@ dependencies:
3131
- rasterio
3232
- scipy
3333
- seaborn
34+
- setuptools
3435
- sparse
3536
- toolz
3637
- xarray

.coveragerc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ omit =
55
xarray/core/npcompat.py
66
xarray/core/pdcompat.py
77
xarray/core/pycompat.py
8-
xarray/_version.py

.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
# reduce the number of merge conflicts
22
doc/whats-new.rst merge=union
3-
xarray/_version.py export-subst

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ assignees: ''
2424

2525
#### Output of ``xr.show_versions()``
2626
<details>
27-
# Paste the output here xr.show_versions() here
27+
<!-- Paste the output here xr.show_versions() here -->
2828

2929
</details>

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
- [ ] Closes #xxxx
44
- [ ] Tests added
5-
- [ ] Passes `black . && mypy . && flake8`
5+
- [ ] Passes `isort -rc . && black . && mypy . && flake8`
66
- [ ] Fully documented, including `whats-new.rst` for all changes and `api.rst` for new API

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ doc/savefig
1515
# Packages
1616
*.egg
1717
*.egg-info
18+
.eggs
1819
dist
1920
build
2021
eggs
@@ -65,7 +66,6 @@ dask-worker-space/
6566
# xarray specific
6667
doc/_build
6768
doc/generated
68-
xarray/version.py
6969
xarray/tests/data/*.grib.*.idx
7070

7171
# Sync tools

.pre-commit-config.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,24 @@
11
# https://pre-commit.com/
2-
# https://github.com/python/black#version-control-integration
32
repos:
3+
# isort should run before black as black sometimes tweaks the isort output
4+
- repo: https://github.com/timothycrosley/isort
5+
rev: 4.3.21-2
6+
hooks:
7+
- id: isort
8+
# https://github.com/python/black#version-control-integration
49
- repo: https://github.com/python/black
510
rev: stable
611
hooks:
712
- id: black
8-
language_version: python3.7
913
- repo: https://github.com/pre-commit/pre-commit-hooks
1014
rev: v2.2.3
1115
hooks:
1216
- id: flake8
1317
- repo: https://github.com/pre-commit/mirrors-mypy
14-
rev: v0.730 # Must match ci/requirements/*.yml
18+
rev: v0.761 # Must match ci/requirements/*.yml
1519
hooks:
1620
- id: mypy
17-
# run these occasionally, ref discussion https://github.com/pydata/xarray/pull/3194
21+
# run this occasionally, ref discussion https://github.com/pydata/xarray/pull/3194
1822
# - repo: https://github.com/asottile/pyupgrade
1923
# rev: v1.22.1
2024
# hooks:
@@ -23,7 +27,3 @@ repos:
2327
# - "--py3-only"
2428
# # remove on f-strings in Py3.7
2529
# - "--keep-percent-format"
26-
# - repo: https://github.com/timothycrosley/isort
27-
# rev: 4.3.21-2
28-
# hooks:
29-
# - id: isort

MANIFEST.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,4 @@ recursive-include doc *
44
prune doc/_build
55
prune doc/generated
66
global-exclude .DS_Store
7-
include versioneer.py
8-
include xarray/_version.py
97
recursive-include xarray/static *

asv_bench/asv.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
// The Pythons you'd like to test against. If not provided, defaults
4242
// to the current version of Python used to run `asv`.
43-
"pythons": ["3.6"],
43+
"pythons": ["3.8"],
4444

4545
// The matrix of dependencies to test. Each key is the name of a
4646
// package (in PyPI) and the values are version numbers. An empty

azure-pipelines.yml

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020
conda_env: py37
2121
py38:
2222
conda_env: py38
23-
py37-upstream-dev:
24-
conda_env: py37
23+
py38-upstream-dev:
24+
conda_env: py38
2525
upstream_dev: true
26-
py36-flaky:
27-
conda_env: py36
26+
py38-flaky:
27+
conda_env: py38
2828
pytest_extra_flags: --run-flaky --run-network-tests
2929
allow_failure: true
3030
pool:
@@ -35,8 +35,8 @@ jobs:
3535
- job: MacOSX
3636
strategy:
3737
matrix:
38-
py36:
39-
conda_env: py36
38+
py38:
39+
conda_env: py38
4040
pool:
4141
vmImage: 'macOS-10.13'
4242
steps:
@@ -74,7 +74,7 @@ jobs:
7474

7575
- job: TypeChecking
7676
variables:
77-
conda_env: py37
77+
conda_env: py38
7878
pool:
7979
vmImage: 'ubuntu-16.04'
8080
steps:
@@ -84,6 +84,18 @@ jobs:
8484
mypy .
8585
displayName: mypy type checks
8686
87+
- job: isort
88+
variables:
89+
conda_env: py38
90+
pool:
91+
vmImage: 'ubuntu-16.04'
92+
steps:
93+
- template: ci/azure/install.yml
94+
- bash: |
95+
source activate xarray-tests
96+
isort -rc --check .
97+
displayName: isort formatting checks
98+
8799
- job: MinimumVersionsPolicy
88100
pool:
89101
vmImage: 'ubuntu-16.04'
@@ -110,5 +122,5 @@ jobs:
110122
- bash: |
111123
source activate xarray-tests
112124
cd doc
113-
sphinx-build -n -j auto -b html -d _build/doctrees . _build/html
125+
sphinx-build -W --keep-going -j auto -b html -d _build/doctrees . _build/html
114126
displayName: Build HTML docs

0 commit comments

Comments
 (0)