Gentoo Archives: gentoo-dev

From: Mart Raudsepp <leio@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH 1/2] python-utils-r1.eclass: Enable hardlinking of identical pyc files for py3.9+
Date: Wed, 23 Jun 2021 10:20:05
Message-Id: 192cb2a63da73b640a2eb5117ad64568670825b9.camel@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH 1/2] python-utils-r1.eclass: Enable hardlinking of identical pyc files for py3.9+ by "Michał Górny"
1 Ühel kenal päeval, K, 23.06.2021 kell 11:56, kirjutas Michał Górny:
2 > > -                       python*|pypy3)
3 > > +                       python3.[5678]|pypy3)
4 >
5 > We don't really support < 3.8 anymore but I can update that while
6 > merging, I guess.
7
8 Yeah, this is originating from the previous block having python3.[34],
9 so the changeset is making sure the 3.9 and 3.10 cases end up using the
10 added path, not about 3.5/3.6, for which the code path is kept the same
11 with this.
12
13 I don't foresee myself working on making distutils cases work with this
14 anytime soon. Maybe we should file a bug on that. It's a bit surprising
15 this wasn't done there too upstream, I guess those who made this change
16 only cared about it for python itself and they are running compileall
17 manually over all the caches.
18
19
20 Mart

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies