Skip to content

Conversation

@encukou
Copy link
Member

@encukou encukou commented May 15, 2018

The function platform.linux_distribution was scheduled for removal in 3.7, but didn't make it. But it can be removed it in 3.8.
Also remove some test_ssl infrastructure that depends on it (@tiran knows about the skip_if_broken_ubuntu_ssl removal).

https://bugs.python.org/issue28167

@encukou
Copy link
Member Author

encukou commented May 16, 2018

Alright! With input from Marc-Andre the platform maintainer (on the bug), Christian the ssl maintainer (in person) and Łukasz the release manager (in person), I'm comfortable merging this :)

@encukou encukou merged commit 8b94b41 into python:master May 16, 2018
@encukou encukou deleted the remove-platform-linux_distribution branch May 16, 2018 15:51
encukou added a commit to encukou/distro that referenced this pull request May 16, 2018
The distro package is now recommended in Python documentation
as a replacement for `platform.linux_distribution`. See:

* https://docs.python.org/3.7/library/platform.html#platform.linux_distribution
* python/cpython#6669

Also, `platform.linux_distribution` is removed from
Python 3.8 (which is not released yet). See:

* https://docs.python.org/3.8/library/platform.html
* python/cpython#6871

Reflect this in `distro`'s README and docstring.
nir0s pushed a commit to python-distro/distro that referenced this pull request May 17, 2018
The distro package is now recommended in Python documentation
as a replacement for `platform.linux_distribution`. See:

* https://docs.python.org/3.7/library/platform.html#platform.linux_distribution
* python/cpython#6669

Also, `platform.linux_distribution` is removed from
Python 3.8 (which is not released yet). See:

* https://docs.python.org/3.8/library/platform.html
* python/cpython#6871

Reflect this in `distro`'s README and docstring.
nir0s pushed a commit to python-distro/distro that referenced this pull request Feb 2, 2019
The distro package is now recommended in Python documentation
as a replacement for `platform.linux_distribution`. See:

* https://docs.python.org/3.7/library/platform.html#platform.linux_distribution
* python/cpython#6669

Also, `platform.linux_distribution` is removed from
Python 3.8 (which is not released yet). See:

* https://docs.python.org/3.8/library/platform.html
* python/cpython#6871

Reflect this in `distro`'s README and docstring.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants