[MacPorts] #65870: icu @71.1 sets incorrect Python version

MacPorts noreply at macports.org
Thu Oct 20 17:37:41 UTC 2022


#65870: icu @71.1 sets incorrect Python version
------------------------+-----------------------
  Reporter:  ballapete  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.7.2
Resolution:             |   Keywords:  tiger ppc
      Port:  icu        |
------------------------+-----------------------

Comment (by ryandesign):

 Replying to [comment:3 catap]:
 > In [changeset:"5a88171bbb1a8bf3476d23d4e8d19b1621565847/macports-ports"
 5a88171bbb1a8bf3476d23d4e8d19b1621565847/macports-ports] (master):
 > {{{
 > #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="5a88171bbb1a8bf3476d23d4e8d19b1621565847"
 > icu{,-devel}: use system python on 10.7+
 >
 > See: https://trac.macports.org/ticket/65870
 > }}}

 I don't understand this commit.

 Previously, the port set `configure.python` to a correct and deterministic
 value on all systems. On Mac OS X 10.7 through macOS 11 inclusive it used
 /usr/bin/python because the OS-supplied version of Python 2 was new
 enough. On Mac OS X 10.6 and earlier, it used MacPorts Python 2.7 because
 the OS-supplied Python 2 was too old. On macOS 12 and later, it used
 MacPorts Python 2.7 because as of macOS 12.3 there is no OS-supplied
 version of Python 2 anymore.

 Now, it uses MacPorts Python 2.7 on Mac OS X 10.6 and earlier, and what
 Python it uses on Mac OS X 10.7 and later is undefined. For example, if
 the user has used `python select` to select some version of Python, it
 seems likely to me that the build will use that Python. That's not
 [wiki:ReproducibleBuilds reproducible], not deterministic, so that's a
 regression.

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


More information about the macports-tickets mailing list