-
Notifications
You must be signed in to change notification settings - Fork 16.4k
fix: use offset-naive datetime in _CredentialsToken #37539
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
08ab9ec
7f14129
5d07367
fcf3da2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,14 +19,14 @@ | |
| package-name: apache-airflow-providers-google | ||
| name: Google | ||
| description: | | ||
| Google services including: | ||
| Google services including: | ||
|
|
||
| - `Google Ads <https://ads.google.com/>`__ | ||
| - `Google Cloud (GCP) <https://cloud.google.com/>`__ | ||
| - `Google Firebase <https://firebase.google.com/>`__ | ||
| - `Google LevelDB <https://github.com/google/leveldb/>`__ | ||
| - `Google Marketing Platform <https://marketingplatform.google.com/>`__ | ||
| - `Google Workspace <https://workspace.google.com/>`__ (formerly Google Suite) | ||
| - `Google Ads <https://ads.google.com/>`__ | ||
| - `Google Cloud (GCP) <https://cloud.google.com/>`__ | ||
| - `Google Firebase <https://firebase.google.com/>`__ | ||
| - `Google LevelDB <https://github.com/google/leveldb/>`__ | ||
| - `Google Marketing Platform <https://marketingplatform.google.com/>`__ | ||
| - `Google Workspace <https://workspace.google.com/>`__ (formerly Google Suite) | ||
|
|
||
| state: ready | ||
| source-date-epoch: 1707636385 | ||
|
|
@@ -89,6 +89,12 @@ dependencies: | |
| - apache-airflow>=2.6.0 | ||
| - apache-airflow-providers-common-sql>=1.7.2 | ||
| - asgiref>=3.5.2 | ||
| # When upgrading the major version of gcloud-aio-auth we want to make sure to | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is something block us from upgrading version now?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Generally speaking, no. I suppose a bit more care is needed when doing so, as it affects a range of async code of the provider. Also not sure yet how it affects the other gcloud-aio packages. |
||
| # 1. use at least version 5.2, which uses offset-aware datetime internally | ||
| # 2. override Token's new `refresh` method instead of `acquire_access_token`, which allows us to avoid | ||
| # dealing with internals like `access_token_acquired_at` | ||
| # 3. continue to `subclass gcloud.aio.auth.token.Token` instead of `BaseToken`, since instances of | ||
| # `_CredentialsToken` are instances of `Token` and used as such | ||
| - gcloud-aio-auth>=4.0.0,<5.0.0 | ||
| - gcloud-aio-bigquery>=6.1.2 | ||
| - gcloud-aio-storage>=9.0.0 | ||
|
|
@@ -677,7 +683,6 @@ operators: | |
| python-modules: | ||
| - airflow.providers.google.cloud.operators.cloud_batch | ||
|
|
||
|
|
||
| sensors: | ||
| - integration-name: Google BigQuery | ||
| python-modules: | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.