Run "oldest dependencies tests" CI in all PRs

Aperta
#1,868 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

@Sevans711 ci sta già lavorando.

Dal 2/11/2026.

  • #1869 di @Sevans711 — aperta

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

CI dependencies developer experience

The oldest dependencies tests CI added in #1781 (AKA "minimum dependency tests") ensure that uxarray actually supports using the oldest possible versions of packages which are allowed by the pins in pyproject.toml.

However, the test is currently not automatically run in most PRs, due to the paths: restriction of only running when pyproject.toml or .github/workflows/min-deps-ci.yml are updated. This means that issues easily go unnoticed, and surface later during unrelated work. For example, #1823 introduced tests which fail on xarray<2025.11.0, but didn't raise the version pin accordingly. Instead of surfacing directly in that PR, this surfaced in #1852, #1866, and #1867. Additionally, any discovery about changes failing on older versions must still be done manually, such as in https://github.com/UXARRAY/uxarray/pull/1803#discussion_r4416769869, or it will go unnoticed until later.

The test itself seems to have a comparable duration to existing CI tests, as it mostly just installing dependencies and running the pytest test suite, it's just that the installed dependencies happen to be the oldest allowed versions instead of the newest allowed versions. Knowing that the duration is similar, it makes more sense to me to have it run in all PRs directly, so that these issues can be spotted immediately when they are introduced, instead of requiring various issue reports and hotfixes later.

Lingua principale
Python
Stelle
231
Fork
58
Merge medio
6g 59m
PR unite (30g)
19

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di UXARRAY/uxarray

Tutte le issue di UXARRAY/uxarray

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.