From 81e8802f06d3b46251e583d4ec218ef684388344 Mon Sep 17 00:00:00 2001 From: Ryan May Date: Tue, 2 Dec 2025 17:18:45 -0700 Subject: [PATCH 1/2] CI: Move some jobs to ubuntu-slim Switch lightweight jobs to use smaller runners. --- .github/workflows/assign-milestone.yml | 2 +- .github/workflows/backport-prs.yml | 2 +- .github/workflows/docs.yml | 4 ++-- .github/workflows/linting.yml | 2 +- .github/workflows/nightly-builds.yml | 2 +- .github/workflows/tests-conda.yml | 2 +- .github/workflows/tests-pypi.yml | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/assign-milestone.yml b/.github/workflows/assign-milestone.yml index 8e97749344..79f427afb4 100644 --- a/.github/workflows/assign-milestone.yml +++ b/.github/workflows/assign-milestone.yml @@ -13,7 +13,7 @@ jobs: issues: write name: Assign Latest Milestone - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - uses: actions/github-script@v8 name: Run script diff --git a/.github/workflows/backport-prs.yml b/.github/workflows/backport-prs.yml index 8f0844693e..f00a3e280e 100644 --- a/.github/workflows/backport-prs.yml +++ b/.github/workflows/backport-prs.yml @@ -10,7 +10,7 @@ jobs: Backport: environment: name: PR Backport - runs-on: ubuntu-latest + runs-on: ubuntu-slim if: github.event.pull_request.merged && contains( github.event.pull_request.labels.*.name, 'backport' ) permissions: pull-requests: write diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index aace10bc06..7e0c8f0f8d 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -63,7 +63,7 @@ jobs: needs: Docs environment: name: github-pages - runs-on: ubuntu-latest + runs-on: ubuntu-slim env: DOC_VERSION: dev permissions: @@ -101,7 +101,7 @@ jobs: name: "Manage doc versions" environment: name: github-pages - runs-on: ubuntu-latest + runs-on: ubuntu-slim permissions: contents: write diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index c8f2cb062a..c720792fcb 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -12,7 +12,7 @@ concurrency: jobs: lint: name: Run Lint Tools - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - uses: actions/checkout@v6 with: diff --git a/.github/workflows/nightly-builds.yml b/.github/workflows/nightly-builds.yml index 854a6ef7fb..ea5b5c8214 100644 --- a/.github/workflows/nightly-builds.yml +++ b/.github/workflows/nightly-builds.yml @@ -28,7 +28,7 @@ jobs: name: Report needs: Builds if: failure() || github.event_name == 'pull_request' - runs-on: ubuntu-latest + runs-on: ubuntu-slim permissions: issues: write diff --git a/.github/workflows/tests-conda.yml b/.github/workflows/tests-conda.yml index 99b89ad6d9..b3f9921b21 100644 --- a/.github/workflows/tests-conda.yml +++ b/.github/workflows/tests-conda.yml @@ -60,7 +60,7 @@ jobs: codecov: name: CodeCov Upload needs: CondaTests - runs-on: ubuntu-latest + runs-on: ubuntu-slim environment: name: CodeCov timeout-minutes: 2 diff --git a/.github/workflows/tests-pypi.yml b/.github/workflows/tests-pypi.yml index d6501aba7b..7a56a65bf5 100644 --- a/.github/workflows/tests-pypi.yml +++ b/.github/workflows/tests-pypi.yml @@ -86,7 +86,7 @@ jobs: codecov: needs: PyPITests name: CodeCov Upload - runs-on: ubuntu-latest + runs-on: ubuntu-slim environment: name: CodeCov timeout-minutes: 2 From 66ede55352028e08579d49e038a52e9c7c6a3e8e Mon Sep 17 00:00:00 2001 From: Ryan May Date: Tue, 23 Dec 2025 15:19:08 -0700 Subject: [PATCH 2/2] MNT: Ignore deprecation warnings triggered by matplotlib Needs a very recent matplotlib, with support for newer pyparsing versions, to quiet otherwise. --- pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 5b4ab2ee26..dda7038791 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -122,7 +122,10 @@ filterwarnings = [ # Pandas >=2.2 warns about PyArrow being a future dependency 'ignore:\nPyarrow will become a required dependency of pandas:DeprecationWarning', # Not yet fixed in xarray - "ignore:__array__ implementation doesn't accept a copy keyword:DeprecationWarning" + "ignore:__array__ implementation doesn't accept a copy keyword:DeprecationWarning", + # Needs matplotlib >=3.10.7 for fixes + "ignore:'\\S+' deprecated - use '\\S+':DeprecationWarning:matplotlib._fontconfig_pattern", + "ignore:'\\S+' deprecated - use '\\S+':DeprecationWarning:matplotlib._mathtext" ] [tool.ruff]