Repository navigation
ci: run the CI jobs with pixi - #15
Merged
Merged
Conversation
Conda is no longer available on the GitHub-hosted runners, breaking the pytest/build jobs. Migrate the CI to locked pixi environments (py39, py310, py311) like the other DIRACGrid repositories, and build the distributions with python -m build instead of conda-based setup.py. Stacked on DIRACGrid#13.
39 of 61 tasks
The pinned hook versions (flynt 0.77, pyupgrade v3.3.1) predate the removal of ast.Str in Python 3.12, so they crash on the latest interpreter that 'python-version: 3.x' resolves to.
Superseded by the pixi environments.
- exclude-newer = "7d": the shared Renovate preset enables lock file maintenance, which skips minimumReleaseAge, so the cooldown has to be enforced by pixi at solve time - define the default environment (py311 solve group): plain `pixi run test` resolved to a bare Python 3.15 with no test tools - take pytest/pytest-cov/pylint from setup.py's testing extra instead of listing them twice Assisted-by: Claude:claude-opus-5-5
aldbr
approved these changes
Nov 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of DIRACGrid/.github#5 (adopt
pixieverywhere instead of conda in CI).Conda is no longer available on the GitHub-hosted
ubuntu-latestrunners (last green CI was Nov 13, thenconda: command not found), breaking the pytest and build jobs.What this does, following the same recipe as intercede/signurlarity/DB12:
py39,py310,py311) inpyproject.toml([tool.pixi]), with the project and the test tooling (pytest, pytest-cov, pylint, mypy) aspypi-dependencies, and a committedpixi.lockpytest/mypy/pylintjobs withprefix-dev/setup-pixifrom those locked environmentspython -m build(instead of conda-basedpython setup.py sdist bdist_wheel --universal)prepare_environment.sh, add the standardconcurrencyblock and minimalpermissions, pin the actions to commit SHAsStacked on #13 (trusted publisher), which should be merged first.