Re: Python 2 in the default installation -- progress made!

2016-12-30 Thread Julian Andres Klode
On Fri, Dec 30, 2016 at 06:52:37AM +0100, Matthias Klose wrote:
> I don't know the rationale for having the apt and gpg bindings as Priority
> standard, but if these can be made optional, then the depending packages can 
> be
> made optional as well.

python-apt is standard because it was used by apt-listchanges which is
standard, and nobody followed the transition to Python 3 in apt-listchanges
by switching the priorities in python-apt (2 should become optional, 3 
standard).

-- 
Debian Developer - deb.li/jak | jak-linux.org - free software dev
  |  Ubuntu Core Developer |
When replying, only quote what is necessary, and write each reply
directly below the part(s) it pertains to ('inline').  Thank you.



Re: Python 2 in the default installation -- progress made!

2016-12-30 Thread Stuart Prescott
On Fri, 30 Dec 2016 10:14:20 Julian Andres Klode wrote:
> On Fri, Dec 30, 2016 at 06:52:37AM +0100, Matthias Klose wrote:
> > I don't know the rationale for having the apt and gpg bindings as Priority
> > standard, but if these can be made optional, then the depending packages
> > can be made optional as well.
> 
> python-apt is standard because it was used by apt-listchanges which is
> standard, and nobody followed the transition to Python 3 in apt-listchanges
> by switching the priorities in python-apt (2 should become optional, 3
> standard).

While python-apt being Priority:standard is indeed a relic of the old apt-
listchanges dependency (I forgot to mention that relationship in my earlier 
mail, sorry), it is no longer useful or required for python3-apt to have its 
priority increased to match the new apt-listchanges. In the discussion in 
#758234, there is a consensus that it makes no sense to raise the priority of 
dependency packages since all the tools involved can already resolve the 
dependencies without requiring the priorities to be appropriately set.¹

Julian, as a python-apt maintainer, would you like to raise the appropriate 
bug against ftp.debian.org or are you happy for me to do this?

override: python-apt:python/optional

cheers
Stuart


①  What remains to have priority inversion permitted (encouraged!) by Policy 
is a suitable patch; since Policy documents standard practice and it is 
already standard practice to permit priority inversion for dependencies, 
there's no reason to raise the priority of python3-apt.

-- 
Stuart Prescotthttp://www.nanonanonano.net/   stu...@nanonanonano.net
Debian Developer   http://www.debian.org/ stu...@debian.org
GPG fingerprint90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7



Re: Python 2 in the default installation -- progress made!

2016-12-30 Thread Stuart Prescott

Dear -boot & -cd,

In re-reading #758234, I noticed a request that -boot and -cd be kept up to 
speed with priority changes that might have an impact on the installer.

In the thread starting at

https://lists.debian.org/debian-python/2016/12/msg00070.html

we have been looking at whether Python 2 can finally be kicked out of the 
Standard task with only Python 3 being installed rather than both being 
installed as is currently the case.

The remaining binary (source) packages that need their priorities changed are:

* python (python-defaults)
* python2.7 (python2.7)
* python-apt (python-apt)
* python-gpg (gpgme1.0)

The relevant maintainers seem to be happy with these changes. (Upcoming 
python-defaults and python2.7 uploads will change the source packages; python-
apt and python-gpg already have 'optional' within the source package). Bugs 
asking the ftp team to change the overrides are ready to be filed.

Additionally, changed dependencies are needed in:

* logrotate (Recommends: mailx → bsd-mailx | mailx), #849743

Your comments on (and hopefully assent to) these changes would be welcome.

cheers
Stuart

(Please CC me in replies)


-- 
Stuart Prescotthttp://www.nanonanonano.net/   stu...@nanonanonano.net
Debian Developer   http://www.debian.org/ stu...@debian.org
GPG fingerprint90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7