amdubovoi opened a new pull request, #4089:
URL: https://github.com/apache/iceberg-python/pull/4089

   # Rationale for this change
   
   `FsspecFileIO` passes the GCS token to gcsfs without its expiry. gcsfs 
2026.2.0 and later then look up the expiry at tokeninfo, which fails for 
down-scoped tokens that REST catalogs vend. Reads fail with `Provided token is 
either not valid, or expired.`
   
   A token with `gcs.oauth2.token-expires-at` now goes to gcsfs as 
`google.oauth2.credentials.Credentials` with that expiry.
   
   ## Are these changes tested?
   
   Yes, with unit tests and against a REST catalog that vends down-scoped GCS 
tokens.
   
   ## Are there any user-facing changes?
   
   Yes. Vended GCS credentials work again with gcsfs 2026.2.0 and later.
   


-- 
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]

Reply via email to