git: 055f6ddaabe8 - main - math/py-sympy: Unbreak misc/py-torchvision by removing conflicting upper versiion limitation in math/py-sympy
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 14 Mar 2026 19:34:58 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=055f6ddaabe82e3c45179f234a085b98f24b7af2
commit 055f6ddaabe82e3c45179f234a085b98f24b7af2
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-03-14 18:45:47 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-03-14 19:34:24 +0000
math/py-sympy: Unbreak misc/py-torchvision by removing conflicting upper versiion limitation in math/py-sympy
Approved by: portmgr@ (unbreak; blanket)
Reported by: fallout
---
math/py-sympy/Makefile | 1 +
math/py-sympy/files/patch-setup.py | 13 +++++++++++++
2 files changed, 14 insertions(+)
diff --git a/math/py-sympy/Makefile b/math/py-sympy/Makefile
index 18574e3983e2..b10d3110ce5d 100644
--- a/math/py-sympy/Makefile
+++ b/math/py-sympy/Makefile
@@ -1,5 +1,6 @@
PORTNAME= sympy
PORTVERSION= 1.14.0
+PORTREVISION= 1
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/math/py-sympy/files/patch-setup.py b/math/py-sympy/files/patch-setup.py
new file mode 100644
index 000000000000..ed074bf6621a
--- /dev/null
+++ b/math/py-sympy/files/patch-setup.py
@@ -0,0 +1,13 @@
+-- mpmath is at 1.4 which causes breakage in misc/py-torchvision and potentially other ports
+
+--- setup.py.orig 2026-03-14 18:43:16 UTC
++++ setup.py
+@@ -321,7 +321,7 @@ if __name__ == '__main__':
+ },
+ # Set upper bound when making the release branch.
+ install_requires=[
+- 'mpmath >= 1.1.0, < 1.4',
++ 'mpmath >= 1.1.0',
+ ],
+ py_modules=['isympy'],
+ packages=['sympy'] + modules + tests,