1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/changelogs/fragments/platform-dist-to-nir0s-distro.yaml
Toshio Kuratomi 40e7c7a210
Add a porting guide entry for ansible_distribution facts (#50251)
* Add a porting guide entry for ansible_distribution facts

Switching away from platform.distro() will cause changes sometimes due
to the new code using new sources of information that may be out of sync
with the old ones.  Just have to make people aware of that and also what
we are doing to mitigate it when appropriate.

* wordsmithed, added links for new distro backend
2019-01-04 10:03:56 -08:00

7 lines
347 B
YAML

---
minor_changes:
- Python-3.8 removes platform.dist() from the standard library. To maintain
compatibility we've switched to an alternative library, nir0s/distro, to
detect the distribution for fact gathering. Distributions facts may change
slightly as nir0s/distro has bugfixes which the standard library's
platform.dist() has lacked.