Run "oldest dependencies tests" CI in all PRs

已关闭
#1,868 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 4 天内回复

@Sevans711 已经在做这个了。

开始于 2026年11月2日。

  • #1869 来自 @Sevans711 —— 已合并

评估

这个 Issue 还没有评估数据。

描述

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.

主要语言
Python
星标
232
派生
59
平均合并
5 天 21 小时
30 天内合并 PR
19

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

UXARRAY/uxarray 的其他 Issue

查看 UXARRAY/uxarray 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。