DiamondLightSource / DiamondLightSource/python-copier-template

Use uv `centralized-project-envs` preview instead of `UV_PROJECT_ENVIRONMENT`

Offen Anfängerfreundlich
#348 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Jinja
Sterne
25
Forks
10
Ø Merge
4 Std. 4 Min.
Gemergte PRs (30 T.)
6

Beschreibung

When https://github.com/astral-sh/uv/pull/18214 is released, then we will be able to get uv to store its venvs in its cache directory. This means we should be able to remove the following settings:
https://github.com/DiamondLightSource/python-copier-template/blob/7fa903a148c16baa5e14371ded403f61cc45f8fd/.devcontainer/devcontainer.json#L16-L29

This ticket is to try this out when a new uv is released and available in `ubuntu-devcontainer`

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start with .devcontainer/devcontainer.json, especially the settings linked at lines 16-29, and check the uv centralized-project-envs preview once the required uv release is available in ubuntu-devcontainer. Remove the obsolete settings and verify that uv stores project virtual environments in its cache directory.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
devops
Issue-Typ
Feature
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
68/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.