✕
Skip to content

Add support for Arch Linux to platform.linux_distributions() #55887

Closed

Description

@westleymartinez
BPO 11678
Nosy @malemburg, @birkenfeld, @terryjreedy, @pitrou, @merwok, @bitdancer
Files
  • cpython-11678.diff: patch
  • 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 = None
    closed_at = <Date 2012-06-24.20:17:45.932>
    created_at = <Date 2011-03-26.00:09:55.324>
    labels = ['type-feature', 'library']
    title = 'Add support for Arch\tLinux to platform.linux_distributions()'
    updated_at = <Date 2012-10-05.06:39:03.334>
    user = 'https://bugs.python.org/westleymartinez'

    bugs.python.org fields:

    activity = <Date 2012-10-05.06:39:03.334>
    actor = 'lemburg'
    assignee = 'none'
    closed = True
    closed_date = <Date 2012-06-24.20:17:45.932>
    closer = 'python-dev'
    components = ['Library (Lib)']
    creation = <Date 2011-03-26.00:09:55.324>
    creator = 'westley.martinez'
    dependencies = []
    files = ['21410']
    hgrepos = []
    issue_num = 11678
    keywords = ['patch']
    message_count = 16.0
    messages = ['132187', '132227', '132252', '132253', '132394', '132459', '132472', '132510', '132670', '132780', '132805', '132933', '143489', '163840', '163843', '172051']
    nosy_count = 8.0
    nosy_names = ['lemburg', 'georg.brandl', 'terry.reedy', 'pitrou', 'eric.araujo', 'r.david.murray', 'westley.martinez', 'python-dev']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue11678'
    versions = ['Python 3.3']

    Activity

    1. westleymartinez commented on Mar 26, 2011

      westleymartinezmannequin
      MannequinAuthor

      This comes from bpo-11340 <http://bugs.python.org/issue11340\>.

      Adding support for Arch Linux to platform.linux_distributions() will allow a distutils test to be skipped for Arch. The Arch Linux website: http://www.archlinux.org/

    2. added
      stdlibStandard Library Python modules in the Lib/ directory
      type-featureA feature request or enhancement
      on Mar 26, 2011
    3. malemburg commented on Mar 26, 2011

      @malemburg
      Member

      Please provide a patch for review.

      Thanks.

    4. westleymartinez commented on Mar 26, 2011

      westleymartinezmannequin
      MannequinAuthor

      Patch.

    5. westleymartinez commented on Mar 26, 2011

      westleymartinezmannequin
      MannequinAuthor

      I forgot to say, Arch Linux is rolling release so it doesn't have a version or id.

    6. malemburg commented on Mar 28, 2011

      @malemburg
      Member

      Westley Martínez wrote:

      Westley Martínez <anikom15@gmail.com> added the comment:

      I forgot to say, Arch Linux is rolling release so it doesn't have a version or id.

      Ok, but then what's the output of the function on Arch Linux (with the
      patch) ?

    7. changed the title [-]Add support for Arch Linux to platform.linux_distributions()[/-] [+]Add support for Arch Linux to platform.linux_distributions()[/+] on Mar 28, 2011
    8. westleymartinez commented on Mar 29, 2011

      westleymartinezmannequin
      MannequinAuthor

      ('arch', '', '')

    9. malemburg commented on Mar 29, 2011

      @malemburg
      Member

      Westley Martínez wrote:

      Westley Martínez <anikom15@gmail.com> added the comment:

      ('arch', '', '')

      I've had a look at http://www.archlinux.org/download/ which does list
      a release version (currently 2010.05).

      Could you try to get that into the function's output for Arch Linux ?

      Thanks,

      Marc-Andre Lemburg
      eGenix.com


      ::: Try our new mxODBC.Connect Python Database Interface for free ! ::::

      eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48
      D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
      Registered at Amtsgericht Duesseldorf: HRB 46611
      http://www.egenix.com/company/contact/

    10. changed the title [-]Add support for Arch Linux to platform.linux_distributions()[/-] [+]Add support for Arch Linux to platform.linux_distributions()[/+] on Mar 29, 2011
    11. westleymartinez commented on Mar 29, 2011

      westleymartinezmannequin
      MannequinAuthor

      That's the release version for the installation disc.

    12. westleymartinez commented on Mar 31, 2011

      westleymartinezmannequin
      MannequinAuthor

      Perhaps I wasn't clear. That release version isn't for the system. It's for the installation disc. There's no way to get that info and it means nothing to anyone anyways. All users of Arch are expected to have their system fully up to date. There are no releases; Just do "pacman -Syu" and the system is made up to date.

    13. terryjreedy commented on Apr 1, 2011

      @terryjreedy
      Member

      If today's multi-site message is not a joke, Arch, Debian, Gentoo, Grml, and openSUSE are about to be joined into the Canterbury distribution.

    14. birkenfeld commented on Apr 2, 2011

      @birkenfeld
      Member

      And we all laughed :)

    15. malemburg commented on Apr 4, 2011

      @malemburg
      Member

      Westley Martínez wrote:

      Westley Martínez <anikom15@gmail.com> added the comment:

      Perhaps I wasn't clear. That release version isn't for the system. It's for the installation disc. There's no way to get that info and it means nothing to anyone anyways. All users of Arch are expected to have their system fully up to date. There are no releases; Just do "pacman -Syu" and the system is made up to date.

      Interesting. In that case, I guess version and id don't make sense
      for Arch Linux.

      Thanks,

      Marc-Andre Lemburg
      eGenix.com


      ::: Try our new mxODBC.Connect Python Database Interface for free ! ::::

      eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48
      D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
      Registered at Amtsgericht Duesseldorf: HRB 46611
      http://www.egenix.com/company/contact/

    16. changed the title [-]Add support for Arch Linux to platform.linux_distributions()[/-] [+]Add support for Arch Linux to platform.linux_distributions()[/+] on Apr 4, 2011
    17. westleymartinez commented on Sep 4, 2011

      westleymartinezmannequin
      MannequinAuthor

      Is there anything preventing the patch from being committed?

    18. merwok commented on Jun 24, 2012

      @merwok
      Member

      Feature freeze just came by; sorry we missed this.

      Given our recent-ish discussion about additions to mimetypes (and the consensus (IIRC) that matching the IANA database can be considered a bug fix), I wonder if detecting more OSes in platform should be considered a new feature. On one end we have mimetypes when there is just a dictionary update with no risk, on the other end we have ports to new OSes which clearly are new features; I think platform is on the fence, maybe just a bit on the new feature side.

    19. python-dev commented on Jun 24, 2012

      python-devmannequin
      Mannequin

      New changeset 97a098aa4205 by Georg Brandl in branch 'default':
      Closes bpo-11678: support Arch linux in the platform module.
      http://hg.python.org/cpython/rev/97a098aa4205

    20. malemburg commented on Oct 5, 2012

      @malemburg
      Member

      Éric Araujo wrote:

      Éric Araujo <merwok@netwok.org> added the comment:

      Feature freeze just came by; sorry we missed this.

      Given our recent-ish discussion about additions to mimetypes (and the consensus (IIRC) that matching the IANA database can be considered a bug fix), I wonder if detecting more OSes in platform should be considered a new feature. On one end we have mimetypes when there is just a dictionary update with no risk, on the other end we have ports to new OSes which clearly are new features; I think platform is on the fence, maybe just a bit on the new feature side.

      I'm fine with adding new OS support to platform in bugfix releases.

      The idea is to support as many platforms as possible and if a popular
      one is missing, that's a bug.

      --
      Marc-Andre Lemburg
      eGenix.com

      Professional Python Services directly from the Source  (#1, Oct 05 2012)
      >>> Python Projects, Consulting and Support ...   http://www.egenix.com/
      >>> mxODBC.Zope/Plone.Database.Adapter ...       http://zope.egenix.com/
      >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
      ________________________________________________________________________
      2012-09-27: Released eGenix PyRun 1.1.0 ...       http://egenix.com/go35
      2012-09-26: Released mxODBC.Connect 2.0.1 ...     http://egenix.com/go34
      2012-09-25: Released mxODBC 3.2.1 ...             http://egenix.com/go33
      2012-10-23: Python Meeting Duesseldorf ...                 18 days to go

      eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48
      D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
      Registered at Amtsgericht Duesseldorf: HRB 46611
      http://www.egenix.com/company/contact/

    21. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions