Repository navigation
Conversation
updates: - [github.com/astral-sh/ruff-pre-commit: v0.12.1 → v0.12.7](astral-sh/ruff-pre-commit@v0.12.1...v0.12.7) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* test on python 3.13 * officially support python 3.13 * changelog * check doctests on python 3.13 * unpin numpy
* release date * fix up the changelog entry * [skip-ci]
* new changelog section * [skip-ci][skip-rtd]
* stop testing on python 3.10 * require at least python 3.11 * remove the classifier for python 3.10 * bump the build deps * bump the target version for ruff * autoupdate hooks * use a SPDX identifier for the license * use a correct spdx license name * bump the dependency versions * changelog * update the docs env * changelog * remove the license classifier
* use pixi to construct ci and dev envs * remove the empty default tasks * explicitly install xarray, numpy and scipy into the nightly env * unpin sphinx-autobuild * install pytest-reportlog into the nightly deps * add special version requirements for the tests * pin python for nightly and docs * add tasks for the test envs * add a special doctests environment * add osx-arm64 to the platforms * switch the main CI to use pixi * also use pixi for the doctests * same for nightly * use the newer name for `python-build` * remove the environment setup files * configure rtd to also use pixi * attempt to fix the workflow definitions * quote the env name * can't use the cache because we don't save the lock file * enable win-64 * add back the explicit mention of the sphinx config * use the latest lts image * add back a small tools section * hard-code the doctests env * rename the job variants * add `pixi.lock` to maybe avoid deadlocks * upgrade lock file * add back the cache * more lockfile * reverse the name order again * don't cache, pixi is quick enough without it * changelog
* set env variables used by codecov * upload using a token * use the newer way of customizing the cov file path
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 5. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](actions/download-artifact@v4...v5) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* add `separate` * function to get unique values while order-preserving * util to zip mappings * reimplement `zip_mappings` to be more robust * implement `expects` * test that expects correctly converts args * check that default args work, too * support checking for single errors, as well * check that units in kwargs work * raise an error for all parameters without unit spec * check that the return value units are attached properly * use `ureg.Quantity` instead of `unit.m_from` which should be `unit.from_`, anyways * check that return values can not have units * check that functions can not return a result * check for various errors when returning results * don't cover the version fallback * add api docs * errors → error * check the error type * change the raised error to `TypeError` * copy the docstring from xarray-contrib#143 * styling * see also * changelog * terminology * extend the tests * raise an error if the return value is unexpectedly `None` * more explicitly select the error types * more tests * add a dev env
updates: - [github.com/astral-sh/ruff-pre-commit: v0.12.8 → v0.12.9](astral-sh/ruff-pre-commit@v0.12.8...v0.12.9) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Bumps [prefix-dev/setup-pixi](https://github.com/prefix-dev/setup-pixi) from 0.8.14 to 0.9.0. - [Release notes](https://github.com/prefix-dev/setup-pixi/releases) - [Commits](prefix-dev/setup-pixi@8ca4608...fef5c95) --- updated-dependencies: - dependency-name: prefix-dev/setup-pixi dependency-version: 0.9.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* hard-code the env name for nightly * [skip-ci][skip-rtd]
* don't lock or freeze * [skip-ci][run-upstream][skip-rtd] * remove the lockfile [skip-ci][run-upstream][skip-rtd]
…ib#324) * adapt to the newer API of equals * add pooch and netcdf4 to the dev env * trigger the future warning * changelog * comment on the passing of exclude (since that will break for indexes that don't support `exclude`)
* properly pass a mapping of units * add the units onto the inline repr * simplify the formatting of the units * also add a custom string `repr` * closing parens * make sure we always pass a dict of units * expect init to fail on invalid units * also change the replace test * changelog
* backwards-compat for indexes without `exclude` * comments and a marker about the deprecation
updates: - [github.com/astral-sh/ruff-pre-commit: v0.12.9 → v0.12.10](astral-sh/ruff-pre-commit@v0.12.9...v0.12.10) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.4.3 to 5.5.0. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](codecov/codecov-action@v5.4.3...v5.5.0) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-version: 5.5.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* change the error formatting to return a exception group * rename the exception group * more renaming, and reset the group traceback * expect the group in conversion tests * make the group a subclass of `ValueError` for backwards compat * add `cytoolz` to the test deps * expect the exception group in `test_convert_units` * adapt the indexer conversion tests * also expect the exception group in the accessor code * ignore test files in coverage * install the optional deps as a separate feature * bump the lockfile * document the exception group * changelog * docstring for the exception
* fix the ci badge * [skip-rtd][skip-ci]
* new syntax exclude bots from the automatic release notes * [skip-rtd][skip-ci]
set the release date
…b#333) * use the right package to install the build frontend * [skip-ci][skip-rtd]
* new release section * [skip-ci]
updates: - [github.com/astral-sh/ruff-pre-commit: v0.12.10 → v0.12.11](astral-sh/ruff-pre-commit@v0.12.10...v0.12.11) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.5.0 to 5.5.1. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](codecov/codecov-action@v5.5.0...v5.5.1) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-version: 5.5.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v5...v6) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…b#338) Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.12.4 to 1.13.0. - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](pypa/gh-action-pypi-publish@76f52bc...ed0c539) --- updated-dependencies: - dependency-name: pypa/gh-action-pypi-publish dependency-version: 1.13.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
updates: - [github.com/astral-sh/ruff-pre-commit: v0.12.11 → v0.12.12](astral-sh/ruff-pre-commit@v0.12.11...v0.12.12) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@v6...v7) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.5.2 to 5.5.3. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](codecov/codecov-action@v5.5.2...v5.5.3) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-version: 5.5.3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
updates: - [github.com/astral-sh/ruff-pre-commit: v0.15.6 → v0.15.7](astral-sh/ruff-pre-commit@v0.15.6...v0.15.7) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* set the release date * empty
* new release section * missing changelog entry
updates: - [github.com/astral-sh/ruff-pre-commit: v0.15.7 → v0.15.8](astral-sh/ruff-pre-commit@v0.15.7...v0.15.8) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…84a1 to 38495788b79a5ff26009aecc15daa9a8310b8832 (xarray-contrib#383) Bump Parcels-code/pixi-lock Bumps [Parcels-code/pixi-lock](https://github.com/parcels-code/pixi-lock) from 5cbd7a155fa24aa0711ec0a9aad9ede0819e84a1 to 38495788b79a5ff26009aecc15daa9a8310b8832. - [Release notes](https://github.com/parcels-code/pixi-lock/releases) - [Commits](xarray-contrib/pixi-lock@5cbd7a1...3849578) --- updated-dependencies: - dependency-name: Parcels-code/pixi-lock dependency-version: 38495788b79a5ff26009aecc15daa9a8310b8832 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [prefix-dev/setup-pixi](https://github.com/prefix-dev/setup-pixi) from 0.9.4 to 0.9.5. - [Release notes](https://github.com/prefix-dev/setup-pixi/releases) - [Commits](prefix-dev/setup-pixi@a0af7a2...1b2de7f) --- updated-dependencies: - dependency-name: prefix-dev/setup-pixi dependency-version: 0.9.5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.5.3 to 6.0.0. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](codecov/codecov-action@v5.5.3...v6.0.0) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-version: 6.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Commits](actions/checkout@v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/rbubley/mirrors-prettier: v3.8.1 → v3.8.4](rbubley/mirrors-prettier@v3.8.1...v3.8.4) - [github.com/psf/black-pre-commit-mirror: 26.3.1 → 26.5.1](psf/black-pre-commit-mirror@26.3.1...26.5.1) - [github.com/astral-sh/ruff-pre-commit: v0.15.8 → v0.15.18](astral-sh/ruff-pre-commit@v0.15.8...v0.15.18) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…b#386) Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.13.0 to 1.14.0. - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](pypa/gh-action-pypi-publish@ed0c539...cef2210) --- updated-dependencies: - dependency-name: pypa/gh-action-pypi-publish dependency-version: 1.14.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [prefix-dev/setup-pixi](https://github.com/prefix-dev/setup-pixi) from 0.9.5 to 0.9.6. - [Release notes](https://github.com/prefix-dev/setup-pixi/releases) - [Commits](prefix-dev/setup-pixi@1b2de7f...5185adf) --- updated-dependencies: - dependency-name: prefix-dev/setup-pixi dependency-version: 0.9.6 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 6.0.0 to 7.0.0. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](codecov/codecov-action@v6.0.0...v7.0.0) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* add `zizmor` as a hook * set a cooldown period * run dependabot once per month * group actions updates into a single PR * pin actions and limit permissions * follow zizmor recommendations for nightly [test-upstream] * follow `zizmor` recommendations for ci-additional * follow most recommendations for `ci` * resolve the remaining lints * retrigger [skip-rtd]
Bumps the actions group with 2 updates: [actions/upload-artifact](https://github.com/actions/upload-artifact) and [actions/download-artifact](https://github.com/actions/download-artifact). Updates `actions/upload-artifact` from 7.0.0 to 7.0.1 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@bbbca2d...043fb46) Updates `actions/download-artifact` from 7.0.0 to 8.0.1 - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](actions/download-artifact@v7...3e5f45b) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: 7.0.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions - dependency-name: actions/download-artifact dependency-version: 8.0.1 dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
updates: - [github.com/rbubley/mirrors-prettier: v3.8.4 → v3.9.6](rbubley/mirrors-prettier@v3.8.4...v3.9.6) - [github.com/zizmorcore/zizmor-pre-commit: v1.23.1 → v1.29.0](zizmorcore/zizmor-pre-commit@v1.23.1...v1.29.0) - [github.com/astral-sh/ruff-pre-commit: v0.15.18 → v0.16.2](astral-sh/ruff-pre-commit@v0.15.18...v0.16.2) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…rib#394) Bumps the actions group with 5 updates in the / directory: | Package | From | To | | --- | --- | --- | | [actions/checkout](https://github.com/actions/checkout) | `7.0.0` | `7.0.1` | | [prefix-dev/setup-pixi](https://github.com/prefix-dev/setup-pixi) | `0.9.6` | `0.10.0` | | [scientific-python/issue-from-pytest-log](https://github.com/scientific-python/issue-from-pytest-log) | `1.5.0` | `1.6.1` | | [actions/setup-python](https://github.com/actions/setup-python) | `6.2.0` | `7.0.0` | | [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) | `1.14.0` | `1.14.1` | Updates `actions/checkout` from 7.0.0 to 7.0.1 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@9c091bb...3d3c42e) Updates `prefix-dev/setup-pixi` from 0.9.6 to 0.10.0 - [Release notes](https://github.com/prefix-dev/setup-pixi/releases) - [Commits](prefix-dev/setup-pixi@5185adf...a09b624) Updates `scientific-python/issue-from-pytest-log` from 1.5.0 to 1.6.1 - [Release notes](https://github.com/scientific-python/issue-from-pytest-log/releases) - [Commits](scientific-python/issue-from-pytest-log-action@8e905db...054799b) Updates `actions/setup-python` from 6.2.0 to 7.0.0 - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@a309ff8...5fda3b9) Updates `pypa/gh-action-pypi-publish` from 1.14.0 to 1.14.1 - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](pypa/gh-action-pypi-publish@cef2210...ba38be9) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions - dependency-name: prefix-dev/setup-pixi dependency-version: 0.10.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions - dependency-name: scientific-python/issue-from-pytest-log dependency-version: 1.6.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions - dependency-name: actions/setup-python dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: pypa/gh-action-pypi-publish dependency-version: 1.14.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Callan Gray <cal.j.gray@gmail.com> # Conflicts: # .github/workflows/ci-additional.yml # .github/workflows/ci.yml # .github/workflows/nightly.yml # .github/workflows/pypi.yaml # .pre-commit-config.yaml # README.md # astropy_xarray/accessors.py # astropy_xarray/conversion.py # astropy_xarray/errors.py # astropy_xarray/index.py # ci/install-upstream-dev.sh # ci/requirements.txt # docs/api.rst # docs/requirements.txt # docs/terminology.rst # docs/whats-new.rst # pint_xarray/__init__.py # pyproject.toml # tests/test_accessors.py # tests/test_conversion.py # tests/test_expects.py # tests/test_index.py # tests/test_itertools.py
Signed-off-by: Callan Gray <cal.j.gray@gmail.com>
Signed-off-by: Callan Gray <cal.j.gray@gmail.com>
Signed-off-by: Callan Gray <cal.j.gray@gmail.com>
Signed-off-by: Callan Gray <cal.j.gray@gmail.com>
calgray
force-pushed
the
upstream-merge
branch
from
November 11, 2026 08:10
da0a027 to
afc864e
Compare
Signed-off-by: Callan Gray <cal.j.gray@gmail.com>
Signed-off-by: Callan Gray <cal.j.gray@gmail.com>
Signed-off-by: Callan Gray <cal.j.gray@gmail.com>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #29 +/- ##
==========================================
- Coverage 85.93% 85.85% -0.09%
==========================================
Files 14 16 +2
Lines 1152 1308 +156
Branches 179 211 +32
==========================================
+ Hits 990 1123 +133
- Misses 115 135 +20
- Partials 47 50 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Signed-off-by: Callan Gray <cal.j.gray@gmail.com>
Signed-off-by: Callan Gray <cal.j.gray@gmail.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pre-commit run --all-fileswhats-new.rstapi.rst