Op 04-12-2023 om 15:21 schreef Andrea Aime:
On Mon, Dec 4, 2023 at 2:13 PM mark <mc.pr...@gmail.com <mailto:mc.pr...@gmail.com>> wrote:

    Not sure if it's relevant, but there appear to be errors installing
    python@3.11
    It looks as if the runner/VM has python@3.12 already installed and that
    is causing some issues...

    aside; it seems to be installing gdal 3.7.3 and not the current 3.8.1
    (which still needs python@3.11
    (https://formulae.brew.sh/formula/gdal
    <https://formulae.brew.sh/formula/gdal>)
    so I don't think running `brew update` before brew install will help


Hum... fair points... the build seems to be simply trying to install GDAL, without
any reference to python and GDAL versions:

https://github.com/geotools/geotools/blob/main/.github/workflows/macos.yml#L21 
<https://github.com/geotools/geotools/blob/main/.github/workflows/macos.yml#L21>

So... maybe the GDAL version provided by Brew is outdated?
Any yet on the brew site they seem to be referring to the latest:

https://formulae.brew.sh/formula/gdal <https://formulae.brew.sh/formula/gdal>

Hum... dunno... maybe it's the version of OSX that's not supported?

I think when brew is installed it also has an index, that could now be a stale index or older version of brew (which `brew update` and maybe `brew upgrade` would fix)
I've run into a similar problem with choco on windows in the past...

Apparently there is a PR to upgrade to python in the gdal bottle to 3.12:
https://github.com/Homebrew/homebrew-core/pull/156321

-M




_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to