[MacPorts] #58781: gunits @2.18.1: requires module python_requests to match python used

MacPorts noreply at macports.org
Sat Aug 3 00:38:50 UTC 2019


#58781: gunits @2.18.1: requires module python_requests to match python used
---------------------+--------------------
  Reporter:  kencu   |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  gunits  |
---------------------+--------------------
Description changed by kencu:

Old description:

> when first instaling or when trying to update currencies with
> `gunit_cur`, this error occurs:
>
> {{{
> Trying to update currency.units (will use existing file if this fails)
> ./units_cur currency.units
> Traceback (most recent call last):
>   File "./units_cur", line 57, in <module>
>     import requests
> ImportError: No module named requests
> }}}
>
> it can be solved by requiring the `python_requests` module to match the
> python version being used (currently random, see [ticket:58780] )

New description:

 when first installing or when trying to update currencies with
 `gunit_cur`, this error occurs:

 {{{
 Trying to update currency.units (will use existing file if this fails)
 ./units_cur currency.units
 Traceback (most recent call last):
   File "./units_cur", line 57, in <module>
     import requests
 ImportError: No module named requests
 }}}

 it can be solved by requiring the `python_requests` module to match the
 python version being used (currently random, see [ticket:58780] )

--

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


More information about the macports-tickets mailing list