Skip to content

Commit

Permalink
Bump version (setup, conf, whatsnew) to v0.3.1. (#85)
Browse files Browse the repository at this point in the history
* Support Pandas<2.2.0 in docs.

* Add missing items in whatsnew.

* Remove deprecated pism_gridded, pism_series.

* Bump version (conf, setup, whatsnew) to v0.3.1.

* Link to pull request in whatsnew.

* Require pandas<2.2.0 (typo) in docs.

* Add release description.
  • Loading branch information
juseg committed Jun 10, 2024
1 parent c2461a7 commit 8105b9d
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 23 deletions.
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
copyright = '2021-2024'
author = 'Julien Seguinot'
version = '0.3 Cocuy'
release = '0.3.0'
release = '0.3.1'


# -- General configuration ---------------------------------------------------
Expand Down
20 changes: 17 additions & 3 deletions doc/whatsnew.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,26 @@ What's new

.. _v0.3.1:

v0.3.1 (unreleased)
-------------------
v0.3.1 (10 Jun. 2024)
---------------------

This small bug-fix release brings hyoga up-to-date with its dependencies
following an unintended lapse in development. Support was added for recent
versions of Python and cf_xarray_, and other minor bugs were fixed, reviving
the foundation for upcoming improvements and new features in future releases.
Code coverage remains at 67 percent.

Breaking changes
~~~~~~~~~~~~~~~~

- Require Python 3.9 or newer (:pull:`78`).

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

- Remove :func:`hyoga.demo.pism_gridded`, deprecated in v0.1.1_ (:pull:`85`).
- Remove :func:`hyoga.demo.pism_series`, deprecated in v0.1.1_ (:pull:`85`).

Bug fixes
~~~~~~~~~

Expand All @@ -43,12 +55,14 @@ Bug fixes
Documentation
~~~~~~~~~~~~~

- Fix build errors, warnings, credits (:issue:`79`, :pull:`80`, :pull:`82`).
- Fix build errors and warnings (:issue:`79`, :pull:`80`).
- Update funding credits (:pull:`80`, :pull:`84`).

Internal changes
~~~~~~~~~~~~~~~~

- Test (and support) Python 3.11 and 3.12 (:pull:`77`).
- Upgrade to Python 3.12 on Read the Docs (:pull:`82`).

.. _v0.3.0:

Expand Down
18 changes: 1 addition & 17 deletions hyoga/demo.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2021, Julien Seguinot (juseg.github.io)
# Copyright (c) 2021-2024, Julien Seguinot (juseg.dev)
# GNU General Public License v3.0+ (https://www.gnu.org/licenses/gpl-3.0.txt)

"""
Expand All @@ -16,19 +16,3 @@ def get(filename='pism.alps.out.2d.nc'):
"demo.get() -> url is deprecated and will be removed in v0.4.0, use "
"open.example() -> dataset instead", FutureWarning)
return _download_example(filename)


def pism_gridded():
"""Deprecated alias of get('pism.alps.out.2d.nc')."""
warnings.warn(
"pism_gridded() is deprecated and will be removed in v0.3.0, use "
"get('pism.alps.out.2d.nc') instead", FutureWarning)
return get('pism.alps.out.2d.nc')


def pism_series():
"""Deprecated alias of get('pism.alps.out.1d.nc')."""
warnings.warn(
"pism_gridded() is deprecated and will be removed in v0.3.0, use "
"get('pism.alps.out.1d.nc') instead", FutureWarning)
return get('pism.alps.out.1d.nc')
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[metadata]

name = hyoga
version = 0.3.0
version = 0.3.1
author = Julien Seguinot
description = Paleoglacier modelling framework
long_description = file: README.rst
Expand Down Expand Up @@ -35,7 +35,7 @@ python_requires = >=3.9
docs =
contextily
netcdf4
pandas<2.0
pandas<2.2.0
sphinx
sphinx-autosummary-accessors
sphinx-book-theme>=0.3.3
Expand Down

0 comments on commit 8105b9d

Please sign in to comment.