Skip to content

Commit e38fe72

Browse files
Bump to 0.3.1 (#321)
* Bumps the package to 0.3.1 * Updates the dependencies in the conda env yml files * Updates the pre-commit hook versions * Address `mypy` warnings * Remove `type: ignore` inline comments to silence mypy warnings related to xarray, can address in the future * Remove unused `type: ignore` based on latest version of mypy * Update changelog with 0.3.1 and use names of contributors with link to GH user page
1 parent d3511aa commit e38fe72

File tree

14 files changed

+218
-111
lines changed

14 files changed

+218
-111
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ fail_fast: true
44

55
repos:
66
- repo: https://github.com/pre-commit/pre-commit-hooks
7-
rev: v4.1.0
7+
rev: v4.3.0
88
hooks:
99
- id: trailing-whitespace
1010
- id: end-of-file-fixer
1111
- id: check-yaml
1212

1313
- repo: https://github.com/psf/black
14-
rev: 22.3.0
14+
rev: 22.6.0
1515
hooks:
1616
- id: black
1717

@@ -30,15 +30,15 @@ repos:
3030
additional_dependencies: [flake8-isort]
3131

3232
- repo: https://github.com/pre-commit/mirrors-mypy
33-
rev: v0.961
33+
rev: v0.971
3434
hooks:
3535
- id: mypy
3636
args: ["--config=setup.cfg"]
3737
additional_dependencies:
3838
[
39-
dask==2022.6.1,
39+
dask==2022.7.1,
4040
numpy==1.22.4,
4141
pandas==1.4.3,
42-
xarray==2022.3.0,
42+
xarray==2022.6.0,
4343
types-python-dateutil==2.8.19,
4444
]

HISTORY.rst

Lines changed: 149 additions & 55 deletions
Large diffs are not rendered by default.

README.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@
4242

4343
xCDAT is an extension of `xarray`_ for climate data analysis on structured grids. It serves as a spiritual successor to the Community Data Analysis Tools (`CDAT`_) library.
4444

45-
The goal of xCDAT is to provide climate domain features and general utilities in xarray, which includes porting some core CDAT functionalities. xCDAT leverages several powerful libraries in the xarray ecosystem (e.g., `xESMF`_ and `cf_xarray`_) to deliver robust APIs. The xCDAT core team is aiming to provide a maintainable and extensible package that serves the needs of the climate community in the long-term.
45+
The goal of xCDAT is to provide generalizable climate domain features and general utilities in xarray, which includes porting some core CDAT functionalities. xCDAT leverages several powerful libraries in the xarray ecosystem (e.g., `xESMF`_ and `cf_xarray`_) to deliver robust APIs. The xCDAT core team is aiming to provide a maintainable and extensible package that serves the needs of the climate community in the long-term.
46+
47+
A major design philosophy of xCDAT is streamlining the user experience while developing code to analyze climate data. This means reducing the complexity and number of lines required to achieve certain features with xarray.
4648

4749
.. _xarray: https://github.com/pydata/xarray
4850
.. _CDAT: https://github.com/CDAT/cdat

conda-env/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ channels:
44
- conda-forge
55
- defaults
66
dependencies:
7+
# ==================
78
# Base
89
# ==================
910
- python >=3.8

conda-env/dev.yml

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,55 @@
1-
# Conda xcdat development environment
21
name: xcdat_dev
32
channels:
43
- conda-forge
54
- defaults
65
dependencies:
6+
# ==================
77
# Base
88
# ==================
9+
# NOTE: If versions are updated, also `additional_dependencies` list for mypy in `.pre-commit-config.yaml`
910
- python=3.9.13 # TODO: Update to >=3.10 once sphinxcontrib-napoleon supports it.
10-
- pip=22.1.2
11-
- cf_xarray=0.7.2
12-
- cftime=1.6.0
13-
- dask=2022.6.1
11+
- pip=22.2.2
12+
- cf_xarray=0.7.4
13+
- cftime=1.6.1
14+
- dask=2022.8.0
1415
- esmpy=8.2.0
15-
- netcdf4=1.5.8
16-
- numba=0.55.2 # TODO: Remove this pin once `numba` is properly patched with `numpy` compatability.
16+
- netcdf4=1.6.0
17+
- numba=0.55.2 # TODO: Remove this pin once `numba` is properly patched with `numpy` compatibility.
1718
- numpy=1.22.4
1819
- pandas=1.4.3
19-
- xarray=2022.3.0
20+
- xarray=2022.6.0
2021
- xesmf=0.6.3
2122
- python-dateutil=2.8.2
2223
- types-python-dateutil=2.8.19
24+
# ==================
2325
# Documentation
2426
# ==================
2527
- sphinx=4.5.0
2628
- sphinxcontrib-napoleon=0.7
27-
- sphinx-autosummary-accessors=2022-4-0
28-
- sphinx-book-theme=0.3.2
29+
- sphinx-autosummary-accessors=2022.4.0
30+
- sphinx-book-theme=0.3.3
2931
- sphinx-copybutton=0.5.0
3032
- nbsphinx=0.8.9
31-
- pandoc=2.18
33+
- pandoc=2.19
34+
# ==================
3235
# Quality Assurance
3336
# ==================
34-
# If versions are updated, also update 'rev' in `.pre-commit.config.yaml`
35-
- black=22.3.0
36-
- flake8=4.0.1
37-
- flake8-isort=4.1.1
37+
# NOTE: If versions are updated, also update 'rev' in `.pre-commit.config.yaml`
38+
- black=22.6.0
39+
- flake8=5.0.4
40+
- flake8-isort=4.2.0
3841
- isort=5.10.1
39-
- mypy=0.961
40-
- pre-commit=2.19.0
42+
- mypy=0.971
43+
- pre-commit=2.20.0
44+
# ==================
4145
# Testing
4246
# ==================
4347
- pytest=7.1.2
4448
- pytest-cov=3.0.0
49+
# ==================
4550
# Developer Tools
4651
# ==================
4752
- matplotlib=3.5.2
48-
- jupyterlab=3.4.3
53+
- jupyterlab=3.4.5
4954
- tbump=6.9.0
5055
prefix: /opt/miniconda3/envs/xcdat_dev

conda-env/readthedocs.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,34 @@
1-
# Conda xcdat readthedocs environment
21
name: xcdat_rtd
32
channels:
43
- conda-forge
54
- defaults
65
dependencies:
6+
# ==================
77
# Base
88
# ==================
9+
# NOTE: If versions are updated, also `additional_dependencies` list for mypy in `.pre-commit-config.yaml`
910
- python=3.9.13 # TODO: Update to >=3.10 once sphinxcontrib-napoleon supports it.
10-
- pip=22.1.2
11-
- cf_xarray=0.7.2
12-
- cftime=1.6.0
13-
- dask=2022.6.1
11+
- pip=22.2.2
12+
- cf_xarray=0.7.4
13+
- cftime=1.6.1
14+
- dask=2022.8.0
1415
- esmpy=8.2.0
15-
- netcdf4=1.5.8
16-
- numba=0.55.2 # TODO: Remove this pin once `numba` is properly patched with `numpy` compatability.
16+
- netcdf4=1.6.0
17+
- numba=0.55.2 # TODO: Remove this pin once `numba` is properly patched with `numpy` compatibility.
1718
- numpy=1.22.4
1819
- pandas=1.4.3
19-
- xarray=2022.3.0
20+
- xarray=2022.6.0
2021
- xesmf=0.6.3
2122
- python-dateutil=2.8.2
2223
- types-python-dateutil=2.8.19
24+
# ==================
2325
# Documentation
2426
# ==================
2527
- sphinx=4.5.0
2628
- sphinxcontrib-napoleon=0.7
27-
- sphinx-autosummary-accessors=2022-4-0
28-
- sphinx-book-theme=0.3.2
29+
- sphinx-autosummary-accessors=2022.4.0
30+
- sphinx-book-theme=0.3.3
2931
- sphinx-copybutton=0.5.0
3032
- nbsphinx=0.8.9
31-
- pandoc=2.18
33+
- pandoc=2.19
3234
prefix: /opt/miniconda3/envs/xcdat_rtd

docs/index.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ xCDAT: Xarray Climate Data Analysis Tools
33

44
xCDAT is an extension of `xarray`_ for climate data analysis on structured grids. It serves as a spiritual successor to the Community Data Analysis Tools (`CDAT`_) library.
55

6-
The goal of xCDAT is to provide climate domain features and general utilities in xarray, which includes porting some core CDAT functionalities. xCDAT leverages several powerful libraries in the xarray ecosystem (e.g., `xESMF`_ and `cf_xarray`_) to deliver robust APIs. The xCDAT core team is aiming to provide a maintainable and extensible package that serves the needs of the climate community in the long-term.
6+
The goal of xCDAT is to provide generalizable climate domain features and general utilities in xarray, which includes porting some core CDAT functionalities. xCDAT leverages several powerful libraries in the xarray ecosystem (e.g., `xESMF`_ and `cf_xarray`_) to deliver robust APIs. The xCDAT core team is aiming to provide a maintainable and extensible package that serves the needs of the climate community in the long-term.
7+
8+
A major design philosophy of xCDAT is streamlining the user experience while developing code to analyze climate data. This means reducing the complexity and number of lines required to achieve certain features with xarray.
79

810
.. _xarray: https://github.com/pydata/xarray
911
.. _CDAT: https://github.com/CDAT/cdat

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@
3535
test_suite="tests",
3636
tests_require=test_requires,
3737
url="https://github.com/xCDAT/xcdat",
38-
version="0.3.0",
38+
version="0.3.1",
3939
zip_safe=False,
4040
)

tbump.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
github_url = "https://github.com/xCDAT/xcdat"
33

44
[version]
5-
current = "0.3.0"
5+
current = "0.3.1"
66

77
# Example of a semver regexp.
88
# Make sure this matches current_version before

xcdat/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919
from xcdat.temporal import TemporalAccessor # noqa: F401
2020
from xcdat.utils import compare_datasets # noqa: F401
2121

22-
__version__ = "0.3.0"
22+
__version__ = "0.3.1"

0 commit comments

Comments
 (0)