Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 4 additions & 3 deletions .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "https://github.com/sunpy/package-template",
"commit": "0c0f34c2ccd536ba8320fcda29c4d8e0f8f9adc5",
"commit": "9810f983b63cad4d9abfb6088a40617578a6d965",
"checkout": null,
"context": {
"cookiecutter": {
Expand All @@ -21,9 +21,10 @@
"use_compiled_extensions": "n",
"enable_dynamic_dev_versions": "n",
"include_example_code": "n",
"include_cruft_update_github_workflow": "y",
"include_cruft_update_github_workflow": "n",
"use_extended_ruff_linting": "y",
"matrix_room_id": "!jfEXWJFdXwYnBWsiqk:openastronomy.org",
"extra_ci_jobs": "",
"_sphinx_theme": "sunpy",
"_parent_project": "",
"_install_requires": "",
Expand All @@ -33,7 +34,7 @@
".github/workflows/sub_package_update.yml"
],
"_template": "https://github.com/sunpy/package-template",
"_commit": "0c0f34c2ccd536ba8320fcda29c4d8e0f8f9adc5"
"_commit": "9810f983b63cad4d9abfb6088a40617578a6d965"
}
},
"directory": null
Expand Down
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ updates:
schedule:
interval: "monthly"
cooldown:
default-days: 7
default-days: 14 # Most updates should be from the package template
groups:
actions:
patterns:
Expand Down
19 changes: 9 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ jobs:
- run: cargo test

core:
needs: [rust]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v2 # zizmor: ignore[unpinned-uses]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@8c8bb6c6c962542921f993d47d26df38dccd50b1 # v3.0.2
with:
submodules: false
coverage: codecov
Expand All @@ -54,10 +53,10 @@ jobs:
sdist_verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6 # zizmor: ignore[unpinned-uses]
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-python@v6 # zizmor: ignore[unpinned-uses]
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: '3.13'
- run: python -m pip install -U --user build
Expand All @@ -67,7 +66,7 @@ jobs:

test:
needs: [core, sdist_verify]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v2 # zizmor: ignore[unpinned-uses]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@8c8bb6c6c962542921f993d47d26df38dccd50b1 # v3.0.2
with:
submodules: false
coverage: codecov
Expand All @@ -85,7 +84,7 @@ jobs:

docs:
needs: [core]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v2 # zizmor: ignore[unpinned-uses]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@8c8bb6c6c962542921f993d47d26df38dccd50b1 # v3.0.2
with:
default_python: '3.13'
submodules: false
Expand All @@ -107,7 +106,7 @@ jobs:
contains(github.event.pull_request.labels.*.name, 'Run publish')
)
needs: [test, docs]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish.yml@v2 # zizmor: ignore[unpinned-uses]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish.yml@8c8bb6c6c962542921f993d47d26df38dccd50b1 # v3.0.2
with:
sdist: true
test_extras: 'tests'
Expand Down Expand Up @@ -135,7 +134,7 @@ jobs:
name: pypi
steps:
- name: Download artifacts
uses: actions/download-artifact@v8 # zizmor: ignore[unpinned-uses]
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
merge-multiple: true
pattern: dist-*
Expand All @@ -144,7 +143,7 @@ jobs:
- run: ls -lha dist/

- name: Run upload
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2

notify:
if: ${{ !cancelled() && (github.event_name == 'workflow_dispatch' || github.event_name == 'schedule') }}
Expand All @@ -153,7 +152,7 @@ jobs:
environment:
name: matrix
steps:
- uses: Cadair/matrix-notify-action@main # zizmor: ignore[unpinned-uses]
- uses: Cadair/matrix-notify-action@31c7cc36051ee7dc4157a22c1f13dbc7d68e5120 # v2
with:
workflow_description: 'CI Workflow in sunpy/streamtracer'
matrix_token: ${{ secrets.MATRIX_ACCESS_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/label_sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ jobs:
runs-on: ubuntu-latest
name: Label Sync
steps:
- uses: srealmoreno/label-sync-action@850ba5cef2b25e56c6c420c4feed0319294682fd
- uses: srealmoreno/label-sync-action@850ba5cef2b25e56c6c420c4feed0319294682fd # v2.0.0
with:
config-file: https://raw.githubusercontent.com/sunpy/.github/main/labels.yml
164 changes: 0 additions & 164 deletions .github/workflows/sub_package_update.yml

This file was deleted.

8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
repos:
- repo: https://github.com/zizmorcore/zizmor-pre-commit
rev: v1.25.2
rev: v1.28.0
hooks:
- id: zizmor
# This should be before any formatting hooks like isort
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.15.15"
rev: "v0.16.1"
hooks:
- id: ruff
- id: ruff-check
args: ["--fix"]
types: [python]
# Define here once and then reference using YAML anchor
Expand Down Expand Up @@ -45,7 +45,7 @@ repos:
- id: mixed-line-ending
types_or: [python, rst, rust]
- repo: https://github.com/codespell-project/codespell
rev: v2.4.2
rev: v2.4.3
hooks:
- id: codespell
args: [ "--write-changes" ]
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
build:
os: ubuntu-lts-latest
tools:
python: "mambaforge-latest"
python: "miniforge3-latest"
jobs:
post_checkout:
- git fetch --unshallow || true
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ pass_env =
# If the user has set a LC override we should follow it
LC_ALL
set_env =
COVERAGE_FILE={toxinidir}/.coverage
MPLBACKEND = agg
devdeps: PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/astropy/simple https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
deps =
Expand Down
Loading