[MacPorts] #67055: python portgroup overwrites PYTHONPATH in test.env

MacPorts noreply at macports.org
Mon Mar 6 23:36:56 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 reneeotten):

 Replying to [comment:4 dgilman]:
 > A portfile with only `python.test_framework pytest` and `test.run yes`
 also emits an empty PYTHONPATH, and so do a handful of other permutations
 that I tried while trying to get this thing to work.

 then that is probably a non-issue as this works just fine for dozens of
 ports. It’s set in the pre-test phase so that it will work also correctly
 for ports that compile stuff. As I said I will take a look but perhaps
 there is just something specific what you’re trying to do.

-- 
Ticket URL: <https://trac.macports.org/ticket/67055#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list