After numerous compiler errors, the Jenkins build fails with:
09:32:04 ERROR: Could not build wheels for duckdb which use PEP 517 and cannot be installed directly
Installing with poetry locally appears to work as expected and installs duckdb 1.3.0.
The Jenkins build uses Python 3.9.5 and pip instead of poetry, so those may not work here, but there may also be a compiler incompatibility (g++ is called to compile duckdb but doesn't appear to be successful).