You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] CI: "Self-test release-notes checker" fails due to root conftest.py import error #2062
The check-release-notes job in the CI: Release workflow (release.yml) fails at the "Self-test release-notes checker" step with pytest exit code 4 (collection error).
When pytest launches from the repo root, it discovers the root-level conftest.py, which imports cuda.pathfinder. Since the job only installs pytest (not the project packages), the import fails and pytest aborts before any tests run.
The actual release-notes file (cuda_core/docs/source/release/1.0.0-notes.rst) is fine — the job never reaches the "Check versioned release notes exist" step.
Suggested fix
Remove the self-test step from the release workflow entirely. Running infra/tooling tests during a release is not the right place — they should be validated separately (e.g. in a CI workflow that runs on PRs).
For reference, this was already worked around by commenting out the step in a release branch: 40508c5
release.yml: the "Self-test release-notes checker" step is gone entirely ([no-ci] Prepare for cuda.core v1.0.1 release #2073). The check-release-notes job now only runs ci/tools/check_release_notes.py.
ci-nightly.yml: the tool tests moved to a "Run CI tools unit tests" step using python -m pytest -v --noconftest ci/tools/tests — --noconftest is the root-cause fix, stopping pytest from loading the repo-root conftest.py that imports cuda.pathfinder.
Verified green: the "Nightly: CI tools for release" job passed in run 32325363029 (2026-08-20). Other failures in that run are unrelated GPU jobs.
Possible follow-up (separate issue): these only run nightly, so a PR breaking ci/tools/ is caught up to ~24h late. Adding the same step to PR CI would tighten that.
Activity
leofang commentedon May 12, 2026
This commit was ported to the main branch via #2073.
rparolin commentedon Aug 20, 2026
Fixed on
main; closing.release.yml: the "Self-test release-notes checker" step is gone entirely ([no-ci] Prepare for cuda.core v1.0.1 release #2073). Thecheck-release-notesjob now only runsci/tools/check_release_notes.py.ci-nightly.yml: the tool tests moved to a "Run CI tools unit tests" step usingpython -m pytest -v --noconftest ci/tools/tests—--noconftestis the root-cause fix, stopping pytest from loading the repo-rootconftest.pythat importscuda.pathfinder.Possible follow-up (separate issue): these only run nightly, so a PR breaking
ci/tools/is caught up to ~24h late. Adding the same step to PR CI would tighten that.