Fokko opened a new pull request, #4598: URL: https://github.com/apache/iceberg-python/pull/4598
## Rationale for this change S3 remote signing (`S3V4RestSigner`) was only tested against a mocked signer. Several recent fixes (#4039, #4134, #2846) went in without a real signer to check them against. This made @Fokko very nervous when reviewing and merging remote signing PRs beceause mocks were hard to verify. This adds Lakekeeper, an open-source REST catalog with a full `/sign` implementation, to the integration stack. The tests use a catalog with no S3 credentials, so every object store request has to be signed by Lakekeeper. - `dev/docker-compose-integration.yml`: Lakekeeper v0.15.1 (port 8182) with Postgres and a migrate step. Lakekeeper returns its own S3 endpoint to the client, so it shares the object store's network namespace and `http://localhost:9000` works both from the host and from Lakekeeper. - `dev/provision.py`: bootstraps Lakekeeper and creates a warehouse with remote signing enabled and credential vending disabled. - `tests/integration/test_rest_remote_signing.py`: - the server config selects `FsspecFileIO` + `S3V4RestSigner` - append to a partitioned table (parallel writes) and scan back - delete through `DeleteObjects` - signing a location outside the table is rejected Follow-ups: run the generic catalog suite against Lakekeeper, and enable OIDC to cover passing the auth token to the signer. ## Are these changes tested? Yes. The full integration suite passes locally. With a no-op signer, the append fails with `Access Denied`, so the tests catch broken signing. ## Are there any user-facing changes? No. This pull request and its description were written by Isaac. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
