Skip to content

Circular dependency for installing GDAL using mosaic.setup_gdal() #524

@smartkiwi

Description

@smartkiwi

GDAL installation helper is not usable as part of mosaic library
Currently mosaic.setup_gdal() helper requires GDAL to installed.
This makes it difficult to use for users.

Versions:

  • DBR - 13.3
  • mosaic - 0.4.0
  • GDAL =

Install GDAL documentation doesn't work because of this.
https://github.com/databrickslabs/mosaic/blob/main/docs/source/usage/install-gdal.rst

To Reproduce
Steps to reproduce the behavior:
Running %pip install databricks-mosaic in Databricks Notebook in vanilla DBR 13.3 fails with error that GLAD not found.

Expected behavior
Documentation and tooling should be improved to allow users to install GDAL first without requiring to install mosaic.
Or there should be some way to install mosaic library without GDAL dependencies to allow users to use mosaic.setup_gdal function

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions