Skip to content

Commit edc82bb

Browse files
authored
Merge branch 'main' into FEATURE_wkt
2 parents 8437bb5 + d4489d1 commit edc82bb

35 files changed

+2064
-813
lines changed

.github/workflows/ci-manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ concurrency:
2323
jobs:
2424
manifest:
2525
name: "check-manifest"
26-
uses: scitools/workflows/.github/workflows/ci-manifest.yml@2025.06.3
26+
uses: scitools/workflows/.github/workflows/ci-manifest.yml@2025.07.1

.github/workflows/ci-template-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
prompt-share:
13-
uses: scitools/workflows/.github/workflows/ci-template-check.yml@2025.06.3
13+
uses: scitools/workflows/.github/workflows/ci-template-check.yml@2025.07.1
1414
secrets: inherit
1515
with:
1616
pr_number: ${{ github.event.pull_request.number }}

.github/workflows/ci-wheels.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,10 @@ jobs:
129129
needs: test-wheel
130130
name: "publish to test.pypi"
131131
runs-on: ubuntu-latest
132+
permissions:
133+
id-token: write # Mandatory for PyPI Trusted Publishing OpenID Connect (OIDC)
134+
environment: test-pypi
135+
132136
# upload to Test PyPI for every commit on main branch
133137
# and check for the SciTools repo
134138
if: github.event_name == 'push' && github.event.ref == 'refs/heads/main' && github.repository_owner == 'SciTools'
@@ -138,18 +142,20 @@ jobs:
138142
name: pypi-artifacts
139143
path: ${{ github.workspace }}/dist
140144

141-
- uses: pypa/gh-action-pypi-publish@release/v1
145+
- uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc
142146
with:
143-
user: __token__
144-
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
145-
repository_url: https://test.pypi.org/legacy/
146-
skip_existing: true
147-
print_hash: true
147+
repository-url: https://test.pypi.org/legacy/
148+
skip-existing: true
149+
print-hash: true
148150

149151
publish-artifacts-pypi:
150152
needs: test-wheel
151153
name: "publish to pypi"
152154
runs-on: ubuntu-latest
155+
permissions:
156+
id-token: write # Mandatory for PyPI Trusted Publishing OpenID Connect (OIDC)
157+
environment: pypi
158+
153159
# upload to PyPI for every tag starting with 'v'
154160
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') && github.repository_owner == 'SciTools'
155161
steps:
@@ -158,8 +164,6 @@ jobs:
158164
name: pypi-artifacts
159165
path: ${{ github.workspace }}/dist
160166

161-
- uses: pypa/gh-action-pypi-publish@release/v1
167+
- uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc
162168
with:
163-
user: __token__
164-
password: ${{ secrets.PYPI_API_TOKEN }}
165-
print_hash: true
169+
print-hash: true

.github/workflows/refresh-lockfiles.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ on:
1414

1515
jobs:
1616
refresh_lockfiles:
17-
uses: scitools/workflows/.github/workflows/refresh-lockfiles.yml@2025.06.3
17+
uses: scitools/workflows/.github/workflows/refresh-lockfiles.yml@2025.07.1
1818
secrets: inherit

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ repos:
2929
- id: no-commit-to-branch
3030

3131
- repo: https://github.com/astral-sh/ruff-pre-commit
32-
rev: "v0.12.0"
32+
rev: "v0.12.3"
3333
hooks:
3434
- id: ruff
3535
types: [file, python]
@@ -71,7 +71,7 @@ repos:
7171
exclude: 'noxfile\.py|docs/src/conf\.py'
7272

7373
- repo: https://github.com/numpy/numpydoc
74-
rev: v1.8.0
74+
rev: v1.9.0
7575
hooks:
7676
- id: numpydoc-validation
7777
exclude: "^lib/iris/tests/|docs/gallery_code/"

MANIFEST.in

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,6 @@ recursive-include lib *.cdl *.cml *.json *.md *.py *.template *.txt *.xml
2121
# - also possibly non-python, e.g. *.pyx for Cython
2222

2323

24-
#---------
25-
# SECTION: docs
26-
prune docs
27-
# and if required ... include ONLY docs source files.
28-
# E.G. recursive-include docs *.rst *.inc
29-
# principles:
30-
# - use prune to ignore everything (optionally: except the docs sources)
31-
# hints:
32-
# - most projects don't want to package the docs, but some currently do (cf-units).
33-
34-
3524
#---------
3625
# SECTION: requirements
3726
prune requirements
@@ -41,7 +30,6 @@ recursive-include requirements *.txt
4130
# hints:
4231
# - not all projects include requirements, but they can be drawn in anyway by dynamic dependencies
4332
# in the setuptools build process, linked via config in pyproject.toml
44-
# - for some repos, the *.txt are actually lockfiles. This probably needs fixing.
4533

4634

4735
#---------
@@ -57,14 +45,19 @@ exclude .pre-commit-config.yaml
5745
exclude .readthedocs.yml
5846
exclude .ruff.toml
5947
exclude CHANGES
48+
include CHANGELOG.md
6049
include CITATION.cff
6150
exclude CODE_OF_CONDUCT.md
51+
exclude CONTRIBUTING.md
6252
include COPYING
6353
include COPYING.LESSER
54+
include INSTALL
6455
include LICENSE
6556
exclude Makefile
6657
exclude codecov.yml
6758
include noxfile.py
59+
include tox.ini
60+
exclude pixi.lock
6861
# principles:
6962
# - *ANY* file in the root should be explicitly "include"- or "exclude"-d
7063
# - EXCEPT (possibly) those covered by setuptools default rules (see above link)
@@ -83,6 +76,7 @@ prune .github
8376
prune .nox
8477
prune .tox
8578
prune .coverage
79+
prune docs
8680
# (2) top-level files to omit
8781
exclude .coveragerc
8882
# (3) file types (path patterns) to skip everywhere

docs/src/userguide/cube_statistics.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ These areas can now be passed to the ``collapsed`` method as weights:
143143
forecast_reference_time 2009-11-19 04:00:00
144144
grid_latitude 1.5145501 degrees, bound=(0.13755022, 2.89155) degrees
145145
grid_longitude 358.74948 degrees, bound=(357.48724, 360.01172) degrees
146-
surface_altitude 399.625 m, bound=(-14.0, 813.25) m
146+
surface_altitude <lazy>+bound
147147
Cell methods:
148148
0 grid_longitude: grid_latitude: mean
149149
Attributes:
@@ -191,7 +191,7 @@ the units of the resulting cube are multiplied by an area unit:
191191
forecast_reference_time 2009-11-19 04:00:00
192192
grid_latitude 1.5145501 degrees, bound=(0.13755022, 2.89155) degrees
193193
grid_longitude 358.74948 degrees, bound=(357.48724, 360.01172) degrees
194-
surface_altitude 399.625 m, bound=(-14.0, 813.25) m
194+
surface_altitude <lazy>+bound
195195
Cell methods:
196196
0 grid_longitude: grid_latitude: sum
197197
Attributes:

docs/src/userguide/multi_array_to_cube.svg

Lines changed: 109 additions & 33 deletions
Loading

docs/src/voted_issues.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ the below table.
2222

2323
<!-- Must import jquery before the datatables css and js files. -->
2424
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
25-
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/2.0.3/css/dataTables.dataTables.min.css">
26-
<script type="text/javascript" charset="utf8" src="https://cdn.datatables.net/2.0.3/js/dataTables.min.js"></script>
25+
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/2.3.2/css/dataTables.dataTables.min.css">
26+
<script type="text/javascript" charset="utf8" src="https://cdn.datatables.net/2.3.2/js/dataTables.min.js"></script>
2727

2828

2929
<table id="voted_issues_table" class="hover row-border order-column" style="width:100%">
@@ -56,6 +56,6 @@ the below table.
5656
<p></p>
5757

5858

59-
.. note:: The data in this table is updated every 30 minutes and is sourced
60-
from `voted-issues.json`_.
61-
For the latest data please see the `issues on GitHub`_.
59+
.. note:: The data in this table is sourced from `voted-issues.json`_ and is updated
60+
via a scheduled GitHub Action. For the latest data please see
61+
the `issues on GitHub`_.

0 commit comments

Comments
 (0)