Repository navigation
[rel-v5r0] feat: run the pylint job with pixi - #822
Merged
Merged
Conversation
39 of 61 tasks
fstagni
force-pushed
the
pixi-lint-rel-v5r0
branch
from
November 16, 2026 10:02
1467555 to
7d3b949
Compare
Align the pattern with DIRACGrid/DIRAC's semantic.yml, which accepts chore: commits.
fstagni
marked this pull request as ready for review
November 16, 2026 15:30
- .gitignore: anchor DIRAC/, .DIRAC/ and .pixi/ to the repository root; the unanchored DIRAC/ also ignored the tracked src/WebAppDIRAC/WebApp/static/DIRAC/ tree (new apps were silently left out of commits). - deployment: give workflow_dispatch releases their own concurrency group. With a shared group, a later push/PR run replaced a queued release (GitHub keeps only one pending run per group). - codestyle: only cancel in-progress runs for pull requests, so every commit pushed to a protected branch gets a CI result. - codestyle: install DIRAC with --no-build-isolation; the build backend (setuptools, setuptools-scm, wheel) now comes from pixi.lock instead of unpinned PyPI downloads outside the cooldown. Re-enable the setup-pixi cache keyed on pixi.lock. - pixi.toml: matplotlib -> matplotlib-base, so the conda tornado is no longer installed under the tornado fork from PyPI (also drops Qt); refresh the header comment (editable install, not a copy). Assisted-by: Claude:claude-opus-5-5
aldbr
approved these changes
Nov 16, 2026
aldbr
pushed a commit
that referenced
this pull request
Nov 16, 2026
Port of #822 to the integration branch: the pyLint job drops setup-micromamba + DIRAC's environment.yml in favor of a locked pixi environment (pixi.toml mirrors DIRAC integration's environment.yml; exclude-newer enforces the 7-day release-age cooldown at solve time). DIRAC@integration is installed editable with --no-deps so that import DIRAC resolves for pylint.
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), stacked on #821.The
pyLintjob ofcodestyle.ymldrops micromamba + DIRAC'senvironment.ymlin favor of a locked pixi environment:pixi.toml: the dependency set mirrors DIRACrel-v8r0'senvironment.yml(conda packages from thediracgrid+conda-forgechannels, plus the pip-only pieces: the DIRACGrid tornado forks and Authlib) withpylinton top. Channels and constraints are kept identical, so the lint environment matches what the micromamba job provided.pixi.lockis committed: the environment is reproducible, and Renovate (via the org preset) becomes the only path for dependency changes, with the 7-day release-age cooldown enforced on the lock.--no-deps, pinned torel-v8r0via the git source inpixi.toml): its dependencies come from the pixi environment, so no PyPI sdist builds are needed. The.DIRACsource copy step is dropped —import DIRACresolves from the installed package..gitignore: local pixi/DIRAC checkouts are ignored.Verified locally:
pixi run pylint -E src/WebAppDIRACexits 0 on this branch.