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)
Thu, Sep 5, 6:46 PM
Unknown Object (File)
Wed, Sep 4, 5:37 PM
Unknown Object (File)
Sun, Aug 11, 12:57 PM
Unknown Object (File)
Aug 7 2024, 1:53 PM
Unknown Object (File)
Jul 13 2024, 12:16 PM
Unknown Object (File)
Jul 5 2024, 6:35 PM
Unknown Object (File)
Jul 5 2024, 6:24 PM
Unknown Object (File)
Jul 5 2024, 6:24 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
R11 FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 58939
Build 55826: arc lint + arc unit