grpc/test/distrib/gcf/python
Xuan Wang 73b0ac2067 [Python Version] Drop support for Python 3.7 (#34450)
### 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
2024-04-08 11:17:51 -07:00
..
.gcloudignore Add Python GCF Distribtest (#29303) 2022-04-07 11:51:07 -07:00
.gitignore Add Python GCF Distribtest (#29303) 2022-04-07 11:51:07 -07:00
README.md Add Python GCF Distribtest (#29303) 2022-04-07 11:51:07 -07:00
cleanup.sh Add Python GCF Distribtest (#29303) 2022-04-07 11:51:07 -07:00
common.sh Add Python GCF Distribtest (#29303) 2022-04-07 11:51:07 -07:00
main.py [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
requirements.txt.base Add Python GCF Distribtest (#29303) 2022-04-07 11:51:07 -07:00
run.sh [Python Version] Drop support for Python 3.7 (#34450) 2024-04-08 11:17:51 -07:00
run_single.sh Add Python GCF Distribtest (#29303) 2022-04-07 11:51:07 -07:00

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-topic Pub Sub Topic with default configuration.
  • grpc-gcf-distribtest GCS 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.