Skip to content

fix(ci): regenerate pixi.lock to match pyproject.toml#8

Merged
bevankoopman merged 1 commit intoielab:mainfrom
rudolfjs:fix/ci-pixi-lock
Apr 26, 2026
Merged

fix(ci): regenerate pixi.lock to match pyproject.toml#8
bevankoopman merged 1 commit intoielab:mainfrom
rudolfjs:fix/ci-pixi-lock

Conversation

@rudolfjs
Copy link
Copy Markdown
Contributor

@rudolfjs rudolfjs commented Apr 25, 2026

Problem

All four matrix jobs (py310/py311/py312/py313) on main are failing at the install step with:

Error: × lock-file not up-to-date with the workspace
##[error]The process '/home/runner/.pixi/bin/pixi' failed with exit code 1

See run 24814670342.

Cause

PR #7 added the uvx task to [tool.pixi.tasks] in pyproject.toml but shipped a stale pixi.lock. prefix-dev/setup-pixi runs pixi install --locked by default, which refuses to install when the lock and manifest disagree, so every job dies before any test runs.

Fix

Regenerated pixi.lock via pixi install against the current pyproject.toml. No code or workflow changes — just the lock file.

Verification

Local (all four envs):

pixi install --locked --manifest-path pyproject.toml   # ✓
pixi run -e py310 ci   # ✓ ruff check, ruff format --check, 80/80 pytest
pixi run -e py311 ci   # ✓
pixi run -e py312 ci   # ✓
pixi run -e py313 ci   # ✓

PR ielab#7 added the 'uvx' task to [tool.pixi.tasks] in pyproject.toml but
shipped a stale pixi.lock. setup-pixi runs 'pixi install --locked' which
fails with 'lock-file not up-to-date with the workspace', breaking all
four matrix jobs (py310-py313) before any test runs.

Regenerated via 'pixi install' against current pyproject.toml. Verified
locally that 'pixi run -e py3{10,11,12,13} ci' passes (lint, fmt-check,
80 tests) and 'pixi install --locked' now succeeds.
@rudolfjs
Copy link
Copy Markdown
Contributor Author

@bevankoopman - PR to fix the failing CI tests on the last merge.

@bevankoopman bevankoopman merged commit 3a70a85 into ielab:main Apr 26, 2026
4 checks passed
@rudolfjs rudolfjs deleted the fix/ci-pixi-lock branch April 26, 2026 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants