Skip to content

Commit d4ba52e

Browse files
authored
Fix build failure by pinning pyamg to versions below 5.3.0 (#8548)
Fixes #8547 ### Description Fix build failure by pinning pyamg to versions below 5.3.0 https://pypi.org/project/pyamg/5.3.0/#files ### Types of changes <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] Non-breaking change (fix or new feature that would not break existing functionality). - [ ] Breaking change (fix or new feature that would cause existing functionality to change). - [ ] New tests added to cover the changes. - [ ] Integration tests passed locally by running `./runtests.sh -f -u --net --coverage`. - [ ] Quick tests passed locally by running `./runtests.sh --quick --unittests --disttests`. - [ ] In-line docstrings updated. - [ ] Documentation updated, tested `make html` command in the `docs/` folder. Signed-off-by: Yun Liu <[email protected]>
1 parent cb200af commit d4ba52e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ onnx>=1.13.0
4040
onnxruntime; python_version <= '3.10'
4141
zarr
4242
huggingface_hub
43-
pyamg>=5.0.0
43+
pyamg>=5.0.0, <5.3.0
4444
packaging
4545
polygraphy

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ zarr
5959
lpips==0.1.4
6060
nvidia-ml-py
6161
huggingface_hub
62-
pyamg>=5.0.0
62+
pyamg>=5.0.0, <5.3.0
6363
git+https://github.com/facebookresearch/segment-anything.git@6fdee8f2727f4506cfbbe553e23b895e27956588
6464
onnx_graphsurgeon
6565
polygraphy

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ all =
8787
lpips==0.1.4
8888
nvidia-ml-py
8989
huggingface_hub
90-
pyamg>=5.0.0
90+
pyamg>=5.0.0, <5.3.0
9191
nibabel =
9292
nibabel
9393
ninja =
@@ -175,7 +175,7 @@ polygraphy =
175175
huggingface_hub =
176176
huggingface_hub
177177
pyamg =
178-
pyamg>=5.0.0
178+
pyamg>=5.0.0, <5.3.0
179179
# segment-anything =
180180
# segment-anything @ git+https://github.com/facebookresearch/segment-anything@6fdee8f2727f4506cfbbe553e23b895e27956588#egg=segment-anything
181181

0 commit comments

Comments
 (0)