[QGIS-Developer] non-standard-library Python modules available to QGIS plugins

Jürgen E. Fischer jef at norbit.de
Tue Apr 23 08:42:44 PDT 2019

Hi Raphael,

On Tue, 23. Apr 2019 at 17:09:37 +0200, Raphael Das Gupta wrote:
> So it seems there is no authoritative source that the Debian/Ubuntu package
> definitions, OSGeo4W and the OS X installer (and all the plugin developers)
> can rely on as a common base.


> Doesn't this lead to compatibility problems?

Yes, but the list is not set in stone - often when somebody mentions something
it will be included quickly (in osgeo4w for instance).

> On 23.04.19 15:11, Saber Razmjooei wrote:
> > You can find all the Python 3 modules we are packaging with macOS
> > installer here:
> > https://lutraconsulting.github.io/qgis-mac-packager/
> This list (under "Used Python3 modules") seems to include even more than the
> OSGeo4W one does.

It lists also secondary dependencies (eg. idna, certifi, cffi) - that will also
available for debian and osgeo4w and will be pulled in.

> I've posted a comparison of control.in vs. setup.hint vs. lutraconsulting
> installer at
> https://github.com/NixOS/nixpkgs/issues/59842#issuecomment-485832623 (Click
> "Details" in that comment to see it.)

Hm, there is stuff missing - xlrd & xlrw are also in qgis-full.

> It seems to me like currently, plugin developers have to limit themselves to
> a common subset of these if they want their plugins to be interoperable
> between different QGIS installations of the same version. Do they do that?
> Do they even know?

And do they have to?  Stuff can also be installed afterwards if necessary.  The
problem is just that there are platform differences on how that is done.

> For the time being, I think I'll use the Debian/Ubuntu dependencies as a
> guideline for NixOS, as both are Linux operating systems. For simplicity,
> I'll probably at least initially leave out PyQt5.QtWebKit though, hoping
> that no plugins actually use it.

qgis2web uses QtWebKit


Jürgen E. Fischer           norBIT GmbH             Tel. +49-4931-918175-31
Dipl.-Inf. (FH)             Rheinstraße 13          Fax. +49-4931-918175-50
Software Engineer           D-26506 Norden            https://www.norbit.de
QGIS release manager (PSC)  Germany                    IRC: jef on FreeNode
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190423/18ea9e5d/attachment.sig>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Pflichtangaben
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190423/18ea9e5d/attachment.ksh>

More information about the QGIS-Developer mailing list