Skip to content

Pulled in UV_VENV_CLEAR for uv==0.10.0 break#1285

Merged
jamesbraza merged 1 commit intomainfrom
newer-uv
Feb 11, 2026
Merged

Pulled in UV_VENV_CLEAR for uv==0.10.0 break#1285
jamesbraza merged 1 commit intomainfrom
newer-uv

Conversation

@jamesbraza
Copy link
Copy Markdown
Collaborator

@jamesbraza jamesbraza commented Feb 11, 2026

Sister PR to Future-House/aviary#338


Note

Low Risk
CI-only environment-variable change; the main risk is unexpected build/lint behavior changes in GitHub Actions runs.

Overview
Adds UV_VENV_CLEAR=1 to the GitHub Actions environment for the Publish workflow’s publish job and the Lint and Test workflow’s lint job, as a workaround for a hynek/build-and-inspect-python-package/uv venv clearing issue.

Written by Cursor Bugbot for commit 2a95c17. Configure here.

@jamesbraza jamesbraza self-assigned this Feb 11, 2026
Copilot AI review requested due to automatic review settings February 11, 2026 05:18
@jamesbraza jamesbraza added the bug Something isn't working label Feb 11, 2026
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Feb 11, 2026
@dosubot
Copy link
Copy Markdown

dosubot bot commented Feb 11, 2026

Related Documentation

Checked 1 published document(s) in 1 knowledge base(s). No updates required.

How did I do? Any feedback?  Join Discord

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a GitHub Actions environment flag to work around a uv==0.10.0-related venv-clearing behavior impacting hynek/build-and-inspect-python-package.

Changes:

  • Set UV_VENV_CLEAR=1 for the lint job in CI tests workflow.
  • Set UV_VENV_CLEAR=1 for the publish job in release build workflow.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/tests.yml Adds UV_VENV_CLEAR to the lint job environment to unblock package build/inspect steps.
.github/workflows/build.yml Adds UV_VENV_CLEAR to the publish job environment to unblock release build/inspect steps.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +33 to +34
env:
UV_VENV_CLEAR: 1 # Work around https://github.com/hynek/build-and-inspect-python-package/issues/174
Copy link

Copilot AI Feb 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UV_VENV_CLEAR is currently set at the job level, which means it will also affect the later uv sync / uv run steps in this job. If the workaround is only needed for hynek/build-and-inspect-python-package, consider moving this env var to just those uses: hynek/build-and-inspect-python-package@v2 steps to avoid unintended behavior changes and extra venv churn for the rest of the lint job.

Copilot uses AI. Check for mistakes.
@jamesbraza jamesbraza merged commit 074f0d2 into main Feb 11, 2026
11 of 14 checks passed
@jamesbraza jamesbraza deleted the newer-uv branch February 11, 2026 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants