Skip to content

Commit eef222c

Browse files
authored
prepare 0.9, upd rtd procedure, upd release procedure (#459)
1 parent 1e741cc commit eef222c

File tree

4 files changed

+12
-22
lines changed

4 files changed

+12
-22
lines changed

CHANGES.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
What's new
22
==========
33

4-
0.9.0 (unreleased)
4+
0.9.0 (2025-11-21)
55
------------------
66
* Added ``Regridder`` option ``post_mask_source`` to mask contributions of specified source grid cells, with a special setting for masking domain edge cells to avoid extrapolation with ``nearest_s2d`` when remapping to a larger domain (``post_mask_source = 'domain_edge'``, :pull:`444`). By `Martin Schupfner <https://github.com/sol1105>`_.
77
* Added support for target masks when regridding ``LocStream`` to ``Grid`` with ``nearest_s2d`` (:pull:`445`). By `Martin Schupfner <https://github.com/sol1105>`_.

ci/doc.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ name: xesmf
22
channels:
33
- conda-forge
44
dependencies:
5-
- python>=3.8
5+
# Python pin only to accelerate solving
6+
- python>=3.12
67
- cf_xarray>=0.5.1
7-
- esmpy
8+
- esmpy >=8.0.0
89
- numba >=0.55.2
910
- numpy >=1.16
1011
- shapely
@@ -20,5 +21,3 @@ dependencies:
2021
- sphinx
2122
- sphinx_rtd_theme
2223
- docutils!=0.18
23-
- pip:
24-
- -e ../

doc/releases.rst

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,12 @@ Release how-to
33

44
Here are the step by step instructions to release a new version of xESMF.
55

6-
#. Make sure :file:`CHANGES.rst` is up to date and includes a section on the version to be released;
6+
#. Make sure :file:`CHANGES.rst` is up to date and includes a section on the version to be released, usually this is done through a pull request.
77
#. On GitHub, go the Releases_ page and click on :guilabel:`Draft a new release`;
88
#. Enter new version in :guilabel:`Tag version` (e.g. v<major>.<minor>.<patch>);
99
#. Enter the :guilabel:`Release title` (e.g. the same tag);
1010
#. Copy the relevant section of :file:`CHANGES.rst` in the description;
11-
#. Click :guilabel:`Publish release`; Keep this tab open, we'll come back to it.
12-
#. Go to Actions_ and in the left-hand menu select :guilabel:`Upload xesmf to PyPi`;
13-
#. Click on the release you just made;
14-
#. At the bottom of the page, wait for the action to complete then download the :guilabel:`artifact` to your local disk;
15-
#. Unzip it;
16-
#. Run shell command ``sha256sum`` on `xesmf-<version>.tar.gz` and copy the checksum string;
17-
#. Add the artifacts (drag & drop) to the :guilabel:`Assets` of the Github release you just created.
18-
#. Go to the conda-forge repo and edit the `recipe/meta.yml <https://github.com/conda-forge/xesmf-feedstock>`_ file;
19-
#. Update the version on the first line to the latest release;
20-
#. Update the `sha256` value in the `source` section to the checksum just calculated;
21-
#. Enter a commit message, e.g. (Update version to <version>);
22-
#. Submit the pull request (:guilabel:`Propose changes`);
23-
#. Get an approval from a maintainer to merge the pull request.
24-
25-
Note that Conda Forge's Continuous Integration (CI) checks will fail if you haven't uploaded the artifacts to the Github release assets or if the sha256 checksum does not match the asset's. In case you need to re-run the CI checks, just post the comment `@conda-forge-admin, please restart ci`.
11+
#. Click :guilabel:`Publish release`;
2612

2713
.. _Releases: https://github.com/pangeo-data/xESMF/releases
2814
.. _Actions: https://github.com/pangeo-data/xESMF/actions

readthedocs.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,19 @@ version: 2
33
build:
44
os: "ubuntu-24.04"
55
tools:
6-
python: "mambaforge-22.9"
6+
python: "mambaforge-23.11"
77
jobs:
88
pre_install:
99
- conda list
1010

1111
conda:
1212
environment: ci/doc.yml
1313

14+
python:
15+
install:
16+
- method: pip
17+
path: .
18+
1419
sphinx:
1520
configuration: doc/conf.py
1621
# fail_on_warning might generate hard to fix error, in this case it can be

0 commit comments

Comments
 (0)