[packages/waf] - updated python(abi) dependency, compile python library

Elan Ruusamäe glen at pld-linux.org
Mon Nov 30 01:06:22 CET 2020


On 11/28/20 8:38 PM, Jakub Bogusz wrote:
> On Sat, Nov 28, 2020 at 08:24:55PM +0200, Elan Ruusamäe wrote:
>> On 11/27/20 10:17 PM, qboosh wrote:
>>> -Requires:	python(abi) = %{py_ver}
>>>
>>> +Requires:	python(abi) = %{py3_ver}
>>
>> shouldn't this be namespace to python3 name?
>>
>>
>> Requires:	python3(abi) = %{py3_ver}
> No, to be consistent with current python3 package:
>
> $ rpm -qP python3-libs | grep abi
> python(abi) = 3.8
>
> Multiple versions can be installed, so it's not necessary to use another
> namespace. At least for rpm5, not verified with rpm.org yet.
>
all python3 eggs are namespaced under python3. and it makes sense, as 
package may require python2 and python3 at the same time.

i don't think "abi" should be any more special than the python eggs

$ rpm -qp --provides python3-git-2.1.11-3.noarch.rpm
python3egg(gitpython) = 2.1.11
python3-git = 2.1.11-3

$ rpm -qp --provides python-git-2.1.11-3.noarch.rpm
pythonegg(gitpython) = 2.1.11
python-git = 2.1.11-3

I'm sure reusing same namespace for different purpose will cause 
problems on upgrading.

perhaps upgrading python3 could obsolete python2 as python(abi) got upgraded






More information about the pld-devel-en mailing list