[QGIS-Developer] Is there a recommended GDAL version for QGIS 3.34?
Thomas Larsen Wessel
mrvelle at gmail.com
Tue Sep 3 12:13:04 PDT 2024
The instructions on the repo tell me, in rather strict wording, to run the
unit tests locally before creating a PR.
The test checkGitStatus keeps failing locally. It does so because GDAL
updates the timestamp of gpkg files, even when only reading them. The
Internet told me that I needed to build against GDAL v. 3.4.2 or greater,
to not have these timestamps updated. So thats what I have spent a few
evenings trying to do. There are other tests that fail too, but this is the
one I chose to look at first.
So it's quite surprising that you tell me CI for Qt5 uses GDAL 3.4.1.
Wouldn't that cause the automatic online test on github to fail? Or have I
misunderstood something? :)
Sincerely, Thomas
On Tue, Sep 3, 2024 at 8:32 PM Even Rouault via QGIS-Developer <
qgis-developer at lists.osgeo.org> wrote:
> For operational uses, I would say the latter is the better. For regression
> test purposes, some tests might perhaps need tweaking/skipping depending on
> the GDAL version. CI uses GDAL 3.4.1 for QT5 testing and 3.7.3 for QT6
> testing.
>
> > Background/motivation for asking: I have tried compiling different
> versions of QGIS against different versions of GDAL, but some unit tests
> keep causing segmentation faults. Could a segmentation fault be caused by a
> mismatch of version of a dependent library like GDAL?
>
> Nobody can guess that. You need to provide much more details: which
> test(s), stack trace when it crashes, etc.
>
> -- http://www.spatialys.com
> My software is free, but my time generally not.
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20240903/acd3993b/attachment.htm>
More information about the QGIS-Developer
mailing list