Skip to content

Deprecate platform.dist() and platform.linux_distribution() functions #45663

Closed
@sapetnioc

Description

@sapetnioc
mannequin
BPO 1322
Nosy @malemburg, @birkenfeld, @doko42, @tiran, @benjaminp, @mcepl, @merwok, @encukou, @berkerpeksag, @xnox, @vajrasky, @andy-maier, @leycec, @ShaneHarvey
PRs
  • bpo-28167: bump Deprecated function removal to 3.8 #6669
  • Dependencies
  • bpo-3937: platform.dist(): detect Linux distribution version in a robust, standard way
  • Files
  • debian_version
  • lsb-release
  • platform.py
  • platform_py25.patch
  • test_platform_py26.diff: Patch for python 2.6 trunk. Include some additional linux test cases.
  • test_platform_py26_fix_centos.diff: Fix to patch test_platform_py26.diff return distname with contents of file
  • dist.patch.txt: zooko's patch to identify linux platform by parsing /etc/lsb-release or else invoking lsb_release
  • deprecate_platform_dist.patch
  • deprecate_platform_dist_v2.patch
  • issue1322.diff
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/berkerpeksag'
    closed_at = <Date 2015-05-13.09:33:20.871>
    created_at = <Date 2007-10-24.17:21:04.022>
    labels = ['type-feature', 'library']
    title = 'Deprecate platform.dist() and platform.linux_distribution() functions'
    updated_at = <Date 2018-05-16.23:46:42.863>
    user = 'https://bugs.python.org/sapetnioc'

    bugs.python.org fields:

    activity = <Date 2018-05-16.23:46:42.863>
    actor = 'petr.viktorin'
    assignee = 'berker.peksag'
    closed = True
    closed_date = <Date 2015-05-13.09:33:20.871>
    closer = 'berker.peksag'
    components = ['Library (Lib)']
    creation = <Date 2007-10-24.17:21:04.022>
    creator = 'sapetnioc'
    dependencies = ['3937']
    files = ['8616', '8617', '8663', '8664', '9504', '10298', '11574', '33324', '33334', '36284']
    hgrepos = []
    issue_num = 1322
    keywords = ['patch', 'needs review']
    message_count = 75.0
    messages = ['56710', '56712', '56747', '56748', '56749', '56773', '56774', '56775', '56784', '56785', '56786', '56958', '56959', '58350', '62764', '62774', '62782', '66702', '67046', '69186', '69187', '73652', '73656', '73659', '73660', '73662', '73663', '73666', '73744', '74336', '83762', '83765', '83860', '83861', '134157', '134193', '134219', '134255', '134269', '134277', '137281', '137287', '207397', '207415', '207421', '207422', '207426', '207427', '207500', '224903', '228533', '236794', '242751', '243063', '243090', '243093', '244109', '244110', '256016', '256017', '256018', '256026', '256027', '256111', '256333', '256702', '263312', '263313', '263724', '263725', '263896', '299869', '316660', '316696', '316876']
    nosy_count = 22.0
    nosy_names = ['lemburg', 'georg.brandl', 'doko', 'zooko', 'draghuram', 'christian.heimes', 'sapetnioc', 'benjamin.peterson', 'pavel.vinogradov', 'mcepl', 'bgomes', 'eric.araujo', 'petr.viktorin', 'python-dev', 'pola', 'berker.peksag', 'xnox', 'vajrasky', 'andymaier', 'nir0s', 'leycec', 'ShaneHarvey']
    pr_nums = ['6669']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue1322'
    versions = ['Python 3.5']

    Metadata

    Metadata

    Assignees

    Labels

    stdlibPython modules in the Lib dirtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions