Page MenuHomeFreeBSD

D39303.id152034.diff
No OneTemporary

D39303.id152034.diff

diff --git a/CHANGES b/CHANGES
--- a/CHANGES
+++ b/CHANGES
@@ -10,6 +10,26 @@
All ports committers are allowed to commit to this file.
+20250307:
+AUTHOR: python@FreeBSD.org
+
+ setuptools has been removed as a RUN_DEPENDS for USE_PYTHON=distutils
+ ports, except for those operating under Python 2. If your port
+ needs setuptools to run, you can add it back to RUN_DEPENDS, but
+ keep in mind that this practice is deprecated and discouraged in
+ the greater Python ecosystem.
+
+ setuptools includes a module, pkg_resources, that historically
+ has been used as a runtime API for "finding, introspecting,
+ activating and using installed Python distributions." These
+ functions have been superseded by the importlib family and the
+ packaging package.
+
+ setuptools also includes their own copy of distutils, which is
+ not present in the base Python distribution starting in 3.12. The
+ use of distutils primitives directly in consumers is also discouraged
+ and deprecated.
+
20250306:
AUTHOR: jhale@FreeBSD.org
diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk
--- a/Mk/Uses/python.mk
+++ b/Mk/Uses/python.mk
@@ -675,7 +675,6 @@
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools44>0:devel/py-setuptools44@${PY_FLAVOR}
. else
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools>=63.1.0:devel/py-setuptools@${PY_FLAVOR}
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools>=63.1.0:devel/py-setuptools@${PY_FLAVOR}
. endif
. endif

File Metadata

Mime Type
text/plain
Expires
Fri, Feb 13, 12:03 AM (2 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28671726
Default Alt Text
D39303.id152034.diff (1 KB)

Event Timeline