git: 63383a2243dd - main - misc/py-sagemaker-core: correct dependency
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Sep 2026 10:10:41 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=63383a2243ddea122d6142c2ebf72b92c8f6741c
commit 63383a2243ddea122d6142c2ebf72b92c8f6741c
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-09-07 08:06:09 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-09-07 10:09:56 +0000
misc/py-sagemaker-core: correct dependency
---
misc/py-sagemaker-core/Makefile | 4 ++--
misc/py-sagemaker-core/files/patch-pyproject.toml | 15 ++++++++++++++-
2 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/misc/py-sagemaker-core/Makefile b/misc/py-sagemaker-core/Makefile
index 30c72236e9d9..8c512b897eda 100644
--- a/misc/py-sagemaker-core/Makefile
+++ b/misc/py-sagemaker-core/Makefile
@@ -1,6 +1,6 @@
PORTNAME= sagemaker-core
DISTVERSION= 2.17.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= misc python # machine-learning
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -20,7 +20,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=20.3.0:devel/py-attrs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}boto3>=1.42.2:www/py-boto3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cloudpickle>=2.0.0:devel/py-cloudpickle@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cryptography>=46.0.0:security/py-cryptography@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}importlib-metadata8>=1.4.0:devel/py-importlib-metadata8@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=1.4.0:devel/py-importlib-metadata@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mock>4.0:devel/py-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}numpy>=1.9.0:math/py-numpy@${PY_FLAVOR} \
diff --git a/misc/py-sagemaker-core/files/patch-pyproject.toml b/misc/py-sagemaker-core/files/patch-pyproject.toml
index 0df034cb4cac..769902998f5c 100644
--- a/misc/py-sagemaker-core/files/patch-pyproject.toml
+++ b/misc/py-sagemaker-core/files/patch-pyproject.toml
@@ -1,3 +1,7 @@
+-- Remove upper bounds that conflict with the current Ports tree versions.
+-- setuptools>=64 is loosened to setuptools, and importlib-metadata<7.0 is
+-- dropped so the package can use the current devel/py-importlib-metadata.
+
--- pyproject.toml.orig 2025-08-22 16:19:19 UTC
+++ pyproject.toml
@@ -1,5 +1,5 @@
@@ -5,5 +9,14 @@
-requires = ["setuptools>=64"]
+requires = ["setuptools"]
build-backend = "setuptools.build_meta"
-
+
[project]
+@@ -19,7 +19,7 @@
+ "platformdirs>=4.0.0, <5.0.0",
+ "rich>=13.0.0, <15.0.0",
+ "mock>4.0, <5.0",
+- "importlib-metadata<7.0,>=1.4.0",
++ "importlib-metadata>=1.4.0",
+ "typing_extensions>=4.9.0",
+ "pytz>=2021.1",
+ "requests>=2.20.0,<3.0.0",