[GRASS-dev] [GRASS GIS] #3179: g.extension not installing addons behind proxy
GRASS GIS
trac at osgeo.org
Fri Feb 22 04:16:48 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 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.
IIUC, authenticated proxy handling is part of urllib in Python 3, or ?
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.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3179#comment:13>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list