Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
78e1c70
[pre-commit.ci] pre-commit autoupdate (#309)
pre-commit-ci[bot] Aug 9, 2025
6895fbd
support python 3.13 (#310)
keewis Aug 9, 2025
c0014e6
release v0.5.1 (#311)
keewis Aug 9, 2025
bc1e189
new changelog section (#312)
keewis Aug 9, 2025
2175af1
bump versions (#313)
keewis Aug 9, 2025
b243963
migrate the CI setup to pixi (#314)
keewis Aug 10, 2025
f9287d7
codecov maintenance (#315)
keewis Aug 10, 2025
f0135dd
Bump actions/download-artifact from 4 to 5 (#317)
dependabot[bot] Aug 11, 2025
3877341
Bump actions/checkout from 4 to 5 (#318)
dependabot[bot] Aug 11, 2025
d9ca190
`expects` decorator (#316)
keewis Aug 15, 2025
4345c87
[pre-commit.ci] pre-commit autoupdate (#319)
pre-commit-ci[bot] Aug 18, 2025
67d3966
Bump prefix-dev/setup-pixi from 0.8.14 to 0.9.0 (#320)
dependabot[bot] Aug 18, 2025
e919846
hard-code the env name for the nightly CI (#321)
keewis Aug 18, 2025
325c600
don't lock or freeze nightly CI (#323)
keewis Aug 23, 2025
1ed633e
follow the change in signature of `xarray.Index.equals` (#324)
keewis Aug 23, 2025
2dab9ae
display the units in `_repr_inline_` and `__repr__` (#325)
keewis Aug 23, 2025
2b86a6c
backwards compat for `equals` (#326)
keewis Aug 23, 2025
d37ecb8
[pre-commit.ci] pre-commit autoupdate (#327)
pre-commit-ci[bot] Aug 25, 2025
9c480cb
Bump codecov/codecov-action from 5.4.3 to 5.5.0 (#328)
dependabot[bot] Aug 30, 2025
23aa1c1
raise `PintExceptionGroup` containers instead (#329)
keewis Aug 31, 2025
d7d1c87
fix the ci badge (#330)
keewis Aug 31, 2025
f5e5dcc
exclude bots from automatic release notes (#331)
keewis Aug 31, 2025
478624c
release 0.6.0 (#332)
keewis Aug 31, 2025
81228e3
install the build frontend from the right pypi package (#333)
keewis Aug 31, 2025
d10ad7c
new release section (#334)
keewis Aug 31, 2025
b701e39
[pre-commit.ci] pre-commit autoupdate (#335)
pre-commit-ci[bot] Sep 6, 2025
44784cc
Bump codecov/codecov-action from 5.5.0 to 5.5.1 (#336)
dependabot[bot] Sep 8, 2025
2395e82
Bump actions/setup-python from 5 to 6 (#337)
dependabot[bot] Sep 8, 2025
fb09d34
Bump pypa/gh-action-pypi-publish from 1.12.4 to 1.13.0 (#338)
dependabot[bot] Sep 8, 2025
67d5b81
[pre-commit.ci] pre-commit autoupdate (#339)
pre-commit-ci[bot] Sep 8, 2025
2329978
[pre-commit.ci] pre-commit autoupdate (#340)
pre-commit-ci[bot] Sep 22, 2025
7e384e0
Bump prefix-dev/setup-pixi from 0.9.0 to 0.9.1 (#341)
dependabot[bot] Sep 22, 2025
c7488b0
[pre-commit.ci] pre-commit autoupdate (#342)
pre-commit-ci[bot] Sep 29, 2025
b20872e
[pre-commit.ci] pre-commit autoupdate (#343)
pre-commit-ci[bot] Oct 13, 2025
6a480b1
Bump prefix-dev/setup-pixi from 0.9.1 to 0.9.2 (#344)
dependabot[bot] Oct 20, 2025
a7576e4
[pre-commit.ci] pre-commit autoupdate (#345)
pre-commit-ci[bot] Nov 3, 2025
db9b4d4
Bump prefix-dev/setup-pixi from 0.9.2 to 0.9.3 (#348)
dependabot[bot] Nov 3, 2025
d99b20f
Bump actions/upload-artifact from 4 to 5 (#347)
dependabot[bot] Nov 3, 2025
52acba7
Bump actions/download-artifact from 5 to 6 (#346)
dependabot[bot] Nov 3, 2025
d248a1d
[pre-commit.ci] pre-commit autoupdate (#349)
pre-commit-ci[bot] Nov 18, 2025
8c48f25
properly rename the coordinate units (#351)
keewis Nov 21, 2025
153d928
Bump actions/checkout from 5 to 6 (#352)
dependabot[bot] Nov 24, 2025
f74a72f
Bump actions/upload-artifact from 5 to 6 (#357)
dependabot[bot] Jan 7, 2026
39ed0d0
Bump actions/download-artifact from 6 to 7 (#356)
dependabot[bot] Jan 7, 2026
0c9ee54
[pre-commit.ci] pre-commit autoupdate (#353)
pre-commit-ci[bot] Jan 7, 2026
3d485c2
Bump codecov/codecov-action from 5.5.1 to 5.5.2 (#358)
dependabot[bot] Jan 7, 2026
b32058a
Bump prefix-dev/setup-pixi from 0.9.3 to 0.9.4 (#363)
dependabot[bot] Feb 4, 2026
cf6b31f
regenerate and cache the pixi lock file (#364)
keewis Feb 4, 2026
504c945
clean up the nightly issue creation mechanism (#365)
keewis Feb 4, 2026
3c8f9df
[pre-commit.ci] pre-commit autoupdate (#359)
pre-commit-ci[bot] Feb 4, 2026
c03b2ea
Prevent stripping coordinate attrs when using pint.sel (#355)
simonkeys Feb 4, 2026
b59dc4a
run ci on python 3.14 and clean up the pixi config (#366)
keewis Feb 4, 2026
296ee2e
strip units instead of dequantifying (#367)
keewis Feb 4, 2026
6134b61
ensure index units are attached and converted correctly (#368)
keewis Feb 4, 2026
1f67583
use the correct name of the tests step (#369)
keewis Feb 5, 2026
affce2f
Bump actions/download-artifact from 7 to 8 (#371)
dependabot[bot] Mar 18, 2026
e9106bb
[pre-commit.ci] pre-commit autoupdate (#370)
pre-commit-ci[bot] Mar 18, 2026
787643e
Bump actions/upload-artifact from 6 to 7 (#372)
dependabot[bot] Mar 18, 2026
791218d
Bump codecov/codecov-action from 5.5.2 to 5.5.3 (#374)
dependabot[bot] Mar 23, 2026
8b6726a
[pre-commit.ci] pre-commit autoupdate (#376)
pre-commit-ci[bot] Mar 23, 2026
22b847b
release 0.6.1 (#377)
keewis Mar 23, 2026
d4b9dda
new release section (#378)
keewis Mar 23, 2026
94ff32a
[pre-commit.ci] pre-commit autoupdate (#381)
pre-commit-ci[bot] Apr 2, 2026
37a8643
Bump Parcels-code/pixi-lock from 5cbd7a155fa24aa0711ec0a9aad9ede0819e…
dependabot[bot] Apr 6, 2026
d613905
Bump prefix-dev/setup-pixi from 0.9.4 to 0.9.5 (#384)
dependabot[bot] Apr 6, 2026
07bce33
Bump codecov/codecov-action from 5.5.3 to 6.0.0 (#380)
dependabot[bot] Apr 6, 2026
318ac8c
Bump actions/checkout from 6 to 7 (#390)
dependabot[bot] Jun 28, 2026
4ec4c59
[pre-commit.ci] pre-commit autoupdate (#385)
pre-commit-ci[bot] Jun 28, 2026
cb9dfe3
Bump pypa/gh-action-pypi-publish from 1.13.0 to 1.14.0 (#386)
dependabot[bot] Jun 28, 2026
b2a146b
Bump prefix-dev/setup-pixi from 0.9.5 to 0.9.6 (#388)
dependabot[bot] Jun 28, 2026
2dfca4f
Bump codecov/codecov-action from 6.0.0 to 7.0.0 (#389)
dependabot[bot] Jun 28, 2026
f56dbac
use `zizmor` to double-check actions (#379)
keewis Jun 28, 2026
cedbf78
Bump the actions group with 2 updates (#391)
dependabot[bot] Jun 28, 2026
9155319
[pre-commit.ci] pre-commit autoupdate (#392)
pre-commit-ci[bot] Aug 14, 2026
908d2d9
Bump the actions group across 1 directory with 5 updates (#394)
dependabot[bot] Aug 14, 2026
6d5b83f
Merge branch 'main-pint-xarray'
calgray Oct 30, 2026
e8baaca
rename new submodules
calgray Oct 30, 2026
af5c274
fix merge issues
calgray Oct 30, 2026
0b7f43f
fix merge issues
calgray Nov 11, 2026
afc864e
remove pixi
calgray Nov 11, 2026
28fb639
use pyver in ci matrix
calgray Nov 11, 2026
da5538a
use pyver in ci matrix
calgray Nov 11, 2026
1989432
3.10 bw compatibility
calgray Nov 11, 2026
2518d26
astropy 8.0.0 not yet supported
calgray Nov 12, 2026
e625a16
astropy 8.0.0 support
calgray Nov 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,10 @@ updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
interval: "monthly"
cooldown:
default-days: 7
groups:
actions:
patterns:
- "*"
4 changes: 2 additions & 2 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
changelog:
exclude:
authors:
- dependabot
- pre-commit-ci
- dependabot[bot]
- pre-commit-ci[bot]
13 changes: 4 additions & 9 deletions .github/workflows/ci-additional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,20 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions: {}

jobs:
doctests:
name: Doctests
runs-on: ubuntu-latest
if: github.repository == 'calgray/astropy-xarray'

strategy:
fail-fast: false
matrix:
python-version: ["3.12"]

env:
FORCE_COLOR: 3

steps:
- name: checkout
uses: actions/checkout@v4
- name: setup python
uses: actions/setup-python@v5
- name: checkout the repository
uses: actions/checkout@v7.0.1
with:
python-version: ${{ matrix.python-version }}
- name: initialize cache
Expand Down
35 changes: 23 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,21 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions: {}

jobs:
detect-skip-ci-trigger:
name: "Detect CI Trigger: [skip-ci]"
if: github.event_name == 'push' || github.event_name == 'pull_request'
runs-on: ubuntu-latest
runs-on: ubuntu-slim
outputs:
triggered: ${{ steps.detect-trigger.outputs.trigger-found }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7.0.1
with:
fetch-depth: 2
- uses: xarray-contrib/ci-trigger@v1
persist-credentials: false
- uses: xarray-contrib/ci-trigger@v1.2.1
id: detect-trigger
with:
keyword: "[skip-ci]"
Expand All @@ -36,29 +39,37 @@ jobs:
run:
shell: bash -l {0}

env:
FORCE_COLOR: 3

if: |
always()
&& github.repository == 'calgray/astropy-xarray'
&& (
github.event_name == 'workflow_dispatch'
|| needs.detect-skip-ci-trigger.outputs.triggered == 'false'
github.event_name == 'workflow_dispatch' || github.event_name == 'push'
|| (
github.event_name == 'pull_request'
&& (
needs.detect-skip-ci-trigger.outputs.triggered == 'false'
&& !contains(github.event.pull_request.labels.*.name, 'skip-ci')
)
)
)

strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.12", "3.13"]
python-version: ["3.10", "3.12", "3.14"]
os: ["ubuntu-latest", "macos-latest", "windows-latest"]

env:
FORCE_COLOR: 3
RUNNER_OS: ${{ matrix.os }}

steps:
- name: checkout the repository
uses: actions/checkout@v4
uses: actions/checkout@v7.0.1
with:
# need to fetch all tags to get a correct version
fetch-depth: 0 # fetch all branches and tags
persist-credentials: false

- name: cache pip
uses: actions/cache@v4
Expand Down Expand Up @@ -97,11 +108,11 @@ jobs:
python -m pytest --cov=astropy_xarray --cov-report=xml

- name: Upload code coverage to Codecov
uses: codecov/codecov-action@v5.4.3
uses: codecov/codecov-action@v7.0.0
with:
token: "${{ secrets.CODECOV_TOKEN }}" # zizmor: ignore[secrets-outside-env] codecov token
files: ./coverage.xml
flags: unittests
env_vars: RUNNER_OS,PYTHON_VERSION
name: codecov-umbrella
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
50 changes: 35 additions & 15 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,29 @@ on:
branches: [main]
schedule:
- cron: "0 0 * * *" # Daily "At 00:00" UTC

workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions: {}

jobs:
detect-test-upstream-trigger:
name: "Detect CI Trigger: [test-upstream]"
if: |
github.repository_owner == 'calgray'
&& (github.event_name == 'push' || github.event_name == 'pull_request')
runs-on: ubuntu-latest
runs-on: ubuntu-slim
outputs:
triggered: ${{ steps.detect-trigger.outputs.trigger-found }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7.0.1
with:
fetch-depth: 2
- uses: xarray-contrib/ci-trigger@v1.2
persist-credentials: false
- uses: xarray-contrib/ci-trigger@v1.2.1
id: detect-trigger
with:
keyword: "[test-upstream]"
Expand All @@ -50,11 +52,6 @@ jobs:
)
)

strategy:
fail-fast: false
matrix:
python-version: ["3.12"]

outputs:
artifacts_availability: ${{ steps.status.outputs.ARTIFACTS_AVAILABLE }}

Expand All @@ -63,10 +60,11 @@ jobs:

steps:
- name: checkout the repository
uses: actions/checkout@v4
uses: actions/checkout@v7.0.1
with:
# need to fetch all tags to get a correct version
fetch-depth: 0 # fetch all branches and tags
persist-credentials: false

- name: setup python
uses: actions/setup-python@v5
Expand Down Expand Up @@ -96,11 +94,33 @@ jobs:
run: |
python -m pytest -rf --report-log=pytest-log.jsonl

- name: upload the log file
uses: actions/upload-artifact@v7.0.1
with:
name: log file
path: pytest-log.jsonl

create-issue:
name: Report failures
runs-on: ubuntu-latest
needs: upstream-dev

if: |
always()
&& needs.upstream-dev.result == 'failure'
&& github.repository == 'calgray/astropy-xarray'
&& github.event_name == 'schedule'

permissions:
issues: write # open issues if the tests failed

steps:
- name: download log file
uses: actions/download-artifact@v8.0.1
with:
name: log file

- name: report failures
if: |
failure()
&& steps.tests.outcome == 'failure'
&& github.event_name == 'schedule'
uses: xarray-contrib/issue-from-pytest-log@v1
uses: scientific-python/issue-from-pytest-log@v1.6.1
with:
log-path: pytest-log.jsonl
102 changes: 0 additions & 102 deletions .github/workflows/parse_logs.py

This file was deleted.

Loading
Loading