[MacPorts] #56789: py27-matplotlib: missing py27-backports-functools_lru_cache dependency

MacPorts noreply at macports.org
Wed Jul 11 14:11:54 UTC 2018


#56789: py27-matplotlib: missing py27-backports-functools_lru_cache dependency
----------------------------+------------------------
  Reporter:  mfacorcoran    |      Owner:  seanfarley
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:
Resolution:                 |   Keywords:
      Port:  py-matplotlib  |
----------------------------+------------------------

Comment (by reneeotten):

 okay, the problem was probably introduced with an update of py27
 -backports-functools_lru_cache that I did about a week ago. It looks like
 that version changed (I think incorrectly) its {{{__init__.py}}} file and
 when trying to upgrade it one sees the following message (new installs do
 work though):

 {{{Error: Failed to activate py27-backports-functools_lru_cache: Image
 error:
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/backports/__init__.py is being used by the active
 py27-backports port.  Please deactivate this port first, or use 'port -f
 activate py27-backports-functools_lru_cache' to force the activation.}}}

 It's easy enough though to miss this message when trying to update many
 ports... The unfortunate side effect is that the previous version of
 {{{py27-backports-functools_lru_cache}}} is already deactivated and the
 new one cannot be activated, effectively resulting in removal of the
 package. This likely affects other ports that rely on this package and
 could explain some other failures I noticed myself recently (e.g.,
 https://github.com/macports/macports-ports/pull/2168).

 Sorry about that, I will take a look at it and will submit a PR to fix
 this as soon as possible.

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


More information about the macports-tickets mailing list