grpc/tools
Xuan Wang 5c988a47c4 [Python Misc] Fix issue when deprecate pkg_resources.resource_filename (#35810)
We changed `pkg_resources.resource_filename` to `importlib.resources.files`, but the return of `resources.files()` API is a traversable object implementing a subset of the [pathlib.Path](https://docs.python.org/3/library/pathlib.html#pathlib.Path) interface instead of string, thus we're seeing errors like `AttributeError: 'PosixPath' object has no attribute 'rstrip'`.

This PR converts the result of `files()` to str to prevent those kinds of errors.

Test run:
 * [x] [grpc/core/master/linux/grpc_interop_tocloud](http://sponge/ee5d493b-e23e-4358-8084-3dba1df1d42f)

<!--

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 #35810

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35810 from XuanWang-Amos:fix_import_pkg_resources_2 70fff7a7c3
PiperOrigin-RevId: 604398041
2024-02-05 12:28:26 -08:00
..
api_reference shellcheck 2018-05-21 18:23:09 -07:00
bazelify_tests [ruby] add distrib tests for ruby 3.1-3.3 (#35788) 2024-02-02 14:24:00 -08:00
buildgen [Build] Workaround for protobuf-at-head test (#35798) 2024-02-02 16:57:55 -08:00
codegen/core [experiments] Allow experiments to opt-in to testing against all pollers (default to not) (#35683) 2024-01-26 15:47:13 -08:00
debug/core [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
distrib [Python Misc] Fix issue when deprecate pkg_resources.resource_filename (#35810) 2024-02-05 12:28:26 -08:00
docker_runners [bazelify tests] Add "concurrent_bazel.sh" wrapper to enable parallel invocations of bazel (#34568) 2023-10-06 01:02:40 -07:00
dockerfile [clang-format] exclude src/python/grpcio_observability/grpc_root (#35802) 2024-02-03 09:23:51 -08:00
doxygen [reorg] move LB policy code to src/core/load_balancing (#35786) 2024-02-05 10:05:35 -08:00
fuzzing [Fuzzing] Add a build config option which enables Clang source-based code coverage (#32858) 2023-04-14 13:03:12 -07:00
gce [test-infra] Update all Ubuntu docker images to v20.04 or newer (#35440) 2024-01-03 15:14:54 -08:00
gcp/utils [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
gource
http2_interop Create a go module for http2 interop test, fixing breakage from upgrade to go v1.16 (#25707) 2021-03-15 15:28:48 -07:00
internal_ci [BoringSSL] Update third_party/boringssl-with-bazel (#35768) 2024-02-01 10:06:33 -08:00
interop_matrix [release] Add 1.61 to interop matrix (#35790) 2024-02-02 11:38:36 -08:00
package_hosting doc: npm package of grpc migrate (#32041) 2023-01-10 13:57:25 -08:00
profiling [memory test] add benchmark for xDS channel with multiple addresses (#34902) 2023-11-09 07:25:44 -08:00
release [SOT] Add a "Commits with missing PR number" section in the release note draft (#35658) 2024-01-25 13:05:47 -08:00
remote_build [RBE windows] Use bazel 6.3.2 on windows RBE (after regenerating toolchain) (#34216) 2023-09-01 10:35:15 +02:00
run_tests [reorg] move LB policy code to src/core/load_balancing (#35786) 2024-02-05 10:05:35 -08:00
README.md
bazel [bazel] Upgrade bazel repo-wide to 6.3.2 (#34088) 2023-08-18 10:11:33 +02:00
bazel.rc [Build] Prepared for Bazel 7 (#35374) 2023-12-21 13:02:38 -08:00
fuzztest.bazelrc [channel-args] Reland UnionWith optimizations (#33163) 2023-05-17 17:23:58 -07:00

README.md

buildgen: Template renderer for our build system.

distrib: Scripts to distribute language-specific packages and other distribution-related helper scripts.

dockerfile: Docker files to test gRPC.

doxygen: gRPC C/C++ documentation generation via Doxygen.

gce: Scripts to help setup testing infrastructure on GCE.

gcp: Helper scripts for interacting with various services on GCP (like Google container engine, BigQuery etc)

internal_ci: Support for running tests on an internal CI platform.

interop_matrix: Scripts to build, upload, and run gRPC clients in docker with various language/runtimes.

jenkins: Support for running tests on Jenkins.

run_tests: Scripts to run gRPC tests in parallel.

run_tests/performance: See the README for more notes on the performance tests.