Skip to content

Commit

Permalink
Prepare v0.3.5 (#75)
Browse files Browse the repository at this point in the history
### What kind of change does this PR introduce?

* Prepares the next patch release for Monday, February 19th.

### Does this PR introduce a breaking change?

No.

### Other information:

The metadata of this version will show that Python3.12 is officially
supported.
  • Loading branch information
Zeitsperre authored Feb 19, 2024
2 parents eb31242 + 66345ff commit 922a93f
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 25 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.4",
"version": "0.3.5",
"use_pytest": "y",
"use_black": "y",
"use_conda": "y",
Expand Down
15 changes: 6 additions & 9 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,20 @@ on:
- .editorconfig
- .github/**.yml
- .gitignore
- .gitlab-ci.yml
- .gitmodules
- .gitattributes
- .nojekyll
- .pre-commit-config.yaml
- .yamllint.yaml
- AUTHORS.rst
- CHANGES.rst
- CONTRIBUTING.rst
- doc/notebooks
- doc/*.py
- doc/*.rst
- docs/notebooks/**.ipynb
- docs/*.py
- docs/*.rst
- environment-dev.yml
- environment.yml
- environment-docs.yml
- Makefile
- MANIFEST.in
- pyproject.toml
- requirements_upstream.txt
- setup.py
- tests/**.py
- tox.ini
- xdatasets/__init__.py
Expand Down
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Changelog
=========

v0.3.5 (unreleased)
v0.3.5 (2024-02-19)
-------------------

* The `cookiecutter` template has been updated to the latest commit via `cruft`. (:pull:`52`):
Expand Down
1 change: 1 addition & 0 deletions environment-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ dependencies:
- pre-commit >=3.3.2
- pytest >=7.3.1
- pytest-cov >=4.0.0
- ruff >=0.2.0
- tokenize-rt >=3.2.0
- tox >=4.5.1
- watchdog >=3.0.0
27 changes: 15 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ dev = [
"pylint",
"pytest-cov>=4.0.0",
"pytest>=7.3.1",
"ruff>=0.2.0",
"tokenize-rt",
"tox>=4.5.1",
"watchdog>=3.0.0",
Expand Down Expand Up @@ -122,8 +123,8 @@ extra = [
]

[project.urls]
"Homepage" = "https://hydrologie.github.io/xdatasets/"
"Changelog" = "https://xdatasets.readthedocs.io/en/stable/Changes.html"
"Homepage" = "https://xdatasets.readthedocs.io/"
"Changelog" = "https://xdatasets.readthedocs.io/en/stable/changes.html"
"Source" = "https://github.com/hydrologie/xdatasets"
"Issue tracker" = "https://github.com/hydrologie/xdatasets/issues"

Expand All @@ -139,7 +140,7 @@ target-version = [
]

[tool.bumpversion]
current_version = "0.3.4"
current_version = "0.3.5"
commit = true
commit_args = "--no-verify"
tag = false
Expand Down Expand Up @@ -255,6 +256,11 @@ exclude = [
"docs",
"tests"
]

[tool.ruff.format]
line-ending = "auto"

[tool.ruff.lint]
ignore = [
"D100", # Missing docstring in public module
"D101", # Missing docstring in public class
Expand All @@ -274,27 +280,24 @@ select = [
"W"
]

[tool.ruff.flake8-bandit]
[tool.ruff.lint.flake8-bandit]
check-typed-exception = true

[tool.ruff.format]
line-ending = "auto"

[tool.ruff.isort]
[tool.ruff.lint.isort]
known-first-party = ["xdatasets"]
case-sensitive = true
detect-same-package = false
lines-after-imports = 1
no-lines-before = ["future", "standard-library"]

[tool.ruff.mccabe]
[tool.ruff.lint.mccabe]
max-complexity = 15

[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
"xdatasets/**/__init__.py" = ["F401", "F403"]

[tool.ruff.pycodestyle]
[tool.ruff.lint.pycodestyle]
max-doc-length = 180

[tool.ruff.pydocstyle]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
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.4"' in contents
assert '__version__ = "0.3.5"' in contents
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.4"
__version__ = "0.3.5"

0 comments on commit 922a93f

Please sign in to comment.