[MacPorts] #67055: python portgroup overwrites PYTHONPATH in test.env
MacPorts
noreply at macports.org
Tue Mar 7 05:54:12 UTC 2023
#67055: python portgroup overwrites PYTHONPATH in test.env
----------------------+------------------------
Reporter: dgilman | Owner: reneeotten
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: |
----------------------+------------------------
Comment (by jmroot):
Replying to [comment:4 dgilman]:
> A portfile with only `python.test_framework pytest` and `test.run yes`
also emits an empty PYTHONPATH
That at least is expected, since it gets the value by globbing in
$worksrcpath, so if that's empty, so will be the glob result. At minimum
it probably makes sense to not set the environment variable if the glob
doesn't match anything.
--
Ticket URL: <https://trac.macports.org/ticket/67055#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list