Azure / Azure/WALinuxAgent

[BUG] DeprecationWarning: distro.linux_distribution() is deprecated

Open
#3,216 0 comments 0 reactions 1 assignee Claimed by @narrieta View on GitHub
Dominant language
Python
Stars
581
Forks
397
Avg merge
2d 15h
Merged PRs (30d)
9

Description

**Describe the bug: A clear and concise description of what the bug is.**

```
azurelinuxagent/common/future.py:106
/build/source/azurelinuxagent/common/future.py:106: DeprecationWarning: distro.linux_distribution() is deprecated. It should only be used as a compatibility shim with Python's platform.linux_distribution(). Please use distro.id(), distro.version() and distro.name() instead.
distro.linux_distribution(
```

**Distro and WALinuxAgent details (please complete the following information):**
Python 3.12

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.