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/BCFCAAAA http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br