[GRASS-dev] [GRASS GIS] #3179: g.extension not installing addons behind proxy

GRASS GIS trac at osgeo.org
Fri Feb 22 07:09:02 PST 2019


#3179: g.extension not installing addons behind proxy
--------------------------+----------------------------------------
  Reporter:  madi         |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  7.4.5
 Component:  Addons       |    Version:  unspecified
Resolution:               |   Keywords:  g.extension, proxy, addons
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+----------------------------------------

Comment (by mmetz):

 Replying to [comment:13 mlennert]:
 > Replying to [comment:12 neteler]:
 > > Replying to [comment:11 mmetz]:
 > > > Replying to [comment:10 neteler]:
 > > > > Fix attempt via https://github.com/GRASS-GIS/grass-ci/pull/6
 submitted as r74116.
 > > > > Note the different proxy syntax in the manual page.
 > > > >
 > > > > If ok, to be backported.
 > > >
 > > > Note, this is introducing a new python dependency, on RHEL 7 and
 derivates, this is python-requests.
 > >
 > > Yes, I realized that today.
 > >
 > > > Do we have a list of required python 2 components and required
 python 3 components that can be updated?
 > >
 > > Also yes. See r74121, it is REQUIREMENTS.html.
 > >
 > > > Ideally such a list would also indicate which python components are
 required only for the GUI (systems such as HPC may use GRASS without GUI).
 > >
 > > That's more or less indicated in that file.
 > >
 > > So, I am undecided now about the backport.
 >
 > I would plead for reworking this to use urllib2 (Python 2) which is
 already imported in the module and which seems to work according to madi.

 +1
 >
 > Let's try to avoid the endless dependency hell just out of easy
 availability of small helper packages. See the [https://hackernoon.com
 /whats-really-wrong-with-node-modules-and-why-this-is-your-fault-
 8ac9fa893823 experience] with npm in the Javascript world as a case in
 point. I would plead to keep most modules down to standard python library
 dependency, unless there really is no other way.

 +1

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3179#comment:14>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list