mirror of https://github.com/grpc/grpc.git
[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: 611268154pull/35982/head
parent
493cad8ef2
commit
9b424b5dd4
3 changed files with 47 additions and 10 deletions
Loading…
Reference in new issue