| Summary: | RuntimeError: AttributeError: module 'platform' has no attribute 'linux_distribution' | ||
|---|---|---|---|
| Product: | Sisyphus | Reporter: | Alexander Makeenkov <amakeenk> |
| Component: | ceph-deploy | Assignee: | Alexey Shabalin <shaba> |
| Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
| Severity: | normal | ||
| Priority: | P5 | CC: | shaba, snejok |
| Version: | unstable | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
|
Description
Alexander Makeenkov
2021-09-02 16:07:48 MSK
В p9:
$ python3 -c "import platform; print(platform.linux_distribution())"
-c:1: DeprecationWarning: dist() and linux_distribution() functions are deprecated in Python 3.5
('ALT', '9.2', 'altlinux')
В p10 и сизифе:
# python3 -c "import platform; print(platform.linux_distribution())"
Traceback (most recent call last):
File "<string>", line 1, in <module>
AttributeError: module 'platform' has no attribute 'linux_distribution'
Исправлено в 2.1.0-alt1. |