cuddly-jelly-27016
05/23/2025, 4:33 PM.../site-packages/gcsfs/creden │
│ tials.py:219 in apply │
│ │
│ ❱ 219 │ │ self.maybe_refresh() │
│ │
│ .../site-packages/gcsfs/creden │
│ tials.py:196 in maybe_refresh │
│ │
│ ❱ 196 │ │ if self._credentials_valid(refresh_buffer): │
│ │
│ .../site-packages/gcsfs/creden │
│ tials.py:181 in _credentials_valid │
│ │
│ ❱ 181 │ │ │ │ │ │ self.credentials.expiry - datetime.now(timezon │
╰──────────────────────────────────────────────────────────────────────────────╯
TypeError: can't subtract offset-naive and offset-aware datetimes
## What changes were proposed in this pull request?
Force gcsfs to be below 2025.5.0 which is where the bug is.
## How was this patch tested?
N/A
### Setup process
### Screenshots
## Check all the applicable boxes
• I updated the documentation accordingly.
• All new and existing tests passed.
• All commits are signed-off.
## Related PRs
## Docs link
https://bito.ai#summarystart|
### Summary by Bito
This pull request fixes a bug in the gcsfs library that caused GCP workflows to fail intermittently by restricting the gcsfs version to below 2025.5.0. This change ensures application stability and functionality by preventing the use of problematic versions.
flyteorg/flytekitcuddly-jelly-27016
05/25/2025, 2:47 PM