Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 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
2 changes: 1 addition & 1 deletion .github/workflows/check-release-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7

- name: Default MISSING_CHANGELOG_ENTRY to 1
run: echo 'MISSING_CHANGELOG_ENTRY=1' >> "$GITHUB_ENV"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 6
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- uses: ./.github/actions/setup-python
with:
python-version: "3.10"
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
DIFF_AGAINST: HEAD
timeout-minutes: 8
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
# TODO: This can be very expensive for large repos. Is there a better way to do this?
# Fetch all history and tags for setuptools_scm to work
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
# Upload coverage reports to Codecov

- name: Upload coverage to codecov
uses: codecov/codecov-action@v6
uses: codecov/codecov-action@v7
env:
OS: "${{ matrix.os }}"
PYTHON: "${{ matrix.python-version }}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
# actions: read
# contents: read
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7

- uses: github/codeql-action/init@v4
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 6
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
# TODO: This can be very expensive for large repos. Is there a better way to do this?
# Fetch all history and tags for setuptools_scm to work
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
steps:

# Generate the release notes
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
# TODO: This can be very expensive for large repos. Is there a better way to do this?
# Fetch all history and tags for setuptools_scm to work
Expand All @@ -124,14 +124,14 @@ jobs:
name: python-package-distributions
path: dist/
- name: Sign the dists with Sigstore
uses: sigstore/gh-action-sigstore-python@v3.3.0
uses: sigstore/gh-action-sigstore-python@v3.4.0
with:
inputs: >-
./dist/*.tar.gz
./dist/*.whl

- name: Create GitHub Release
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@v3
with:
body_path: LATEST_RELEASE_NOTES.md
# `dist/` contains the built distributions, and the
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ repos:
exclude: ^\.bumpversion\.cfg$

- repo: https://github.com/python-jsonschema/check-jsonschema.git
rev: 0.37.2
rev: 0.37.4

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Add the missing changelog entry

This PR changes CI/dependency configuration and a test, but docs/reference/changelog.md was not updated; its Unreleased CI/CD section still stops at earlier PRs, so the check-release-notes workflow will keep MISSING_CHANGELOG_ENTRY=1 and fail for any normal PR unless someone applies skip news. Please add the {gh-pr} changelog entry for this change so CI can pass.

Useful? React with 👍 / 👎.

hooks:
- id: check-github-actions
- id: check-github-workflows
Expand All @@ -65,7 +65,7 @@ repos:
- id: nbstripout

- repo: https://github.com/codespell-project/codespell
rev: v2.4.2
rev: v2.4.3
hooks:
- id: codespell
args: [ "-L", "probly", "-L", "mis" ]
Expand Down Expand Up @@ -104,7 +104,7 @@ repos:
additional_dependencies: [setuptools-scm]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.13
rev: v0.15.22
hooks:
- id: ruff-format
- id: ruff
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def test_raise_for_non_2d_array(self) -> None:

@pytest.mark.parametrize(
("densities_type", "rows_type"),
product((id_func, tuple, list), (id_func, tuple, list, np.asarray)),
list(product((id_func, tuple, list), (id_func, tuple, list, np.asarray))),
)
def test_expected_output(
self,
Expand Down
Loading