simpeg/aurora

rasterio

Closed this issue · 2 comments

mtpy-v2 and aurora seem to be installing different versions of rasterio on python 3.8.

Rasterio 1.3.11 was released about 10h ago from this message. Last good 3.8 mtpy build was ~20h ago.

On mtpy:

Collecting rasterio (from mtpy-v2->aurora==0.4.1)
  Downloading rasterio-1.3.10-cp312-cp312-manylinux2014_x86_64.whl.metadata (14 kB)

On Aurora:

Collecting rasterio (from mtpy-v2==2.0.9)
  Downloading rasterio-1.3.11.tar.gz (413 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [3 lines of output]
 <string>:22: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
      WARNING:root:Failed to get options via gdal-config: [Errno 2] No such file or directory: 'gdal-config'
      ERROR: A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
      [end of output]

@kujaku11 FYI: you may need to pin rasterio <1.3.11 for now.

That's not it .. googling
ERROR: A GDAL API version must be specified.

I see this

Hmm, maybe a glitch associated with the new rasterio. It went away after a couple days.