Skip to content

ci: call shared Python workflows - #172

Open
jimisola wants to merge 11 commits into
mainfrom
ci/385-shared-build
Open

jimisola wants to merge 11 commits into
mainfrom
ci/385-shared-build

Conversation

@jimisola

Copy link
Copy Markdown
Member

Requested by Jimisola · project thread

What & why

Part of reqstool/.github#385. Replaces the inline build and lint jobs with the shared workflows from reqstool/.github#386 (python-lint.yml with package-manager: poetry, python-build-poetry.yml with install-self-as-plugin: true, common-reqstool-verify.yml, python-smoke.yml) plus a single ci aggregator job. The now-unused lint.yml is deleted. release.yml is untouched; the ref and artifact-name inputs are kept.

Required checks

safe-settings must require ci plus the repo's other non-build checks instead of the old build/lint contexts. That is a separate draft PR and is not merged.

Blocked on

  • ci: add shared build, lint, verify and smoke workflows for Python, Java and Node .github#386 merged and released, then pin the uses: lines to the release SHA.
  • Bug in python-build-poetry.yml on ci/385-shared-python-build: the "Build wheel and install as Poetry plugin" step runs poetry self add "$(find dist -name '*.whl' | sort | tail -1)" with a relative path, which Poetry treats as a package name ("Could not find a matching version of package dist/...whl"). The old inline job used $PWD/dist/.... The shared step needs an absolute path, e.g. "$PWD/$(find dist -name '*.whl' | sort | tail -1)".

Test plan

  • Run 45007494797: lint and validate-openspec are green. The test matrix fails on the bug above, so build, reqstool and smoke are skipped. This is not green yet.
  • Re-run after the shared workflow is fixed.

—
Written by @jimisola together with Claude. I've reviewed this reply and the fix myself before posting.


Generated by Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM
Signed-off-by: Jimisola <jimisola@jimisola.com>
@jimisola jimisola self-assigned this Nov 22, 2026
Comment thread .github/workflows/build.yml Fixed
Comment thread .github/workflows/build.yml Fixed
Comment thread .github/workflows/build.yml Fixed
Comment thread .github/workflows/build.yml Fixed
jimisola and others added 6 commits November 22, 2026 09:32
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM
Signed-off-by: Jimisola <jimisola@jimisola.com>
The plugin builds the path with pathlib, which yields backslashes on
Windows; the assertion hard-coded forward slashes. Found by the new
Windows smoke job.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM
Signed-off-by: Jimisola <jimisola@jimisola.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM
Signed-off-by: Jimisola <jimisola@jimisola.com>
On Windows str(Path) yields backslashes, which the reqstool_config.yml
shipped in the sdist then carries to every consumer platform. Found by the
new Windows smoke job (reqstool/.github#385).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM
Signed-off-by: Jimisola <jimisola@jimisola.com>
Writing in text mode translated LF to CRLF on Windows.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM
Signed-off-by: Jimisola <jimisola@jimisola.com>
@jimisola
jimisola force-pushed the ci/385-shared-build branch from 660180c to 5e6bc66 Compare November 23, 2026 07:24
jimisola and others added 4 commits November 23, 2026 07:43
Pin to 193abb8e7ad36805d5fe7695f8fa5e0a4b6f8da7 (# 1.3.0). The 1.3.0 tag is pending; Renovate resolves it once it exists.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM
Signed-off-by: Jimisola <jimisola@jimisola.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM
Signed-off-by: Jimisola <jimisola@jimisola.com>
The PR description and commits carry the rationale.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM
Signed-off-by: Jimisola <jimisola@jimisola.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM
Signed-off-by: Jimisola <jimisola@jimisola.com>
@jimisola
jimisola marked this pull request as ready for review November 23, 2026 09:34

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.

2 participants