Skip to content
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

[Python Dist] Fix grpc_distribtests_python (v1.63.x backport) #36363

Merged

Conversation

XuanWang-Amos
Copy link
Contributor

Backport of #36352 to v1.63.x.

setuptools made a decision to change the artifact name it builds (from grpcio-health-checking to grpcio_health_checking) in their latest release (pypa/setuptools#4300).
As a result, we need broaden our regex so that our tests can pickup the correct files.

Note

  • Using [_-]* instead of [_-]? to match one character since bash uses a different flavor of regular expressions called basic regular expressions (BREs) which do not support the optional quantifier ?.

`setuptools` made a decision to change the artifact name it builds (from `grpcio-health-checking` to `grpcio_health_checking`) in their latest release (pypa/setuptools#4300).
As a result, we need broaden our regex so that our tests can pickup the correct files.

### Note
* Using `[_-]*` instead of `[_-]?` to match one character since `bash` uses a different flavor of regular expressions called basic regular expressions (BREs) which do not support the optional quantifier `?`.

<!--

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 grpc#36352

COPYBARA_INTEGRATE_REVIEW=grpc#36352 from XuanWang-Amos:fix_distribution_test 8dfcc4e
PiperOrigin-RevId: 625083784
@XuanWang-Amos XuanWang-Amos added the release notes: no Indicates if PR should not be in release notes label Apr 15, 2024
@XuanWang-Amos XuanWang-Amos marked this pull request as ready for review April 15, 2024 21:33
@eugeneo eugeneo assigned gnossen and unassigned eugeneo Apr 15, 2024
@XuanWang-Amos XuanWang-Amos merged commit 60c35ba into grpc:v1.63.x Apr 15, 2024
57 of 60 checks passed
@XuanWang-Amos XuanWang-Amos deleted the backport-1.63-fix_distribution_test branch April 15, 2024 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release notes: no Indicates if PR should not be in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants