[MacPorts] #72227: duplicity @2.1.4: python shebang set so duplicity only runs from inside /opt/local/bin/

MacPorts noreply at macports.org
Sun Mar 23 11:57:42 UTC 2025


#72227: duplicity @2.1.4: python shebang set so duplicity only runs from inside
/opt/local/bin/
-------------------------+--------------------
  Reporter:  jbbythebch  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.10.5
Resolution:              |   Keywords:
      Port:  duplicity   |
-------------------------+--------------------
Changes (by ryandesign):

 * cc: jmroot (added)


Comment:

 This
 [https://github.com/pypa/setuptools/commit/c71266345c64fd662b5f95bbbc6e4536172f496d
 is being done deliberately] by setuptools 75.3.2 and later.

 This was changed to fix [https://github.com/pypa/setuptools/issues/4863
 this bug report].

 MacPorts has been using an affected version of setuptools
 [changeset:d40a71cae9b328ba086c65bcbad435b6da9cc4a9/macports-ports since
 November 2024].

 Maybe lots of ports built with setuptools after we updated to that version
 would be affected by this problem and would need fixes.

 Here is [https://github.com/pypa/setuptools/issues/4883 the bug report]
 about the problems that this change causes, like what you reported. There
 it is explained why the change was made. It also sounds like the problem
 would only affect python ports that disable pep517, like duplicity does,
 so that's fortunately much fewer than all python ports.

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


More information about the macports-tickets mailing list