Re: [gdal-dev] pre-commit hook failure

2024-06-07 Thread Even Rouault via gdal-dev
Andrew, https://stackoverflow.com/questions/75591296/entrypoints-object-has-no-attribute-get-during-running-pre-commit would suggest that we should perhaps update the flake8 version in .pre-commit-config.yaml at the root of the GDAL source tree. Can you give a try to https://github.com/OSGeo/

[gdal-dev] pre-commit hook failure

2024-06-07 Thread Andrew Bell via gdal-dev
Hi, I'm getting an error when flake8 runs as a pre-commit hook and it won't allow me to commit code. My understanding was that the pre-commit stuff was supposed to make sure the proper versions were found. Ideas? (gdal) [viewshed-oor] $ git commit black

Re: [gdal-dev] doc bugs about prereqs, surfaced by updating pkgsrc for 3.9

2024-06-07 Thread Greg Troxel via gdal-dev
Even Rouault writes: > [cmake] Thanks for cluing me in; that all makes sense. > No idea if you need gcc 7 or 8. I don't think we use super advanced > C++17 features, so gcc 7 might be fine, but only experimentation would > confirm that. I believe the minimum we test on our CI is gcc 9.4 that >