Skip to content

ci: build dists with uv build instead of system pip install#5

Merged
anassg-lago merged 1 commit into
mainfrom
fix/publish-uv-build
Jun 3, 2026
Merged

ci: build dists with uv build instead of system pip install#5
anassg-lago merged 1 commit into
mainfrom
fix/publish-uv-build

Conversation

@anassg-lago

Copy link
Copy Markdown
Collaborator

The publish workflow's build job ran uv pip install --system build, which fails on GitHub runners: the system Python at /usr is PEP 668 externally-managed, so uv refuses to install into it. Use uv's native uv build instead — it builds the sdist + wheel into dist/ via the project's build backend with no system-level install.

Verified locally: produces lago_agent_sdk-0.1.0.tar.gz + the wheel.

The publish workflow's build job ran `uv pip install --system build`, which
fails on GitHub runners: the system Python at /usr is PEP 668
externally-managed, so uv refuses to install into it. Use uv's native
`uv build` instead — it builds the sdist + wheel into dist/ via the project's
build backend with no system-level install.

Verified locally: produces lago_agent_sdk-0.1.0.tar.gz + the wheel.
@anassg-lago anassg-lago self-assigned this Jun 3, 2026
@anassg-lago anassg-lago requested a review from chuckulele June 3, 2026 19:06
@anassg-lago anassg-lago merged commit bb9d795 into main Jun 3, 2026
6 checks passed
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