Public bug reported:

Upstream Python has deprecated platform.linux_distribution()[1] and the
implementation is being removed in 3.7. This has an effect on template
rendering during install and possibly other places in the code during
runtime.

Options are to use an external module [2] or implement logic in cloud-
init to detect the distribution.

During a brief IRC discussion on January 24th, 2018, started at 3:39:23
P.M. EST it was concluded that cloud-init should not have a dependency
on the external distro module.


[1] 
https://docs.python.org/3.6/library/platform.html#platform.linux_distribution
[2] https://github.com/nir0s/distro#distro---a-linux-os-platform-information-api

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1745235

Title:
  distribution detection

Status in cloud-init:
  New

Bug description:
  Upstream Python has deprecated platform.linux_distribution()[1] and
  the implementation is being removed in 3.7. This has an effect on
  template rendering during install and possibly other places in the
  code during runtime.

  Options are to use an external module [2] or implement logic in cloud-
  init to detect the distribution.

  During a brief IRC discussion on January 24th, 2018, started at
  3:39:23 P.M. EST it was concluded that cloud-init should not have a
  dependency on the external distro module.

  
  [1] 
https://docs.python.org/3.6/library/platform.html#platform.linux_distribution
  [2] 
https://github.com/nir0s/distro#distro---a-linux-os-platform-information-api

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1745235/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to