Skip to content

Commit

Permalink
Bump to 0.2.0 (#212)
Browse files Browse the repository at this point in the history
* Update `HISTORY.rst`
* Update `CONTRIBUTORS.rst`
  • Loading branch information
tomvothecoder authored Mar 24, 2022
1 parent b2326c2 commit 1fdc8a9
Show file tree
Hide file tree
Showing 8 changed files with 151 additions and 34 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repos:
- id: check-yaml

- repo: https://github.com/psf/black
rev: 21.12b0
rev: 22.1.0
hooks:
- id: black

Expand All @@ -30,9 +30,9 @@ repos:
additional_dependencies: [flake8-isort]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.931
rev: v0.941
hooks:
- id: mypy
args: ["--config=setup.cfg"]
additional_dependencies:
[dask==2021.12.0, numpy==1.22.0, pandas==1.3.5, xarray==0.20.2]
[dask==2022.3.0, numpy==1.22.3, pandas==1.4.1, xarray==2022.3.0]
3 changes: 3 additions & 0 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@ Development Lead
Contributors
------------

* Jason Boutte
* Stephen Po-Chedley
* Jill Chengzhu Zhang
* Jiwoo Lee
120 changes: 117 additions & 3 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,121 @@
History
=======

v0.1.0 (7 October, 2021)
v0.2.0 (24 March 2022)
------------------------

New Features
~~~~~~~~~~~~

- Add support for spatial averaging parallelism via Dask by @pochedls
in https://github.com/XCDAT/xcdat/pull/132
- Refactor spatial averaging with more robust handling of longitude
spanning prime meridian by @pochedls in
https://github.com/XCDAT/xcdat/pull/152
- Update xcdat.open_mfdataset time decoding logic by @pochedls in
https://github.com/XCDAT/xcdat/pull/161
- Add function to swap dataset longitude axis orientation by
@tomvothecoder in https://github.com/XCDAT/xcdat/pull/145
- Add utility functions by @tomvothecoder in
https://github.com/XCDAT/xcdat/pull/205
- Add temporal utilities and averaging functionalities by
@tomvothecoder in https://github.com/XCDAT/xcdat/pull/107

Bug Fixes
~~~~~~~~~

- Add exception for coords of len <= 1 or multidimensional coords in
``fill_missing_bounds()`` by @tomvothecoder in
https://github.com/XCDAT/xcdat/pull/141
- Update ``open_mfdataset()`` to avoid data vars dim concatenation by
@tomvothecoder in https://github.com/XCDAT/xcdat/pull/143
- Fix indexing on axis keys using generic map (related to spatial
averaging) by @tomvothecoder in
https://github.com/XCDAT/xcdat/pull/172

Breaking Changes
~~~~~~~~~~~~~~~~

- Rename accessor classes and methods for API consistency by
@tomvothecoder in https://github.com/XCDAT/xcdat/pull/142
- Rename ``fill_missing_bounds()`` to ``add_missing_bounds()`` by
@tomvothecoder in https://github.com/XCDAT/xcdat/pull/157
- Remove data variable inference API by @tomvothecoder in
https://github.com/XCDAT/xcdat/pull/196
- Rename spatial file and class by @tomvothecoder in
https://github.com/XCDAT/xcdat/pull/207

Documentation
~~~~~~~~~~~~~

- update README by @chengzhuzhang in
https://github.com/XCDAT/xcdat/pull/127
- Update readme by @lee1043 in https://github.com/XCDAT/xcdat/pull/129
- Update ``HISTORY.rst`` and fix docstrings by @tomvothecoder in
https://github.com/XCDAT/xcdat/pull/139
- Update ``README.rst`` content and add logo by @tomvothecoder in
https://github.com/XCDAT/xcdat/pull/153
- Update API Reference docs to list all APIs by @tomvothecoder in
https://github.com/XCDAT/xcdat/pull/155
- Add ``config.yml`` for issue templates with link to discussions by
@tomvothecoder in https://github.com/XCDAT/xcdat/pull/176
- Add FAQs page to docs by @tomvothecoder in
https://github.com/XCDAT/xcdat/pull/181
- Fix syntax of code examples from PR #181 by @tomvothecoder in
https://github.com/XCDAT/xcdat/pull/182
- Replace markdown issue templates with GitHub yml forms by
@tomvothecoder in https://github.com/XCDAT/xcdat/pull/186
- Update ``README.rst``, ``index.rst``, and ``project_maintenance.rst``
by @tomvothecoder in https://github.com/XCDAT/xcdat/pull/211

Deprecations
~~~~~~~~~~~~

Internal Changes
~~~~~~~~~~~~~~~~

- Update logger levels to debug by @tomvothecoder in
https://github.com/XCDAT/xcdat/pull/148
- Update and remove logger debug messages by @tomvothecoder in
https://github.com/XCDAT/xcdat/pull/193

DevOps
~~~~~~

- Add ``requires_dask`` decorator for tests by @tomvothecoder in
https://github.com/XCDAT/xcdat/pull/177
- Update dependencies in ``setup.py`` and ``dev.yml`` by @tomvothecoder
in https://github.com/XCDAT/xcdat/pull/174
- Add matrix testing and ci specific conda env by @tomvothecoder in
https://github.com/XCDAT/xcdat/pull/178
- Suppress xarray warning in test suite by @tomvothecoder in
https://github.com/XCDAT/xcdat/pull/179
- Drop support for Python 3.7 by @tomvothecoder in
https://github.com/XCDAT/xcdat/pull/187
- Update conda env dependencies by @tomvothecoder in
https://github.com/XCDAT/xcdat/pull/189
- Add deps to ``pre-commit`` ``mypy`` and fix issues by @tomvothecoder
in https://github.com/XCDAT/xcdat/pull/191
- Add ``matplotlib`` to dev env, update ``ci.yml`` and add Python 3.10
to build workflow by @tomvothecoder in
https://github.com/XCDAT/xcdat/pull/203
- Replace conda with mamba in rtd build by @tomvothecoder in
https://github.com/XCDAT/xcdat/pull/209

New Contributors
~~~~~~~~~~~~~~~~

- @chengzhuzhang made their first contribution in
https://github.com/XCDAT/xcdat/pull/127
- @lee1043 made their first contribution in
https://github.com/XCDAT/xcdat/pull/129
- @pochedls made their first contribution in
https://github.com/XCDAT/xcdat/pull/132

**Full Changelog**:
https://github.com/XCDAT/xcdat/compare/v0.1.0...v0.2.0

v0.1.0 (7 October 2021)
------------------------

New Features
Expand Down Expand Up @@ -47,8 +161,8 @@ Documentation
- Visit the docs here:
https://xcdat.readthedocs.io/en/latest/index.html

CI/CD
~~~~~
DevOps
~~~~~~

- 100% code coverage (https://app.codecov.io/gh/XCDAT/xcdat)
- GH Actions for CI/CD build (https://github.com/XCDAT/xcdat/actions)
Expand Down
30 changes: 15 additions & 15 deletions conda-env/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,37 +6,37 @@ channels:
dependencies:
# Base
# ==================
- python=3.9.9
- pip=21.3.1
- cf_xarray=0.6.3
- dask=2021.12.0
- python=3.9.12
- pip=22.0.4
- cf_xarray=0.7.0
- dask=2022.3.0
- netcdf4=1.5.8
- numpy=1.22.0
- pandas=1.3.5
- xarray=0.20.2
- numpy=1.22.3
- pandas=1.4.1
- xarray=2022.3.0
# Quality Assurance
# ==================
# If versions are updated, also update 'rev' in `.pre-commit.config.yaml`
- black=21.12b0
- black=22.1.0
- flake8=4.0.1
- flake8-isort=4.1.1
- isort=5.10.1
- mypy=0.931
- pre-commit=2.16.0
- mypy=0.941
- pre-commit=2.17.0
# Testing
# ==================
- pytest=6.2.5
- pytest=7.1.1
- pytest-cov=3.0.0
# Developer Tools
# ==================
- matplotlib=3.5.1
- jupyterlab=3.2.7
- jupyterlab=3.3.2
- tbump=6.7.0
# Documentation
# ==================
- sphinx=4.3.2
- sphinx=4.4.0
- sphinxcontrib-napoleon=0.7
- sphinx-autosummary-accessors=0.2.1
- sphinx-book-theme=0.1.10
- sphinx-copybutton=0.4.0
- sphinx-book-theme=0.2.0
- sphinx-copybutton=0.5.0
prefix: /opt/miniconda3/envs/xcdat_dev
20 changes: 10 additions & 10 deletions conda-env/readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ channels:
dependencies:
# Base
# ==================
- python=3.9.9
- pip=21.3.1
- cf_xarray=0.6.3
- dask=2021.12.0
- python=3.9.12
- pip=22.0.4
- cf_xarray=0.7.0
- dask=2022.3.0
- netcdf4=1.5.8
- numpy=1.22.0
- pandas=1.3.5
- xarray=0.20.2
- numpy=1.22.3
- pandas=1.4.1
- xarray=2022.3.0
# Documentation
# ==================
- sphinx=4.3.2
- sphinx=4.4.0
- sphinxcontrib-napoleon=0.7
- sphinx-autosummary-accessors=0.2.1
- sphinx-book-theme=0.1.10
- sphinx-copybutton=0.4.0
- sphinx-book-theme=0.2.0
- sphinx-copybutton=0.5.0
prefix: /opt/miniconda3/envs/xcdat_rtd
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@
test_suite="tests",
tests_require=test_requires,
url="https://github.com/XCDAT/xcdat",
version="0.1.0",
version="0.2.0",
zip_safe=False,
)
2 changes: 1 addition & 1 deletion tbump.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
github_url = "https://github.com/XCDAT/xcdat"

[version]
current = "0.1.0"
current = "0.2.0"

# Example of a semver regexp.
# Make sure this matches current_version before
Expand Down
2 changes: 1 addition & 1 deletion xcdat/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
from xcdat.utils import compare_datasets # noqa: F401
from xcdat.xcdat import XCDATAccessor # noqa: F401

__version__ = "0.1.0"
__version__ = "0.2.0"

0 comments on commit 1fdc8a9

Please sign in to comment.