Skip to content

Commit

Permalink
purge libpdal16
Browse files Browse the repository at this point in the history
current work-around starting from QGIS 3.34, see r-spatial/qgisprocess#205
  • Loading branch information
jannes-m authored Feb 22, 2024
1 parent 3b311b2 commit b5c58ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qgis/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ RUN apt-get update
RUN apt-get install -y qgis qgis-plugin-grass saga
RUN wget -qO sagang_plugin.zip https://plugins.qgis.org/plugins/processing_saga_nextgen/version/0.0.7/download/
RUN unzip -q sagang_plugin.zip -d /home/rstudio/.local/share/QGIS/QGIS3/profiles/default/python/plugins
# work-around neccessary starting from QGIS 3.34
RUN apt purge libpdal16

This comment has been minimized.

Copy link
@florisvdh

florisvdh Feb 22, 2024

Maybe for GHA workflows it's safer to use apt-get purge -y libpdal16, since apt is a user-interfacing front-end to apt-get. But all OK if that works too.

This comment has been minimized.

Copy link
@jannes-m

jannes-m Feb 22, 2024

Author Contributor

Thanks for the nudge, will change, it is certainly safer to do it the way you propose.


# Outdated: install SAGA next generation plugin with the qgis-plugin-manager ###########################################
# RUN qgis-plugin-manager init
Expand Down

5 comments on commit b5c58ce

@florisvdh
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jannes-m A more recent issue is qgis/QGIS#56465, which is the current stopper.

@Robinlovelace
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this @florisvdh, let me know if we need to update the docker image..

@jannes-m
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, indeed, this is the current problem. That's too bad but then let's wait until this is solved upstream. Thanks for letting us know.

@florisvdh
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jannes-m with the current version in 'ubuntugis-nightly-release' you can just revert the purge and it should work OK again (see r-spatial/qgisprocess#205 (comment)):

  • qgis-plugin-grass installation has been solved
  • QGIS now depends on libpdal16 and not on libpdal-base13; qgis_process works OK with the former installed and the latter not installed, so in GHA workflows this is automatically OK

@jannes-m
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@florisvdh thanks for letting me know. I have removed the purge statement again and now everything is working again. Thanks!

Please sign in to comment.