abseil / abseil/abseil-cpp

[Bug]: Abseil Cpp flags are not set in OSS from Python

未關閉
#1,852 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
C++
星號
18.1k
分支
3.2k
平均合併
20 小時 36 分鐘
30 天內合併 PR
1

描述

### Describe the issue

Hi team,

This is basically a duplication of https://github.com/abseil/abseil-py/issues/200

The issue is that in OSS version of Abseil I can't set Abseil flags from command line when driving python binary build with Abseil Py modules (including unittest). This is especially problematic since Abseil logging library supports flags for runtime configuration and I can't use them with Python tests.

Is there any chance Abseil team can address this or recommend a simple way to work around this in OSS?

### Steps to reproduce the problem

Any Python unit test build with Abseil Py unittest module.

### What version of Abseil are you using?

Latest LTS

### What operating system and version are you using?

Linux

### What compiler and version are you using?

clang version 19.1.7

### What build system are you using?

bazel 8.1

### Additional context

_No response_

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。