Define the isolation guarantee for installed-wheel CI
Mantenedores costumam responder em até 1 dia
@rwgk já está trabalhando nisso.
Desde 8/10/2026.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 20/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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?
- Linguagem predominante
- Cython
- Estrelas
- 3.4k
- Forks
- 353
- Merge médio
- 2d 3h
- PRs com merge (30d)
- 163
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de NVIDIA/cuda-python
-
[BUG]: the `__cuda_stream__` deprecation warning points to `Stream(obj)`, which always raisesTalvez já em andamento @Iamsohungrynow assumiu há 5 dias. Abertabug cuda.core P1
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 86/100
NVIDIA/cuda-python#3505 · 3 comentários · 1 reação · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
[BUG]: ProcessInfo.used_gpu_memory returns the NVML_VALUE_NOT_AVAILABLE sentinel as a byte countAbertatriage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 80/100
NVIDIA/cuda-python#3468 · 3 comentários ·
Mantenedores costumam responder em até 1 dia
-
triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
NVIDIA/cuda-python#3409 ·
Mantenedores costumam responder em até 1 dia
-
[BUG]: cleanup-pr-previews never removes previews of deleted PRsTalvez livre de novo @rwgk assumiu há 48 dias e não há nenhum pull request aberto. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
NVIDIA/cuda-python#2952 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
[BUG]: LocatedHeaderDir is mutable, so callers can poison the cached header-directory lookupTalvez já em andamento @rwgk assumiu há 63 dias. Abertatriage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
NVIDIA/cuda-python#2646 · 1 reação ·
Mantenedores costumam responder em até 1 dia
Todas as issues de NVIDIA/cuda-python
Issues semelhantes
-
Mend: dependency security vulnerability untriaged
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 72/100
opensearch-project/cross-cluster-replication#1801 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
scaleway/LandingZone#10 · 1 comentário ·
-
e2e-failure ready-to-code
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
redhat-developer/rhdh-plugin-export-overlays#4905 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
[Enhancement] platform-engineer: a definition change does not re-render running Applications; say how to roll it outTalvez já em andamento @anoop2811 assumiu hoje. Abertaneeds-triage type/enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
Issue-Bug Need-Review
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 72/100
PowerShell/DSC#1831 ·
Mantenedores costumam responder em até 1 dia