From: Felix Gruber <felgru@posteo.net>
To: 62622@debbugs.gnu.org
Cc: Felix Gruber <felgru@posteo.net>
Subject: [bug#62622] [PATCH 8/8] gnu: qgis: Update to 3.30.1.
Date: Sun, 2 Apr 2023 17:45:51 +0000 [thread overview]
Message-ID: <20230402174551.159212-8-felgru@posteo.net> (raw)
In-Reply-To: <20230402174241.158923-1-felgru@posteo.net>
* gnu/packages/geo.scm (qgis): Update to 3.30.1.
[arguments]: Define GISBASE environment variable during tests as it
is used to find Grass GIS. (later in the installed version of QGis the
same environment variable has already been set.)
Execute tests in parallel.
Update list of disabled broken tests. Try to classify failure reasons
(network, missing/incomplete dependencies). There are still a lot of
tests with unknown failure reasons.
---
gnu/packages/geo.scm | 95 ++++++++++++++++++++++++--------------------
1 file changed, 53 insertions(+), 42 deletions(-)
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 76a42c4140..77f6f853b4 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -13,7 +13,7 @@
;;; Copyright © 2019, 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2020, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2020 Christopher Baines <mail@cbaines.net>
-;;; Copyright © 2020, 2021, 2022 Felix Gruber <felgru@posteo.net>
+;;; Copyright © 2020, 2021, 2022, 2023 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2021, 2023 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2021 Clément Lassieur <clement@lassieur.org>
@@ -2464,14 +2464,14 @@ (define-public saga
(define-public qgis
(package
(name "qgis")
- (version "3.26.2")
+ (version "3.30.1")
(source
(origin
(method url-fetch)
(uri (string-append "https://qgis.org/downloads/qgis-"
version ".tar.bz2"))
(sha256
- (base32 "1hsq3wchsf7db7134fgg9xzzap35q1s4r6649d0krbw80xw5asca"))))
+ (base32 "0mdgqyqr3nswp5qfpjrpr35lxizcrz73a1gs3ddxsd1xr9amzb5s"))))
(build-system cmake-build-system)
(arguments
`(#:modules ((guix build cmake-build-system)
@@ -2513,20 +2513,56 @@ (define-public qgis
(("\\$\\(git rev-parse --show-toplevel\\)")
(getcwd)))))
(replace 'check
- (lambda* (#:key inputs tests? #:allow-other-keys)
+ (lambda* (#:key inputs outputs tests? parallel-tests?
+ #:allow-other-keys)
(when tests?
(setenv "HOME" "/tmp")
(system "Xvfb :1 &")
(setenv "DISPLAY" ":1")
(setenv "TRAVIS" "true")
(setenv "CTEST_OUTPUT_ON_FAILURE" "1")
+ (let* ((out (assoc-ref outputs "out"))
+ (grass-version ,(package-version grass))
+ (grass-majorminor (string-join
+ (list-head
+ (string-split grass-version #\.) 2)
+ ""))
+ (grass (string-append (assoc-ref inputs "grass")
+ "/grass" grass-majorminor)))
+ (setenv "GISBASE" grass))
(invoke "ctest"
+ "-j" (if parallel-tests?
+ (number->string (parallel-job-count))
+ "1")
"-E" (string-join
'(;; Disable tests that require network access
+ "PyQgsExternalStorageAwsS3"
+ "PyQgsExternalStorageWebDav"
"qgis_filedownloader"
+ "test_core_networkaccessmanager"
+ "test_core_tiledownloadmanager"
+ "test_gui_filedownloader"
+ "test_provider_wcsprovider"
+ ;; Disable tests that need OGR built with
+ ;; libspatialite support
+ "PyQgsAttributeTableModel"
+ "PyQgsOGRProviderSqlite"
+ "PyQgsWFSProvider"
+ "PyQgsOapifProvider"
+ ;; Disable tests that need Python compiled
+ ;; with loadable SQLite extensions.
+ "PyQgsFieldFormattersTest"
+ "PyQgsSpatialiteProvider"
+ "PyQgsLayerDependencies"
+ "PyQgsDBManagerGpkg"
+ "PyQgsDBManagerSpatialite"
+ ;; Disable tests that need poppler (with Cairo)
+ "PyQgsLayoutExporter"
+ "PyQgsPalLabelingLayout"
+ ;; Disable tests that need Orfeo ToolBox
+ "ProcessingOtbAlgorithmsTest"
;; TODO: Find why the following tests fail
"ProcessingQgisAlgorithmsTestPt1"
- "ProcessingQgisAlgorithmsTestPt2"
"ProcessingQgisAlgorithmsTestPt3"
"ProcessingQgisAlgorithmsTestPt4"
"ProcessingGdalAlgorithmsRasterTest"
@@ -2535,68 +2571,42 @@ (define-public qgis
"ProcessingGrass7AlgorithmsRasterTestPt1"
"ProcessingGrass7AlgorithmsRasterTestPt2"
"ProcessingGrass7AlgorithmsVectorTest"
- "ProcessingOtbAlgorithmsTest"
"test_core_authmanager"
"test_core_compositionconverter"
- "test_core_coordinatereferencesystem"
+ "test_core_expression"
"test_core_gdalutils"
- "test_core_labelingengine"
- "test_core_layout"
- "test_core_layouthtml"
- "test_core_layoutlabel"
- "test_core_layoutmultiframe"
"test_core_layoutpicture"
- "test_core_legendrenderer"
- "test_core_networkaccessmanager"
- "test_core_rasterfilewriter"
- "test_core_tiledownloadmanager"
- "test_gui_dualview"
- "test_gui_htmlwidgetwrapper"
- "test_gui_filedownloader"
+ "test_core_pointcloudlayerexporter"
+ "test_core_projectstorage"
+ "test_core_coordinatereferencesystem"
"test_gui_queryresultwidget"
+ "test_provider_copcprovider"
+ "test_analysis_processingalgspt1"
"test_analysis_processingalgspt2"
"test_analysis_processing"
- "test_provider_wcsprovider"
- "qgis_grassprovidertest7"
- "test_app_gpsinformationwidget"
+ "test_app_gpsintegration"
"PyQgsAnnotation"
- "PyQgsAttributeTableModel"
"PyQgsAuthenticationSystem"
- "PyQgsExternalStorageWebDAV"
- "PyQgsFieldFormattersTest"
+ "PyQgsDatumTransform"
"PyQgsFileUtils"
"PyQgsGeometryTest"
"PyQgsGoogleMapsGeocoder"
+ "PyQgsGroupLayer"
"PyQgsHashLineSymbolLayer"
- "PyQgsLayoutExporter"
"PyQgsLayoutHtml"
"PyQgsLineSymbolLayers"
"PyQgsMapLayer"
- "PyQgsNetworkContentFetcherRegistry"
"PyQgsOGRProviderGpkg"
- "PyQgsOGRProviderSqlite"
- "PyQgsPalLabelingCanvas"
- "PyQgsPalLabelingLayout"
- "PyQgsPalLabelingPlacement"
- "PyQgsProcessExecutable"
+ "PyQgsProcessExecutablePt1"
+ "PyQgsProcessExecutablePt2"
"PyQgsProviderConnectionGpkg"
"PyQgsProviderConnectionSpatialite"
"PyQgsOGRProvider"
- "PyQgsSpatialiteProvider"
"PyQgsVectorFileWriter"
"PyQgsVectorLayerEditBuffer"
- "PyQgsVectorLayerEditBufferGroup"
- "PyQgsVectorLayerProfileGenerator"
"PyQgsVirtualLayerProvider"
- "PyQgsWFSProvider"
- "PyQgsWFSProviderGUI"
- "PyQgsOapifProvider"
- "PyQgsLayerDependencies"
- "PyQgsDBManagerGpkg"
- "PyQgsDBManagerSpatialite"
"PyQgsAuxiliaryStorage"
"PyQgsSelectiveMasking"
- "qgis_shellcheck"
"qgis_sipify"
"qgis_sip_include"
"qgis_sip_uptodate")
@@ -2665,6 +2675,7 @@ (define-public qgis
qtdeclarative-5
qtkeychain
qtlocation
+ qtmultimedia-5
qtserialport
qtsvg-5
qwt
--
2.39.2
next prev parent reply other threads:[~2023-04-02 17:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-02 17:42 [bug#62622] [PATCH 0/8] Update proj and a few other geo packages Felix Gruber
2023-04-02 17:45 ` [bug#62622] [PATCH 1/8] gnu: geos: Update to 3.11.2 Felix Gruber
2023-04-02 17:45 ` [bug#62622] [PATCH 2/8] gnu: proj: Update to 9.2.0 Felix Gruber
2023-04-02 17:45 ` [bug#62622] [PATCH 3/8] gnu: python-pyproj: Update to 3.5.0 Felix Gruber
2023-04-02 17:45 ` [bug#62622] [PATCH 4/8] gnu: python-cartopy: Update to 0.21.1 Felix Gruber
2023-04-02 17:45 ` [bug#62622] [PATCH 5/8] gnu: python-rtree: Update to 1.0.1 Felix Gruber
2023-04-02 17:45 ` [bug#62622] [PATCH 6/8] gnu: python-osmnx: Use pyproject-build-system Felix Gruber
2023-04-02 17:45 ` [bug#62622] [PATCH 7/8] gnu: pcb2gcode: Update to 2.5.0 Felix Gruber
2023-04-02 17:45 ` Felix Gruber [this message]
2023-04-12 10:09 ` bug#62622: [PATCH 0/8] Update proj and a few other geo packages Guillaume Le Vaillant
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230402174551.159212-8-felgru@posteo.net \
--to=felgru@posteo.net \
--cc=62622@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.