[MacPorts] #69534: Trace mode does not fully hide python modules (was: py39-setuptools @69.2.0: AttributeError: module 'importlib_metadata' has no attribute 'MetadataPathFinder')
MacPorts
noreply at macports.org
Tue Mar 19 04:25:01 UTC 2024
#69534: Trace mode does not fully hide python modules
------------------------------+----------------------
Reporter: ryandesign | Owner: (none)
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: base | Version: 2.9.1
Resolution: | Keywords:
Port: py39-setuptools |
------------------------------+----------------------
Changes (by jmroot):
* owner: jmroot => (none)
* component: ports => base
Comment:
OK, so if it works without trace mode whether or not py39-importlib-
metadata is installed, which seems to be the case, this must be a bug in
trace mode. Setuptools does use importlib_metadata but vendors its own
copy, and inspects any other version that is installed to try to prevent
conflicts. There have been cases previously where a file being hidden by
trace mode gave different results than not having the file installed, for
example #65109. That must mean that some mechanism being used to detect
the file's existence is not being correctly intercepted by trace mode.
--
Ticket URL: <https://trac.macports.org/ticket/69534#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list