Benjamin Greiner changed bug 1230064
What Removed Added
Status NEW RESOLVED
Resolution --- INVALID
CC   code@bnavigator.de

Comment # 1 on bug 1230064 from Benjamin Greiner
python3-GDAL was compuled from gdal.spec on Fri Aug 30 14:09:54 UTC 2024 right
after the merge of numpy2 using numpy 2 headers and is in Tumbleweed:

https://build.opensuse.org/package/live_build_log/openSUSE:Factory/gdal/standard/x86_64


> [    9s] python311-numpy-2.0.0-1.2            ########################################
> ...
> [   10s] python311-numpy-devel-2.0.0-1.2      ########################################
> ...
> [  457s] Using numpy 2.0.0
> ...
> [  537s] Comparing python3-GDAL-3.9.2-1.1.x86_64.rpm to python3-GDAL-3.9.2-1.2.x86_64.rpm
...
> [  538s] h02-ch2a finished "build gdal.spec" at Fri Aug 30 14:09:54 UTC 2024.
> ...
> [  538s] RPMS/x86_64/python3-GDAL-3.9.2-1.2.x86_64.rpm


> $ LANG=C zypper info python3-GDAL                                                                                                                                            
> ...
> Information for package python3-GDAL:
> -------------------------------------
> Repository     : Haupt-Repository (OSS)
> Name           : python3-GDAL
> Version        : 3.9.2-1.2
> Arch           : x86_64
> Vendor         : openSUSE
> Installed Size : 6.9 MiB
> Installed      : Yes
> Status         : up-to-date
> Source package : gdal-3.9.2-1.2.src
> Upstream URL   : https://www.gdal.org/
> Summary        : GDAL Python3 module
> Description    :
>    The GDAL python modules provide support to handle multiple GIS file formats.





> File "/usr/local/lib64/python3.11/site-packages/osgeo/gdal_array.py"

The /local/ part indicates that you installed gdal from a different source than
the rpm. Never use pip as root.


You are receiving this mail because: