[MacPorts] #64457: build.py script in source code overrides 'build' tool
MacPorts
noreply at macports.org
Sun Jan 16 21:56:04 UTC 2022
#64457: build.py script in source code overrides 'build' tool
-----------------------+--------------------
Reporter: blazewicz | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: | Port:
-----------------------+--------------------
I found this issue while investigating
https://trac.macports.org/ticket/64425.
When source code of Python project contains a script called `build.py` or
a submodule called `build` it will override global installation of the
{{{build}}} tool. This is when MacPorts invokes {{{/path/to/python -m
build ...}}} local script/module will be invoked instead of intended tool.
In such cases pep517 build will always fail.
Issue begun after https://github.com/macports/macports-
ports/commit/e94c8a1 and so far I found that it affects {{{py-pendulum}}}
port.
--
Ticket URL: <https://trac.macports.org/ticket/64457>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list