Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #13119

Re: Generic Python packages which don’t work on all architectures

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Matthias Klose <doko@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Generic Python packages which don’t work on all architectures
Date Wed, 20 Jan 2021 21:10:01 +0100
Message-ID <BzrXH-3r4-5@gated-at.bofh.it> (permalink)
References <BzrEm-35B-13@gated-at.bofh.it>
X-Original-To Stephen Kitt <skitt@debian.org>, Debian Python <debian-python@lists.debian.org>
X-Mailbox-Line From debian-python-request@lists.debian.org Wed Jan 20 20:00:27 2021
Old-Return-Path <doko@debian.org>
X-Amavis-Spam-Status No, score=-9.561 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, NICE_REPLY_A=-2.749, RCVD_IN_DNSWL_LOW=-0.7, SARE_HEAD_8BIT_SPAM=0.888] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -3.5
Old-X-Envelope-From doko@debian.org
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Language en-US
Content-Transfer-Encoding 8bit
X-Mailing-List <debian-python@lists.debian.org> archive/latest/18895
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/318aa494-9f3e-9c7e-135f-e8e83cd09229@debian.org
Approved robomod@news.nic.it
Lines 18
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Wed, 20 Jan 2021 21:00:05 +0100
X-Original-Message-ID <318aa494-9f3e-9c7e-135f-e8e83cd09229@debian.org>
X-Original-References <20210120203941.1a41cc06@heffalump.sk2.org>
Xref csiph.com linux.debian.maint.python:13119

Show key headers only | View raw


On 1/20/21 8:39 PM, Stephen Kitt wrote:
> Hi,
> 
> I’ve come across a situation which doesn’t seem to be addressed by existing
> policies: the python-ptrace source package only ships
> architecture-independent content, but it works on a small number of
> architectures (currently, 32/64-bit x86, 32-bit ARM, 32/64-bit PPC).
> 
> As a result, the packages it builds are installable everywhere, but that’s a
> false promise since they don’t work everywhere. Would it make sense to
> convert it to an architecture-dependent package, only on those architectures
> which are really supported?

There's no python packaging specific approach.  So yes, either make it
architecture dependent, or maybe add code to the entry points (__init__.py) to
raise an ImportError on unsupported architectures?

Matthias

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Generic Python packages which don’t work on all  architectures Stephen Kitt <skitt@debian.org> - 2021-01-20 20:50 +0100
  Re: Generic Python packages which don’t work on all architectures Matthias Klose <doko@debian.org> - 2021-01-20 21:10 +0100
  Re: Generic Python packages which don’t work on all architectures Paul Wise <pabs@debian.org> - 2021-01-21 02:50 +0100
    Re: Generic Python packages which don’t work on all architectures Christian Kastner <ckk@debian.org> - 2021-01-21 08:10 +0100
    Re: Generic Python packages which don’t work on all architectures Ole Streicher <olebole@debian.org> - 2021-01-21 14:20 +0100
      Re: Generic Python packages which don’t work on all architectures Paul Wise <pabs@debian.org> - 2021-01-21 14:30 +0100
        Re: Generic Python packages which don’t work on all architectures Ole Streicher <olebole@debian.org> - 2021-01-21 16:50 +0100
          Re: Generic Python packages which don’t work on all architectures Paul Wise <pabs@debian.org> - 2021-01-22 00:40 +0100
            Re: Generic Python packages which don’t work on all architectures Paul Wise <pabs@debian.org> - 2021-01-22 00:50 +0100
            Re: Generic Python packages which don’t work on all architectures Ole Streicher <olebole@debian.org> - 2021-01-22 10:00 +0100
      Re: Generic Python packages which don’t work on  all architectures Ansgar <ansgar@43-1.org> - 2021-01-21 14:40 +0100
        Re: Generic Python packages which don’t work on all architectures Ole Streicher <olebole@debian.org> - 2021-01-21 16:20 +0100

csiph-web