This is an automated email from the ASF dual-hosted git repository.

yaxingcai pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm-ffi.git


The following commit(s) were added to refs/heads/main by this push:
     new 3d33014  build(deps): replace cmake version exclusion with uv 
exclude-newer (#526)
3d33014 is described below

commit 3d33014ba11fb5556fcd10a9cc11a540dd799443
Author: Junru Shao <[email protected]>
AuthorDate: Wed Apr 8 00:23:40 2026 -0700

    build(deps): replace cmake version exclusion with uv exclude-newer (#526)
    
    Remove the `cmake\!=4.3.1` version pin from dev dependencies and instead
    add a `[tool.uv] exclude-newer = "14 days"` setting. This prevents
    installing any package released within the last 14 days, which is a more
    general and maintainable approach to avoiding freshly-released broken
    packages across the entire dependency tree.
    
    - Architecture: No changes.
    - Public Interfaces: No changes.
    - UI/UX: No changes.
    - Behavioral Changes: `uv` will now exclude packages newer than 14 days
    for all resolution, not just cmake. The cmake-specific version exclusion
    is removed.
    - Docs: No changes needed (build config only).
    - Tests: No changes needed (config-only change).
    - Untested Edge Cases: The `exclude-newer` directive is relative ("14
    days"), so resolution results will vary by the date `uv` is invoked. CI
    reproducibility depends on lockfile presence.
---
 pyproject.toml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/pyproject.toml b/pyproject.toml
index 5e69c6c..8048be2 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -60,7 +60,7 @@ dev = [
   "ipdb",
   "ipython",
   "cython>=3.0",
-  "cmake!=4.3.1",
+  "cmake",
   "scikit-build-core",
   "tomli",
   "setuptools-scm",
@@ -284,6 +284,9 @@ allowed-unresolved-imports = [
   "torch_c_dlpack_ext",
 ]
 
+[tool.uv]
+exclude-newer = "14 days"
+
 [tool.uv.dependency-groups]
 docs = { requires-python = ">=3.13" }
 

Reply via email to