Bug#723990: youtube-dl: python3+ requirement
On Wed, 02 Mar 2016 16:32:34 +1100 Carlos Maddelawrote: > Package: youtube-dl > Followup-For: Bug #723990 > > Hello Rogério, > > I have worked on a solution to this, which unfortunately splits the > package up into youtube-dl, python3-youtube-dl and python-youtube-dl. > You mentioned that you'd rather not split the package up, but I think > it's the right way to go. > > It's available for you to check at > https://github.com/e7appew/youtube-dl/tree/debian/nmu-1. > > Let me know what you think. > > Cheers, > > Carlos > > -- System Information: > Debian Release: stretch/sid > APT prefers unstable > APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental') > Architecture: amd64 (x86_64) > Foreign Architectures: i386 > > Kernel: Linux 4.3.0-1-amd64 (SMP w/2 CPU cores) > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > Init: systemd (via /run/systemd/system) > > Versions of packages youtube-dl depends on: > ii python3-pkg-resources 20.1.1-1 > ii python3-youtube-dl 2016.02.22-1.1 > pn python3:any > > youtube-dl recommends no packages. > > youtube-dl suggests no packages. > > -- no debconf information > > Any updates on this as software I maintain (mps-youtube) uses python3 version of mps-youtube for external backend (which currently doesn't use so it falls back to internal backend which is a bit buggy atm).
Bug#723990: youtube-dl: python3+ requirement
Package: youtube-dl Followup-For: Bug #723990 Hello Rogério, I have worked on a solution to this, which unfortunately splits the package up into youtube-dl, python3-youtube-dl and python-youtube-dl. You mentioned that you'd rather not split the package up, but I think it's the right way to go. It's available for you to check at https://github.com/e7appew/youtube-dl/tree/debian/nmu-1. Let me know what you think. Cheers, Carlos -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.3.0-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages youtube-dl depends on: ii python3-pkg-resources 20.1.1-1 ii python3-youtube-dl 2016.02.22-1.1 pn python3:any youtube-dl recommends no packages. youtube-dl suggests no packages. -- no debconf information
Bug#723990: youtube-dl: python3+ requirement
> The problem is that I don't know how to make it work with both Python 2 or > Python 3, while still satisfying the following two points: > > * Without creating extra binary packages (and having to go through the NEW > queue of the ftp-masters). > > * Without making any use of any hackish, non-readable tricks. Note that the > package currently has modules that should be usable for any version of > Python that we propose to support. > > I would love some help with this. There is an easy solution: to make it only a python 3 package, since the Debian Python Policy[1] says[2]: "Packages in Debian should use Python 3 if Python 3 is supported." And also in the same page: "Programs should use Python 3, and should not be packaged for Python 2 as well." I think that youtube-dl supports python 3.2+ (or at least that says the homepage). If it works with python 3, it's the perfect excuse to make the transition now rather than wait until year 2020, and you don't need to worry about maintaining duplicated packages or anything hackish. [1]: https://www.debian.org/doc/packaging-manuals/python-policy/ [2]: https://www.debian.org/doc/packaging-manuals/python-policy/ch-python3.html -- Saludos de Javiersignature.asc Description: PGP signature
Bug#723990: youtube-dl: python3+ requirement
Hi, Javier. On Nov 13 2015, Javier Cantero wrote: > > The problem is that I don't know how to make it work with both Python 2 or > > Python 3, while still satisfying the following two points: > > > > * Without creating extra binary packages (and having to go through the NEW > > queue of the ftp-masters). > > > > * Without making any use of any hackish, non-readable tricks. Note that the > > package currently has modules that should be usable for any version of > > Python that we propose to support. > > > > I would love some help with this. > > There is an easy solution: to make it only a python 3 package, since the > Debian Python Policy[1] says[2]: "Packages in Debian should use Python 3 > if Python 3 is supported." And also in the same page: "Programs should > use Python 3, and should not be packaged for Python 2 as well." > > I think that youtube-dl supports python 3.2+ (or at least that says the > homepage). If it works with python 3, it's the perfect excuse to make > the transition now rather than wait until year 2020, and you don't need > to worry about maintaining duplicated packages or anything hackish. I like your proposal, but I would still like to support Python 2 programs, if possible---I have one program that helps with downloads from edX.org and sites based on its code that still support Python 2 or Python 3. Anyway, I think that changing the dependency to Python 3 is probably the way to go. Oh, thanks for the links to the Python Policy. I will have to study it a bit closer to bring the package more up-to-date with the best-practices. Thanks, -- Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br
Bug#723990: youtube-dl: python3+ requirement
Hi, Alexandre. On Sep 22 2013, Alexandre Bruyelles wrote: Is there a reason to do NOT allow python3 as a require ? Yes, my ignorance. :) If not, is it possible to update the package requirement list ? The problem is that I don't know how to make it work with both Python 2 or Python 3, while still satisfying the following two points: * Without creating extra binary packages (and having to go through the NEW queue of the ftp-masters). * Without making any use of any hackish, non-readable tricks. Note that the package currently has modules that should be usable for any version of Python that we propose to support. I would love some help with this. Thanks, -- Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#723990: youtube-dl: python3+ requirement
Package: youtube-dl Version: 2013.08.29-1 Severity: minor Dear Maintainer, youtube-dl requires python 2.7 As far as I've tested, and as it is written in the official youtube-dl website, youtube-dl seems to work well with python3.3 Is there a reason to do NOT allow python3 as a require ? If not, is it possible to update the package requirement list ? Thanks! -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (500, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.11-trunk-amd64 (SMP w/8 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages youtube-dl depends on: ii python 2.7.5-5 Versions of packages youtube-dl recommends: pn libav-tools | ffmpeg | ffprobe none pn mplayer2 | mplayer none pn rtmpdumpnone youtube-dl suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org