Page MenuHomeFreeBSD

python.mk: remove setuptools from RUN_DEPENDS
Needs ReviewPublic

Authored by vishwin on Mar 29 2023, 3:17 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 26, 2:03 AM
Unknown Object (File)
Fri, Apr 26, 2:00 AM
Unknown Object (File)
Thu, Apr 25, 7:35 PM
Unknown Object (File)
Thu, Apr 11, 3:03 PM
Unknown Object (File)
Jan 3 2024, 4:58 AM
Unknown Object (File)
Dec 23 2023, 3:03 AM
Unknown Object (File)
Dec 10 2023, 11:12 PM
Unknown Object (File)
Dec 9 2023, 1:30 PM
Subscribers

Details

Reviewers
None
Group Reviewers
Python
portmgr
Summary

Historically this was needed as a RUN_DEPENDS due to consumers using the included pkg_resources, which has been deprecated for some time now in favour of the importlib suite. (pkg_resources consumers are strongly advised to migrate to importlib.)

Additionally, due to environment pollution, this cannot be specified as a RUN_DEPENDS anywhere; consumers of consumers that need this functionality (setuptools_scm comes to mind) are to specify this in BUILD_DEPENDS only. Otherwise certain dependency trees are wrong, which can prevent tests from being available amongst other things.

Test Plan

exp-run

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 50625
Build 47516: arc lint + arc unit