### NOTE * We shouldn't merge this PR until GCP cloud functions drops support for Python 3.7 ([Currently scheduled for GCF](https://cloud.google.com/functions/docs/runtime-support#python)) As part of supporting Python 3.12, we're now officially drop support for Python 3.7. This PR: * Changed supported Python version from 3.7 to 3.8 in README. * Replaced distribution test image from `debian:buster` to `debian:bullseye` since the default Python version in buster is 3.7. <!-- If you know who should review your pull request, please assign it to that person, otherwise the pull request would get assigned randomly. If your pull request is for a specific language, please add the appropriate lang label. --> Closes #34450 PiperOrigin-RevId: 622899511 |
||
|---|---|---|
| .. | ||
| .gcloudignore | ||
| .gitignore | ||
| README.md | ||
| cleanup.sh | ||
| common.sh | ||
| main.py | ||
| requirements.txt.base | ||
| run.sh | ||
| run_single.sh | ||
README.md
Python Google Cloud Functions Distribtest
This distribtest acts as a smoke test for usage of the grpcio Python wheel in
the GCF environment. This test is dependent on two long-lived GCP resources:
gcf-distribtest-topicPub Sub Topic with default configuration.grpc-gcf-distribtestGCS Bucket. This bucket has 1 day TTL on all artifacts.
All Functions should be deleted by the test under normal circumstances. In
case anything goes wrong with this process, a cleanup.sh script is provided to
delete any dangling test functions.