git: f2db42222dcf - main - math/py-autograd: update to 1.9.1

From: Ruslan Makhmatkhanov <rm_at_FreeBSD.org>
Date: Wed, 04 Nov 2026 21:27:51 UTC
The branch main has been updated by rm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f2db42222dcf2e191a4452105a6727bd7c051731

commit f2db42222dcf2e191a4452105a6727bd7c051731
Author:     Patrick Crandol <patrick@crandol.com>
AuthorDate: 2026-11-04 21:16:45 +0000
Commit:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
CommitDate: 2026-11-04 21:26:29 +0000

    math/py-autograd: update to 1.9.1
    
    This update fixes runtime with numpy2.
    
    PR:             299794
    Reported by:    Patrick Crandol <patrick@crandol.com>
---
 math/py-autograd/Makefile | 12 +++++-------
 math/py-autograd/distinfo |  6 +++---
 2 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/math/py-autograd/Makefile b/math/py-autograd/Makefile
index e8a33a3f3d97..3a3232beffb7 100644
--- a/math/py-autograd/Makefile
+++ b/math/py-autograd/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	autograd
-DISTVERSION=	1.6.1
-PORTREVISION=	2
+DISTVERSION=	1.9.1
 CATEGORIES=	math python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,14 +9,13 @@ COMMENT=	Efficiently computes derivatives of numpy code
 WWW=		https://github.com/HIPS/autograd
 
 LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/license.txt
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \
-		${PY_SETUPTOOLS}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.16:math/py-numpy@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}future>=0.15.2:devel/py-future@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.16,1:math/py-numpy@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist pep517
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/math/py-autograd/distinfo b/math/py-autograd/distinfo
index decabb7d55bc..7aa76f0aa23f 100644
--- a/math/py-autograd/distinfo
+++ b/math/py-autograd/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1687509166
-SHA256 (autograd-1.6.1.tar.gz) = dd0068f3f78fd76cf28cee94358737c3b5e8a1d2acac0b850e14d14e1bca84ac
-SIZE (autograd-1.6.1.tar.gz) = 62047
+TIMESTAMP = 1791740936
+SHA256 (autograd-1.9.1.tar.gz) = 7818c5c69ddf9efb7da74097bd741a4c7920133f41966f68537223a15ef798bc
+SIZE (autograd-1.9.1.tar.gz) = 2566975