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
4 changes: 2 additions & 2 deletions .github/workflows/rhiza_benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ jobs:
lfs: true

- name: Install uv
uses: astral-sh/setup-uv@v7.2.0
uses: astral-sh/setup-uv@v7.2.1
with:
version: "0.9.27"
version: "0.9.28"
python-version: "3.12"

- name: Run benchmarks
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rhiza_book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ jobs:
lfs: true

- name: Install uv
uses: astral-sh/setup-uv@v7.2.0
uses: astral-sh/setup-uv@v7.2.1
with:
version: "0.9.27"
version: "0.9.28"

- name: "Sync the virtual environment for ${{ github.repository }}"
shell: bash
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/rhiza_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:
lfs: true

- name: Install uv
uses: astral-sh/setup-uv@v7.2.0
uses: astral-sh/setup-uv@v7.2.1
with:
version: "0.9.27"
version: "0.9.28"

- id: versions
env:
Expand Down Expand Up @@ -60,9 +60,9 @@ jobs:
lfs: true

- name: Install uv
uses: astral-sh/setup-uv@v7.2.0
uses: astral-sh/setup-uv@v7.2.1
with:
version: "0.9.27"
version: "0.9.28"
python-version: ${{ matrix.python-version }}

- name: Run tests
Expand All @@ -79,9 +79,9 @@ jobs:
uses: actions/checkout@v6.0.2

- name: Install uv
uses: astral-sh/setup-uv@v7.2.0
uses: astral-sh/setup-uv@v7.2.1
with:
version: "0.9.27"
version: "0.9.28"

- name: Check docs coverage
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rhiza_codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v4.31.10
uses: github/codeql-action/init@v4.32.0
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
Expand Down Expand Up @@ -120,6 +120,6 @@ jobs:
exit 1

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4.31.10
uses: github/codeql-action/analyze@v4.32.0
with:
category: "/language:${{matrix.language}}"
2 changes: 1 addition & 1 deletion .github/workflows/rhiza_deptry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
name: Check dependencies with deptry
runs-on: ubuntu-latest
container:
image: ghcr.io/astral-sh/uv:0.9.27-python3.12-trixie
image: ghcr.io/astral-sh/uv:0.9.28-bookworm

steps:
- uses: actions/checkout@v6.0.2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rhiza_devcontainer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
echo "registry=$REGISTRY" >> "$GITHUB_OUTPUT"

- name: Login to Container Registry
uses: docker/login-action@v3.6.0
uses: docker/login-action@v3.7.0
with:
registry: ${{ steps.registry.outputs.registry }}
username: ${{ github.repository_owner }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rhiza_marimo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ jobs:

# Install uv/uvx
- name: Install uv
uses: astral-sh/setup-uv@v7.2.0
uses: astral-sh/setup-uv@v7.2.1
with:
version: "0.9.27"
version: "0.9.28"

# Execute the notebook with the appropriate runner based on its content
- name: Run notebook
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rhiza_mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
name: Static type checking with mypy
runs-on: ubuntu-latest
container:
image: ghcr.io/astral-sh/uv:0.9.27-python3.12-trixie
image: ghcr.io/astral-sh/uv:0.9.28-bookworm

steps:
- uses: actions/checkout@v6
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/rhiza_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ jobs:
fetch-depth: 0

- name: Install uv
uses: astral-sh/setup-uv@v7.2.0
uses: astral-sh/setup-uv@v7.2.1
with:
version: "0.9.27"
version: "0.9.28"

- name: Verify version matches tag
if: hashFiles('pyproject.toml') != ''
Expand Down Expand Up @@ -259,7 +259,7 @@ jobs:

- name: Login to Container Registry
if: steps.check_publish.outputs.should_publish == 'true'
uses: docker/login-action@v3.6.0
uses: docker/login-action@v3.7.0
with:
registry: ${{ steps.registry.outputs.registry }}
username: ${{ github.repository_owner }}
Expand Down Expand Up @@ -320,9 +320,9 @@ jobs:
fetch-depth: 0

- name: Install uv
uses: astral-sh/setup-uv@v7.2.0
uses: astral-sh/setup-uv@v7.2.1
with:
version: "0.9.27"
version: "0.9.28"

- name: "Sync the virtual environment for ${{ github.repository }}"
shell: bash
Expand All @@ -332,7 +332,7 @@ jobs:
uv sync --all-extras --all-groups --frozen

- name: Set up Python
uses: actions/setup-python@v6.1.0
uses: actions/setup-python@v6.2.0

- name: Generate Devcontainer Link
id: devcontainer_link
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rhiza_security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
name: Security scanning
runs-on: ubuntu-latest
container:
image: ghcr.io/astral-sh/uv:0.9.27-python3.12-trixie
image: ghcr.io/astral-sh/uv:0.9.28-bookworm

steps:
- uses: actions/checkout@v6.0.2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rhiza_sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
fi

- name: Install uv
uses: astral-sh/setup-uv@v7.2.0
uses: astral-sh/setup-uv@v7.2.1

- name: Get Rhiza version
id: rhiza-version
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
if: >
(github.event_name == 'schedule' || inputs.create-pr == true)
&& steps.sync.outputs.changes_detected == 'true'
uses: peter-evans/create-pull-request@v8.0.0
uses: peter-evans/create-pull-request@v8.1.0
with:
token: ${{ secrets.PAT_TOKEN || github.token }}
base: ${{ github.event.repository.default_branch }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rhiza_validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
# don't run this in rhiza itself. Rhiza has no template.yml file.
if: ${{ github.repository != 'jebel-quant/rhiza' }}
container:
image: ghcr.io/astral-sh/uv:0.9.27-python3.12-trixie
image: ghcr.io/astral-sh/uv:0.9.28-bookworm

steps:
- name: Checkout repository
Expand Down
1 change: 1 addition & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"pep621",
"pre-commit",
"github-actions",
"gitlabci",
"devcontainer",
"dockerfile"
],
Expand Down
13 changes: 11 additions & 2 deletions tests/test_rhiza/test_makefile.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,11 @@ def test_help_target(self, logger):

def test_fmt_target_dry_run(self, logger, tmp_path):
"""Fmt target should invoke pre-commit via uvx with Python version in dry-run output."""
proc = run_make(logger, ["fmt"])
# Create clean environment without PYTHON_VERSION so Makefile reads from .python-version
env = os.environ.copy()
env.pop("PYTHON_VERSION", None)

proc = run_make(logger, ["fmt"], env=env)
out = proc.stdout
# Check for uvx command with the Python version flag
# The PYTHON_VERSION should be read from .python-version file (e.g., "3.12")
Expand All @@ -178,7 +182,12 @@ def test_deptry_target_dry_run(self, logger, tmp_path):
env_content += "\nSOURCE_FOLDER=src\n"
env_file.write_text(env_content)

proc = run_make(logger, ["deptry"])
# Create clean environment without PYTHON_VERSION so Makefile reads from .python-version
env = os.environ.copy()
env.pop("PYTHON_VERSION", None)

proc = run_make(logger, ["deptry"], env=env)

out = proc.stdout
# Check for uvx command with the Python version flag
python_version_file = tmp_path / ".python-version"
Expand Down
Loading