On 05/07/18 23:08, Hans-Peter Jansen wrote:
On Donnerstag, 5. Juli 2018 14:30:09 686f6c6d wrote:
On Thu, Jul 5, 2018 at 12:23 AM Hans-Peter Jansen
wrote: Most packages in d:l:py generate python2- and python3- packages from a single spec nowadays. This paves the way to generate pypy2 and/or pypy3 versions as well without touching the spec, all controlled with rpm macros.
Ah, thanks for the explanation! So all packages are built in d:l:py, the "default" singlespec packages go to d:l:py whether they're 2 or 3, and only the not-yet-singlespec'ed py3-only packages go to d:l:py3?
I just noticed, d:l:py3 is history already...
Even py3 only packages reside in d:l:py now, python2 exclusion is done with macros.
Yes that is correct, python2 has basically already been dropped from most places in the base system, the aim is to have openSUSE not using python2 anywhere internally.
d:l:py:misc is the place for not-yet-singlespec'ed python packages.
This is close but not quite true, d:l:py:misc is basically the grave yard for all the packages that were in d:l:py but were never submitted into tumbleweed, they are left here just in case someone else comes along and wants to do the work to get them building and acceptable to submit into tumbleweed, then they can be moved back to d:l:py, there is no point in adding d:l:py:misc to your system though because it intentionally has either building or publishing disabled. To make the packages there acceptable for tumbleweed you don't necessarily need to single spec them, python3 only versions will likely also be accepted. In limited circumstances we may also accept a python2 only version, but only if upstream never had any intention of making it work with python3 and it will disappear when python2 does.
you might want to help by converting it to single spec specification with the help of https://en.opensuse.org/openSUSE:Packaging_Python_Singlespec or just ask. Thanks, will try (with a quick search, I only found python3-argparse and python3-django-mptt from the py3 repo)…
Well, there's no python-argparse package anymore, because it's part of Python2 and Python3 stdlib. See https://pypi.org/project/argparse/
Hence, you're done already with the former ;-).
The latter is eagerly awaiting some loving touches: https://build.opensuse.org/package/show/devel:languages:python:misc/python-d...
Note, it is converted already, don't know what's missing.
@Jan Matejek: since some time, python3 assimilates certain packages in the standard lib. Since almost all of them exist as separate packages, wouldn't it be sensible to provide those properly in python3-base (e.g. python3-argparse).
Jan left SUSE several months back and his replacement is finding his feet. It might make sense to have provides / obsoletes statements in the python spec, which we do have for some things like python3-asyncio and python3-xml, but if the package was never in tumbleweed its quite likely that no one bothered. -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B