platform.linux_distribution() has been deprecated in Python 3.5 and removed in Python 3.8.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 43670 Build 44628: arc lint + arc unit
Event Timeline
Comment Actions
Either way, LGTM.
libcxx/utils/libcxx/test/target_info.py | ||
---|---|---|
216 | Did you consider using this instead? One downside is that it brings in one more dependency. import distro return distro.linux_distribution(full_distribution_name=False) |
libcxx/utils/libcxx/test/target_info.py | ||
---|---|---|
216 | I did, but as far as I understand, the community doesn't really want any dependencies. I've also been answered on the mailing lists that bringing it it wouldn't really worth it. |
Comment Actions
@broadwaylamb, I've requested backporting this to 10.x: https://bugs.llvm.org/show_bug.cgi?id=44905. However, i wasn't able to find to find you on Bugzilla and CC you. Could you confirm whether it's fine to backport, please?
Did you consider using this instead? One downside is that it brings in one more dependency.