Skip to content

Allow setting environment variable into cache-keys #8130

@gaborbernat

Description

@gaborbernat

So uv sync is governed by https://docs.astral.sh/uv/reference/settings/#cache-keys. Occasionally, you want to customize the build package based on environment variables (e.g., for a type checker no need to build a NPM distribution static files, but for the tests you might need). Accordingly, we should allow including environment variables into the cache key.

Metadata

Metadata

Assignees

Labels

configurationSettings and suchhelp wantedContribution especially encouraged

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions