#51589: py-gdal does not match current gdal version -------------------------+-------------------- Reporter: JDTilley@… | Owner: petr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-gdal | -------------------------+-------------------- Comment (by gnwiii@…): Replying to [ticket:51589 JDTilley@…]:
The py-gdal port version (2.0.1) currently does not match the gdal port (2.1.0). I just wanted to let the maintainer know.
Just to be clear, the version of the python '''source''' package doesn't necessarily have to match the version of the the GDAL library, but there should have been a rev bump to force rebuilding of the package, so in this case it is probably better to update py-gdal whenever gdal is updated. Using the binary py35-gdal package, I got the message: {{{ ERROR 1: NUMPY driver was compiled against GDAL 2.0 but current library version is 2.1 }}} The message isn't clear about whose "NUMPY driver" is complaining, but deactivating py35-gdal and doing {{{ pip-3.5 install --user gdal }}} got rid of the message. I added py-gdal to a local Portfile repository, applied the patch, and installed the 3 subports without issues. Simple examples work for me. -- Ticket URL: <https://trac.macports.org/ticket/51589#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X