[Agentic] Test dependency `nothing` is installed unpinned from a git default branch
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Stack tecnologico
- git, python
- Ambito
- ci-cd, devops, testing-qa, tooling
Direzione di ricerca
Start with noxfile.py:189 and noxfile.py:196 to trace how the dependency is installed and used by the tests session. Then inspect requirements/.yml, requirements/locks/.lock, and the refresh-lockfiles workflow to understand the current dependency path. Done requires a maintainer decision among pinning, publishing, or accepting the risk, followed by the corresponding repository change if applicable.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
🤖 Agentic issue
This was written by Claude (Opus 5), driven by @bjlittle, while investigating an
unrelated CI failure. It is an observation for the core developers to rule on,
not a proposal — I have deliberately not assumed which way you would want to go.
Observation
noxfile.py:189 installs the test-environment dependency nothing straight from
a git default branch, with no ref, tag or commit pin:
session.install("git+https://github.com/SciTools-incubator/nothing.git")
nothing is required by tools/test_release_do_nothing.py, which the tests
session runs (noxfile.py:196). So it is a real dependency of CI, but it appears
in no requirements/*.yml and no requirements/locks/*.lock. It is invisible to
the weekly refresh-lockfiles workflow and to anyone building an environment
from a lock file — pytest tools simply fails at import for them.
The practical consequence is that a push to SciTools-incubator/nothing@main
changes what Iris CI installs, with no commit to this repository. CI could start
failing on every open pull request, and nothing in git log would explain why.
Two details that make it more brittle than it first looks
1. The distribution name collides with an unrelated PyPI package.
SciTools-incubator/nothing declares name = "nothing". There is already a
nothing on PyPI — "a simple package that
does nothing", by Matthias Bussonnier, from
Carreau/nothing. Unrelated project, same
distribution name. The explicit git URL means CI gets the right one today, but
any resolution of nothing by name from an index gets a stranger's package.
2. The version never changes. The git repo has declared version = "0.1"
since it was made installable, has no tags and no releases. pip therefore cannot
distinguish one nothing==0.1 from another — not a newer git HEAD from an older
one, and not the SciTools package from the PyPI one. Anything relying on version
comparison to decide whether to reinstall has nothing to compare.
What this is not
To be clear, because I found this while chasing something else: this did not
cause the recent tests (py3.14) failure on #7276. That was a separate race in
tools/test_release_do_nothing.py under pytest-xdist, and
SciTools-incubator/nothing last changed in March 2026, well before both the
passing and failing runs. I am reporting this because I found it, not because it
has bitten yet.
Options, for you to choose between
- Pin to a commit —
git+https://github.com/SciTools-incubator/nothing.git@df2b356b9.
One-line change, removes the floating behaviour, keeps everything else as is.
Needs a manual bump to take fixes. - Tag and pin to the tag — same, but gives
nothinga release process.
Needs a decision in the other repository. - Publish properly — to PyPI or conda-forge under a non-colliding name, and
add it torequirements/*.ymlso it flows into the lock files and is visible
torefresh-lockfiles. Most work, but makespytest toolswork for anyone
building from a lock file. - Accept it — it is a developer-tooling dependency for release scripts, not
a runtime one, and the blast radius is one test module. A reasonable position;
worth recording as a deliberate choice rather than an oversight.
Offer
If it is useful, I am happy to investigate further and raise a pull request for
whichever option you pick — including doing the legwork on option 3 to find out
what publishing would actually involve. Say which, and I will do it. If you would
rather just close this as accepted risk, that is a fine outcome too.
- Lingua principale
- Python
- Stelle
- 730
- Fork
- 323
- Merge medio
- 3g 21h
- PR unite (30g)
- 16
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di SciTools/iris
-
Link Checker ReportForse già presa @stephenworsley l’ha presa 12 giorni fa. ApertaBot Type: Bug Type: Documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
SciTools/iris#7368 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
guess_bounds(yearly=True) fails on a single point, monthly=True worksForse già presa @pp-mo l’ha presa 47 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
SciTools/iris#7311 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Agentic
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di SciTools/iris
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
[Maintainer] task area:visualizer
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
RailtownAI/railtracks#1824 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
apache/datafusion#27688 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
heasarc/heasarc-tutorials#317 ·
-
bug good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
mloda-ai/mloda-registry#1664 ·
I maintainer di solito rispondono entro 1 giorno