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


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

Re: Python module packages that don't bytecompile on installation?

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Ansgar <ansgar@43-1.org>
Newsgroups linux.debian.maint.python
Subject Re: Python module packages that don't bytecompile on installation?
Date Mon, 04 Nov 2019 09:10:01 +0100
Message-ID <yYFAZ-6wu-1@gated-at.bofh.it> (permalink)
References <yXSgV-18y-1@gated-at.bofh.it> <yXYw1-57g-5@gated-at.bofh.it> <yYcSl-5mr-1@gated-at.bofh.it>
X-Original-To Paul Wise <pabs@debian.org>
X-Mailbox-Line From debian-python-request@lists.debian.org Mon Nov 4 08:04:17 2019
Old-Return-Path <ansgar@debian.org>
X-Amavis-Spam-Status No, score=-9.151 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, LDO_WHITELIST=-5, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -3.5
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=43-1.org; i=@43-1.org; q=dns/txt; s=2019; t=1572854644; h=from : to : cc : subject : references : date : in-reply-to : message-id : mime-version : content-type : from; bh=eqkIfN5bTYD3aSQrIGDAPU1bt/N5Mp6VwLvIZsQR2so=; b=GpQORZ7TNt8e8Dx418uKWT1mbV5PQi8QdA2OfWE23SFwZHa/ZhJo0t4j nKSbnQoUAwhZVzAvfHbbbXULlxdxHReyYgOMWzFYetuGjtUHoGrptpFgX2 aWNQWoHlNQCku2zrDMP4JH9MIcxO4XrOidq8sxs2uSqExHBKR/pC+V/vqs 6dUsYqD9DCZdDCGnhEzCd+ebzae/KOUiZqGM28Jzn96I2Qp7Ku+T0L+XUG 93/+08hXQLi4YfT8OzSRokPU1lHQ1BQKx0OYE8FgUJDtvY5RQkg0fmZRGc WB0MNtKTRSYrZKPRq00CTIotKTQvQ5s5lwROrRRQ5leFL7mvvpqa+w==
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version 1.0
Content-Type text/plain
X-Mailing-List <debian-python@lists.debian.org> archive/latest/17546
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/878sow130s.fsf@43-1.org
Approved robomod@news.nic.it
Lines 22
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc debian-python@lists.debian.org
X-Original-Date Mon, 04 Nov 2019 09:04:03 +0100
X-Original-Message-ID <878sow130s.fsf@43-1.org>
X-Original-References <4b0d37a23b7e605d68d079b56c7d45a64f188a20.camel@debian.org> <6175e6d8-7bb0-fec9-58b1-ca2ac22b1b12@debian.org> <CAKTje6FALGctqpn6+M2FNE8NnRt+qLO_CFKAt8-UBVcf0p64gw@mail.gmail.com>
Xref csiph.com linux.debian.maint.python:11980

Show key headers only | View raw


Paul Wise writes:
> On Sat, Nov 2, 2019 at 6:04 PM Matthias Klose wrote:
>> I'd say, there are currently more pressing issues than that, like the Python2
>> removal, or the introduction of Python 3.8.  3.8 also offers a central directory
>> for bc files, so that's maybe another thing to look at, but not a priority now
>> from my point of view.
>
> Agreed re Python 2 etc. Eventually switching to using a central
> directory in /var would be nice, right now the .pyc files are dumped
> cruftily into /usr subdirs.

But /var is for variable state data, i.e. data that is modified during
regular system operation.  This isn't the case for *.pyc which follow
the same rules as the *.py included directly in the packages.

So these files should stay in /usr.  (I even think /var/lib/dpkg/info
should really be in /usr for similar reasons.)

See also http://0pointer.net/blog/projects/stateless.html for some other
reasons why not using /var might be an advantage.

Ansgar

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


Thread

Python module packages that don't bytecompile on installation? Paul Wise <pabs@debian.org> - 2019-11-02 04:30 +0100
  Re: Python module packages that don't bytecompile on installation? Matthias Klose <doko@debian.org> - 2019-11-02 11:10 +0100
    Re: Python module packages that don't bytecompile on installation? Paul Wise <pabs@debian.org> - 2019-11-03 02:30 +0100
      Re: Python module packages that don't bytecompile on installation? Matthias Klose <doko@debian.org> - 2019-11-03 10:30 +0100
      Re: Python module packages that don't bytecompile on installation? Ansgar <ansgar@43-1.org> - 2019-11-04 09:10 +0100

csiph-web