Define the isolation guarantee for installed-wheel CI
Maintainer antworten meist innerhalb von 1 Tag
@rwgk arbeitet bereits daran.
Seit 08.10.2026.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 20/100
Rechercherichtung
Start from PRs #2892 and #2949 and the installed-wheel workflow under .github/workflows to see how the wheel is installed and how pytest is invoked. Reproduce the shadowing case: install the wheel, then run a source-dependent test from inside a package directory and log which module path wins. Evaluate python -I -m pytest plus an import-origin assertion as the baseline. Done means a written guarantee for what the job promises, and any workflow change needed to enforce it, agreed by a maintainer.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Installed-wheel CI installs wheels, then runs tests from a checkout that may still contain package sources. There is an obvious trap: an import check run from the repository root can find the installed wheel, while a later test run from inside a package directory may import checkout code. A green job could then tell us less about the wheel than we think. We have not identified a false pass; this is a preventive question.
#2892 explored skipping source-dependent tests when package sources are removed.
#2949 explored python -I -m pytest with an import-origin check inside each pytest process. -I keeps the working directory and PYTHONPATH off Python’s initial import path, addressing the most direct way checkout code can shadow a wheel while leaving source-tree tests available. However, this still falls short of isolation:
- pytest can alter
sys.pathafter Python starts, - tests can load checkout files directly, and
- child processes do not automatically inherit
-I.
What should an installed-wheel job guarantee, and are import checks sufficient, or should package sources be made unavailable during those tests?
- Vorherrschende Sprache
- Cython
- Sterne
- 3.4k
- Forks
- 353
- Ø Merge
- 2 T. 3 Std.
- Gemergte PRs (30 T.)
- 163
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus NVIDIA/cuda-python
-
[BUG]: the `__cuda_stream__` deprecation warning points to `Stream(obj)`, which always raisesEvtl. vergeben @Iamsohungrynow hat das vor 5 Tagen übernommen. Offenbug cuda.core P1
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 86/100
NVIDIA/cuda-python#3505 · 3 Kommentare · 1 Reaktion · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
[BUG]: ProcessInfo.used_gpu_memory returns the NVML_VALUE_NOT_AVAILABLE sentinel as a byte countOffentriage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 80/100
NVIDIA/cuda-python#3468 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
NVIDIA/cuda-python#3409 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[BUG]: cleanup-pr-previews never removes previews of deleted PRsEvtl. wieder frei @rwgk hat das vor 48 Tagen übernommen, und es ist kein Pull Request offen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
NVIDIA/cuda-python#2952 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
[BUG]: LocatedHeaderDir is mutable, so callers can poison the cached header-directory lookupEvtl. vergeben @rwgk hat das vor 63 Tagen übernommen. Offentriage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
NVIDIA/cuda-python#2646 · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in NVIDIA/cuda-python
Ähnliche Issues
-
Mend: dependency security vulnerability untriaged
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 72/100
opensearch-project/cross-cluster-replication#1801 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
scaleway/LandingZone#10 · 1 Kommentar ·
-
e2e-failure ready-to-code
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
redhat-developer/rhdh-plugin-export-overlays#4905 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
[Enhancement] platform-engineer: a definition change does not re-render running Applications; say how to roll it outEvtl. vergeben @anoop2811 hat das heute übernommen. Offenneeds-triage type/enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
Issue-Bug Need-Review
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 72/100
PowerShell/DSC#1831 ·
Maintainer antworten meist innerhalb von 1 Tag