Skip to content

Commit

Permalink
Prepare version 0.3.1 (#39)
Browse files Browse the repository at this point in the history
* update CHANGES.rst

* Bump version: 0.3.0 → 0.3.1

* triple-check ignored workflow files

* move xagg to "extra" recipe, install "extra" in tox
  • Loading branch information
Zeitsperre authored Dec 1, 2023
1 parent 4197f96 commit cbc7433
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .cruft.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"project_slug": "xdatasets",
"project_short_description": "Easy access to Earth observation datasets with xarray.",
"pypi_username": "sebastienlanglois",
"version": "0.3.0",
"version": "0.3.1",
"use_pytest": "y",
"use_black": "y",
"use_conda": "y",
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,17 @@ on:
- .pre-commit-config.yaml
- .yamllint.yaml
- AUTHORS.rst
- CHANGES.rst
- CONTRIBUTING.rst
- doc/notebooks
- doc/*.py
- doc/*.rst
- environment-dev.yml
- environment.yml
- HISTORY.rst
- Makefile
- MANIFEST.in
- pyproject.toml
- requirements_upstream.txt
- setup.cfg
- setup.py
- tests/**.py
- tox.ini
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/first_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
repo: context.repo.repo,
body: `**Welcome**, new contributor!
It appears that this is your first Pull Request. To give credit where it's due, we ask that you add your information to the \`AUTHORS.rst\` and \`.zenodo.json\`.:
It appears that this is your first Pull Request. To give credit where it's due, we ask that you add your information to the \`AUTHORS.rst\` and \`.zenodo.json\`:
- [ ] The relevant author information has been added to \`AUTHORS.rst\` and \`.zenodo.json\`.
Please make sure you've read our [contributing guide](CONTRIBUTING.rst). We look forward to reviewing your Pull Request shortly ✨`
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ on:
branches:
- main
paths-ignore:
- .cruft.json
- CHANGES.rst
- README.rst
- pyproject.toml
- setup.cfg
- tests/test_xdatasets.py
- xdatasets/__init__.py
pull_request:

Expand Down
11 changes: 8 additions & 3 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
Changelog
=========

0.3.0 (unreleased)
v0.3.1 (2023-12-01)
-------------------

* Patch update to address a missing dependency (`s3fs`). (:pull:`36`)

v0.3.0 (2023-11-30)
-------------------

* `xdatasets` now adheres to PEPs 517/518/621 using the `flit` backend for building and packaging.
Expand All @@ -15,6 +20,6 @@ Changelog
* `pre-commit` hooks have been updated to the latest versions; `check-toml` and `toml-sort` have been added to cleanup the `pyproject.toml` file.
* `ruff` has been added to the linting tools to replace most `flake8` and `pydocstyle` verifications.

0.1.2-alpha (2023-01-13)
---------------------------
v0.1.2-alpha (2023-01-13)
-------------------------
First release on PyPI.
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ dependencies = [
"s3fs",
"scipy>=1.2",
"tqdm",
# FIXME: This needs to be revisited. `xagg` should be an optional dependency, reliant on Anaconda.
# "xagg-no-xesmf-deps",
# "xagg",
"xarray>=2023.1",
"zarr>=2.11.1"
]
Expand Down Expand Up @@ -116,6 +113,9 @@ docs = [
"sphinx>=7.0",
"sphinxcontrib-confluencebuilder"
]
extra = [
"xagg"
]

[project.urls]
"Homepage" = "https://hydrologie.github.io/xdatasets/"
Expand All @@ -134,7 +134,7 @@ target-version = [
]

[tool.bumpversion]
current_version = "0.3.0"
current_version = "0.3.1"
commit = true
tag = false
tag_name = "v{new_version}"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_xdatasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ def test_package_metadata():
contents = f.read()
assert """Sebastien Langlois""" in contents
assert '__email__ = "[email protected]"' in contents
assert '__version__ = "0.3.0"' in contents
assert '__version__ = "0.3.1"' in contents
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ passenv =
GITHUB_*
extras =
dev
extra
download = True
install_command = python -m pip install --no-user {opts} {packages}
deps =
Expand Down
2 changes: 1 addition & 1 deletion xdatasets/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@

__author__ = """Sebastien Langlois"""
__email__ = "[email protected]"
__version__ = "0.3.0"
__version__ = "0.3.1"

0 comments on commit cbc7433

Please sign in to comment.