pypa/hatch

Add support for environment variable to manage mirrored Python distributions

Open

#2.236 geöffnet am 7. Apr. 2026

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (240 Forks)batch import
enhancementgood first issue

Repository-Metriken

Stars
 (4.451 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 41T 22h) (20 gemergte PRs in 30 T)

Beschreibung

Description

refresh of #1775

Could we add support for an environment variable to override some hard coded url's in Hatch? (from https://docs.astral.sh/uv/configuration/environment/) ?

This could help with https://github.com/pypa/hatch/issues/1596

The use case is within #1596 , where Python distributed binaries are pulled from 'https://github.com/indygreg/python-build-standalone/releases/download/' . I would like to override this URL for one relevant to my environment. Note: this is an old request and perhaps something got changed since the initial request.

Use case/motivation

No response

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Contributor Guide