[QGIS-Developer] QGIS version 3.98 instead of 3.99 ?

Andrea Giudiceandrea andreaerdna at libero.it
Fri Jun 27 16:35:32 PDT 2025


Il 27/06/2025 22:11, Richard Duivenvoorde ha scritto:
> (and make the min/max range NOT 
> including the max)

The check for min/max range includes and always included both min and max.

See 
https://github.com/qgis/QGIS/blob/master/src/app/qgspluginregistry.cpp#L272:

bool QgsPluginRegistry::checkQgisVersion( const QString &minVersion, 
const QString &maxVersion ) const
[...]
return ( minVer <= curVer && maxVer >= curVer );


and 
https://github.com/qgis/QGIS/blob/master/python/pyplugin_installer/version_compare.py#L156:

def isCompatible(curVer, minVer, maxVer):
     """Compare current QGIS version with qgisMinVersion and 
qgisMaxVersion"""
[...]
     return minVer <= curVer and maxVer >= curVer


More information about the QGIS-Developer mailing list