Run "oldest dependencies tests" CI in all PRs

Geschlossen
#1,868 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 4 Tagen

@Sevans711 arbeitet bereits daran.

Seit 02.11.2026.

  • #1869 von @Sevans711 — gemerged

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

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.

Vorherrschende Sprache
Python
Sterne
232
Forks
59
Ø Merge
6 T. 4 Std.
Gemergte PRs (30 T.)
18

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus UXARRAY/uxarray

Alle Issues in UXARRAY/uxarray

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

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