[MacPorts] #61009: Installing py37-spaCy failed

MacPorts noreply at macports.org
Mon Aug 17 21:57:13 UTC 2020


#61009: Installing py37-spaCy failed
------------------------+--------------------------
  Reporter:  yszhang95  |      Owner:  cjones051073
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  py-spaCy   |
------------------------+--------------------------
Changes (by ryandesign):

 * status:  new => assigned
 * keywords:  py37-spaCy =>
 * port:   => py-spaCy
 * owner:  (none) => cjones051073
 * milestone:  MacPorts 2.7.0 =>


Comment:

 The log says:

 {{{
 distutils.errors.DistutilsError: the `allow-hosts` option is not supported
 when using pip to install requirements.
 }}}

 This misleading error message means that py-spaCy has failed to declare a
 dependency on another python module that it requires. (MacPorts clears the
 allow-hosts option to ensure that the port does not automatically download
 the dependency; setuptools used to honor this setting, but in a recent
 change has switched to complaining about it. We consider that a bug in
 setuptools.)

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


More information about the macports-tickets mailing list