Repository navigation
ci: publish diraccfg to PyPI via trusted publisher - #13
Merged
Merged
Conversation
It now duplicates the real signature. Assisted-by: Claude:claude-opus-5-5
aldbr
approved these changes
Nov 17, 2026
aldbr
pushed a commit
that referenced
this pull request
Nov 17, 2026
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 #13.
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 (PyPI releases / trusted publisher instead of
PYPI_TOKEN), same as DIRACGrid/DIRAC#8886.The
publish-pypijob ofci.ymlis split in two:build-pypibuilds the sdist/wheel (still gated onpytest+pre-commit), uploads them as an artifact on tag pushes, and needs no PyPI credential.publish-pypidownloads the packages and publishes them with trusted publishing (environment: pypi,id-token: write), same as already done indiracx,intercedeandsignurlarity.secrets.pypi_passwordis dropped entirely, andpypa/gh-action-pypi-publishis pinned to the same commit SHA used in the other DIRACGrid repos (it was on the mutablemasterbranch).Required follow-ups before the next release (manual):
pypienvironment on this repository (no reviewers needed)diraccfgproject: workflowci.yml, environmentpypi, owner DIRACGrid