Skip to content

feat: run the check jobs with pixi - #8905

Open
fstagni wants to merge 4 commits into
DIRACGrid:rel-v9r0from
fstagni:pixi-ci-rel-v9r0
Open

fstagni wants to merge 4 commits into
DIRACGrid:rel-v9r0from
fstagni:pixi-ci-rel-v9r0

Conversation

@fstagni

@fstagni fstagni commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Part of DIRACGrid/.github#5. Port of #8900 (integration) and #8904 to rel-v9r0, following the same recipe once validated there.

  • check/check-py314 move from the run-time conda environment (setup-miniconda + environment.yml, including the sed hack to swap python to 3.14) to locked pixi environments: py311 (default) + py314, with exclude-newer = "7d" enforcing the release-age cooldown. pixi.toml mirrors environment.yml (minus fabric/paramiko, which rel-v9r0 never had); pixi.lock is committed.
  • ports ci: run pre-commit via pre-commit/action and lite-action #8904: the pre-commit job runs via pre-commit/action with auto-fixes from pre-commit-ci/lite-action; rev updates come from Renovate's pre-commit manager (chore: enable Renovate's pre-commit manager in the shared preset .github#8). Python stays pinned to 3.11 until the 2023-era pinned hooks (black 23.1.0, flynt 0.77, pyupgrade v3.3.1) are updated.
  • pixi.lock removed from .gitignore (it was ignored, which broke the setup-pixi cache key on integration — see feat: run the check jobs with pixi #8900).

deploy_CVMFS keeps conda on purpose (gsissh/CVMFS tooling), as agreed in the issue.

Stacked on #8892 (zizmor), which should be merged first.

The plain $COMMAND expansion word-splits without quote removal, so the
pytest -k 'not test_BaseType_Unicode and not test_nestedStructure'
expression is broken into separate arguments and pytest fails with
'file or directory not found: test_BaseType_Unicode'.
Use eval "$COMMAND" to re-parse the quoting, as already done on the
v8r0 branch.
Quoting "$MATRIX_ARGS" passes the whole space-separated KEY=VALUE list
as a single argument, so integration_tests.py's split('=', 1) puts
e.g. 'mariadb:10.6.3 ES_VER=opensearchproject/opensearch:2.1.0' into
MYSQL_VER and docker compose fails with 'invalid reference format'.
Leave $MATRIX_ARGS unquoted so the shell word-splits it into separate
flags, as the original ${{ matrix.ARGS }} expansion did.
Port of DIRACGrid#8900 to rel-v9r0: the check/check-py314 jobs move from the
conda environment (created at run time from environment.yml via
setup-miniconda, including the sed hack to swap python to 3.14) to
locked pixi environments (py311 default + py314, exclude-newer
enforced). pixi.toml mirrors environment.yml; pixi.lock is committed
(make sure it is not gitignored - it was, which broke the setup-pixi
cache key on integration).

Also ports DIRACGrid#8904: the pre-commit job runs via pre-commit/action and
pushes auto-fixes with pre-commit-ci/lite-action (hook rev updates come
from Renovate's pre-commit manager, DIRACGrid/.github#8). Python stays
pinned to 3.11 there until the 2023-era pinned hooks are updated.

Stacked on DIRACGrid#8892 (zizmor).

This branch has not been deployed

No deployments
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.

1 participant