From nobody Thu Oct 30 21:36:12 2025 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cyHVN3ZD8z6Fdrm; Thu, 30 Oct 2025 21:36:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cyHVN2xl5z3Ns1; Thu, 30 Oct 2025 21:36:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761860172; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8bht06LN7GeRllfZpa+N/9gcT4ANuSXl8nnayRpqgk0=; b=qP4BjVGRZucfwSSnL0Z4m6MdGfr6JlBMLe5EqKFDcxKukkD58aMBh69MDhNaO8IUKKmr4c ZIwpmXRUu8nK077ik+tKef7avYPAZXqjEIpMQj7+yr3PF3se3mIMBT9kUbTHTWKYMJJAcg pnsgzxPPjEXcIBwuDx52mxb/gAAfXJxgY3WQFfr8jKj3MHwLVxD6ZaLjJrhOP25IZffjPJ C5QwwLf3GaPLPCyOPBHm/UlNW7BMC0SJInAZIZl+8Kh9sgb0b/sFIAG9uCEzP/MKzK/Rrj Q2iT0d6yDq2QO1cPODApdaqIM39MRauZO9y68AldIicJTTOxRNvCFRAieSP2lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761860172; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8bht06LN7GeRllfZpa+N/9gcT4ANuSXl8nnayRpqgk0=; b=Po1dnmn/zpOofC9E7Q+h7bQT2+gfJJ9Zp5Pyh7d63HaqbWV7HzLFf55VJjzCgc5gdk/0WE nivt2xo4gV6jlz0ovmqisrZnRy7XhRfc8MyboF1gxtp4S/b8ZSp5+US3quIjF2zg7Z1j3u T+5UCTx/O8rSGqpOpXEzIKlZE0ASR1qNxGpSNT+c1tHmXZfsHS0uWxKmcxXI0VCVXCZQYK v/lKH2zXODXBgNqRDKdHJR9VESbIWFvmv4YqraTV53uYaCyDN4Q9ZKr19vZb1CS0RX1VZN kJUX8Oia2AD1DXDSdOdBnm37x0zt2Z3EeIS7TmsURD9emr8EZ6auElMpLOHBKQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1761860172; a=rsa-sha256; cv=none; b=rL0rrsWQrSSXSQ2pvaqyAoSJ+37O+AGCRP+8qAKmqW4NrlH0yuR9s89lQyqQn6o+Twsfs/ qVM/QzegqELXKvjuXV2ksnbQeBTh/AC9wK+R5AhBFHMyWQ5Eb7fkIL05LGXtWSgKgDtaeH 65UQGnmJwEIznCADxgHzMvWGzo92JCJQhe3O/etOcbgjMZgVQvUSt9EPmvW5lD7p1IMt3z KibShxo32ap+UxptbHB1aSM+Ny6OCy5V2LtYJH3HVSV60S4o4XIP0+dSccvQ9WMmG6bxFB eSd0VBfAJXJjCw3CFVlREfw00C0QRlE4atUwLOvbUkymqwSH+amplijfV6muMw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cyHVN2TYRzgVX; Thu, 30 Oct 2025 21:36:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 59ULaC2J026060; Thu, 30 Oct 2025 21:36:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 59ULaCpR026057; Thu, 30 Oct 2025 21:36:12 GMT (envelope-from git) Date: Thu, 30 Oct 2025 21:36:12 GMT Message-Id: <202510302136.59ULaCpR026057@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Michael Osipov Subject: git: 954ab31f55ba - main - science/py-scikit-learn: Upgrade port to 1.7.2 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: michaelo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 954ab31f55bab50ff87f2cd3838c63f9c415976b Auto-Submitted: auto-generated The branch main has been updated by michaelo: URL: https://cgit.FreeBSD.org/ports/commit/?id=954ab31f55bab50ff87f2cd3838c63f9c415976b commit 954ab31f55bab50ff87f2cd3838c63f9c415976b Author: Michael Osipov AuthorDate: 2025-10-28 21:06:31 +0000 Commit: Michael Osipov CommitDate: 2025-10-30 21:36:05 +0000 science/py-scikit-learn: Upgrade port to 1.7.2 PR: 290649 Approved by: wen (maintainer) Differential Revision: https://reviews.freebsd.org/D53432 Release Notes: https://scikit-learn.org/stable/whats_new/v1.7.html#release-notes-1-7 --- science/py-scikit-learn/Makefile | 20 +++++++++----------- science/py-scikit-learn/distinfo | 6 +++--- science/py-scikit-learn/files/patch-pyproject.toml | 11 +++++++++++ 3 files changed, 23 insertions(+), 14 deletions(-) diff --git a/science/py-scikit-learn/Makefile b/science/py-scikit-learn/Makefile index 48e776557e4e..1e77e50ed73c 100644 --- a/science/py-scikit-learn/Makefile +++ b/science/py-scikit-learn/Makefile @@ -1,9 +1,9 @@ PORTNAME= scikit-learn -DISTVERSION= 1.4.0 -PORTREVISION= 1 +DISTVERSION= 1.7.2 CATEGORIES= science python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= scikit_learn-${DISTVERSION} MAINTAINER= wen@FreeBSD.org COMMENT= Machine learning algorithms for python @@ -12,19 +12,17 @@ WWW= https://scikit-learn.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}joblib>0:devel/py-joblib@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}joblib>=1.3.0:devel/py-joblib@${PY_FLAVOR} \ ${PYNUMPY} \ - ${PYTHON_PKGNAMEPREFIX}scipy>=1.3.2:science/py-scipy@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}threadpoolctl>=0:devel/py-threadpoolctl@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}scipy>=1.10.0:science/py-scipy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}threadpoolctl>=3.2.0:devel/py-threadpoolctl@${PY_FLAVOR} RUN_DEPENDS:= ${BUILD_DEPENDS} +BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}meson-python>=0.17.1:devel/meson-python@${PY_FLAVOR} -USES= fortran python localbase -USE_PYTHON= distutils autoplist cython +USES= fortran python localbase shebangfix +USE_PYTHON= autoplist cython3 pep517 -POST_PLIST= fix-plist - -fix-plist: # https://github.com/scikit-learn/scikit-learn/issues/12681 - @${REINPLACE_CMD} -e "s|lib/python.*/sklearn/datasets/tests/data/openml$$||" ${TMPPLIST} +SHEBANG_FILES= sklearn/_build_utils/version.py post-install: # strip binaries @${STRIP_CMD} \ diff --git a/science/py-scikit-learn/distinfo b/science/py-scikit-learn/distinfo index d36e630a9747..2f21dc52ebc2 100644 --- a/science/py-scikit-learn/distinfo +++ b/science/py-scikit-learn/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1705575324 -SHA256 (scikit-learn-1.4.0.tar.gz) = d4373c984eba20e393216edd51a3e3eede56cbe93d4247516d205643c3b93121 -SIZE (scikit-learn-1.4.0.tar.gz) = 7706781 +TIMESTAMP = 1761685556 +SHA256 (scikit_learn-1.7.2.tar.gz) = 20e9e49ecd130598f1ca38a1d85090e1a600147b9c02fa6f15d69cb53d968fda +SIZE (scikit_learn-1.7.2.tar.gz) = 7193136 diff --git a/science/py-scikit-learn/files/patch-pyproject.toml b/science/py-scikit-learn/files/patch-pyproject.toml new file mode 100644 index 000000000000..7f238de2e52b --- /dev/null +++ b/science/py-scikit-learn/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2025-10-28 21:25:52 UTC ++++ pyproject.toml +@@ -99,7 +99,7 @@ build-backend = "mesonpy" + requires = [ + "meson-python>=0.16.0,<0.19.0", + "Cython>=3.0.10,<3.2.0", +- "numpy>=2,<2.4.0", ++ "numpy", + "scipy>=1.8.0,<1.17.0", + ] +