diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2025-03-18 07:45:20 -0700 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2025-03-18 09:48:29 -0700 |
commit | 3c54063b64122ab2825d090171c64492bfd16055 (patch) | |
tree | 249ff4b55863a924088010fa85a528b23ca953b7 /misc/py-pytorch | |
parent | misc/py-torchvision: Add missing deendency (diff) |
misc/py-pytorch: Fix build of dependencies
... by relaxing the sympy dependency limitation.
Reported by: fallout
Diffstat (limited to 'misc/py-pytorch')
-rw-r--r-- | misc/py-pytorch/files/patch-requirements.txt | 11 | ||||
-rw-r--r-- | misc/py-pytorch/files/patch-setup.py | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/misc/py-pytorch/files/patch-requirements.txt b/misc/py-pytorch/files/patch-requirements.txt new file mode 100644 index 000000000000..9088b16615c0 --- /dev/null +++ b/misc/py-pytorch/files/patch-requirements.txt @@ -0,0 +1,11 @@ +--- requirements.txt.orig 2025-03-18 16:44:23 UTC ++++ requirements.txt +@@ -9,7 +9,7 @@ typing-extensions>=4.10.0 + setuptools + types-dataclasses + typing-extensions>=4.10.0 +-sympy==1.13.1 ; python_version >= "3.9" ++sympy>=1.13.1 ; python_version >= "3.9" + filelock + networkx + jinja2 diff --git a/misc/py-pytorch/files/patch-setup.py b/misc/py-pytorch/files/patch-setup.py new file mode 100644 index 000000000000..f3589af84e10 --- /dev/null +++ b/misc/py-pytorch/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2025-03-18 16:43:41 UTC ++++ setup.py +@@ -1099,7 +1099,7 @@ def main(): + "filelock", + "typing-extensions>=4.10.0", + 'setuptools ; python_version >= "3.12"', +- 'sympy==1.13.1 ; python_version >= "3.9"', ++ 'sympy>=1.13.1 ; python_version >= "3.9"', + "networkx", + "jinja2", + "fsspec", |