grpc/src/python
Xuan Wang 9b424b5dd4 [Python o11y] Fix Python O11Y artifacts name (#35965)
Update observability to PYPI failed because the artifact name is not correct.

This PR:
* Fix the artifacts name.
* Add step to test observability artifacts in `test_packages.sh`.
* Added `-fno-ipa-cp` compile flag.
  * We're seeing `inlining failed in call to always_inline 'vsnprintf': function body can be overwritten at link time` errors when building from source using musl libc.
  * Based on [investigation](https://gitlab.alpinelinux.org/alpine/aports/-/issues/8626), it's because we're using `-flto` flag.
  * One solution is to [disable fortify by adding this flag](https://gitlab.alpinelinux.org/alpine/aports/-/issues/8626).

After this PR, the observability artifacts have the correct name:
* [Distribution Tests Python Linux](https://pantheon.corp.google.com/storage/browser/grpc-testing-kokoro-prod/test_result_public/prod/grpc/core/pull_request/linux/grpc_distribtests_python/28687/20240223-105306/github/grpc/artifacts;tab=objects?pageState=(%22StorageObjectListTable%22:(%22f%22:%22%255B%255D%22))&e=13802955&mods=-logs_tg_prod&prefix=&forceOnObjectsSortingFiltering=false)

Also tested that the artifacts build in this PR can be successfully uploaded to testpypi:
* https://test.pypi.org/project/grpcio-observability/1.63.0.dev0

<!--

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

PiperOrigin-RevId: 611268154
2024-02-28 16:33:28 -08:00
..
grpcio [metadata] Expose metadata limits and annotation info to filter stack (#35970) 2024-02-27 12:07:35 -08:00
grpcio_admin [Release] Bump version to 1.63.0-dev (on master branch) (#35899) 2024-02-13 16:09:36 -08:00
grpcio_channelz [Release] Bump version to 1.63.0-dev (on master branch) (#35899) 2024-02-13 16:09:36 -08:00
grpcio_csds [Release] Bump version to 1.63.0-dev (on master branch) (#35899) 2024-02-13 16:09:36 -08:00
grpcio_health_checking [Release] Bump version to 1.63.0-dev (on master branch) (#35899) 2024-02-13 16:09:36 -08:00
grpcio_observability [Python o11y] Fix Python O11Y artifacts name (#35965) 2024-02-28 16:33:28 -08:00
grpcio_reflection [Release] Bump version to 1.63.0-dev (on master branch) (#35899) 2024-02-13 16:09:36 -08:00
grpcio_status [Release] Bump version to 1.63.0-dev (on master branch) (#35899) 2024-02-13 16:09:36 -08:00
grpcio_testing [Python O11Y] Reapply registered method change (#35850) 2024-02-15 15:36:27 -08:00
grpcio_tests [Python O11Y] Reapply registered method change (#35850) 2024-02-15 15:36:27 -08:00
.gitignore [Python O11Y] Reapply registered method change (#35850) 2024-02-15 15:36:27 -08:00