[gdal-dev] COG, DCAP_CREATE and check_doc.py

Andrew C Aitchison andrew at aitchison.me.uk
Sat Dec 20 04:54:55 PST 2025


Ah. Yes, I forgot that this depends on the build and not just the source.

Sorry for that.

On Sat, 20 Dec 2025, Even Rouault wrote:

> Andrew,
> Did you rebuild ? and are sure your active GDAL Python bindings are the ones 
> from this rebuild? check_doc.py does pass on CI and locally for me
>
> Even
>
> Le 20/12/2025 à 12:14, Andrew C Aitchison via gdal-dev a écrit :
>> 
>> I ran scripts/check_doc.py on git origin/master and got an assert:
>>  Traceback (most recent call last):
>>   File "/home/werdna/gdal/git/scripts/check_doc.py", line 80, in <module>
>>     "supports_create" not in doc_caps
>>  AssertionError: Driver COG does not declare DCAP_CREATE but doc does!
>> 
>> I guess that this is related to commit
>>   4289c17f6181f6c091adc04e010edf01f875b7e4
>> but should it have been caught by continuous integration ?

-- 
Andrew C. Aitchison                      Kendal, UK
                    andrew at aitchison.me.uk


More information about the gdal-dev mailing list