On the long run python2.6 and the corresponding disable flags will be gone and packages will support 2.7 and 3.x. I expect disable flags to be the exception.
Anyway, the work needed is to do the flagging. We are doing this for the wheels we are working on and I'm also looking at the sprint in Ljubljana to get that ready to be merge into master. Luca Bruno <[email protected]> writes: > Not necessarily. Think like platforms.gnu. There may be a > meta.pythonVersions and a default pythonVersions.default2 and > pythonVersions.default3 and pythonVersions.all or such. Then adding a new > major version to all packages is a metter of adding it to the default list. > > > On Fri, Aug 8, 2014 at 5:40 PM, Florian Friesdorf <[email protected]> wrote: > >> >> Rok Garbas <[email protected]> writes: >> > Quoting Paul Colomiets (2014-08-08 15:13:57) >> >> On Fri, Aug 8, 2014 at 3:35 PM, Eelco Dolstra >> >> <[email protected]> wrote: >> >> > >> >> > Note the huge number of Haskell and Python packages. >> >> > >> >> >> >> For Python many of them doesn't support that version of python. >> >> Wouldn't it be nice to declare supported versions inside a package, >> >> inside of moving package to various sets. I.e.: >> >> >> >> declarePythonPackage { >> >> supportedPython = [Py33 Py34]; >> >> name = ... >> >> src = .. >> >> } >> >> >> >> What do you think? >> > >> > with python rework[1] going on, this would be nice also to solve there? >> > chaoflow, iElectric any ideas from your side? >> >> The wheels-based system knows a disable flag: >> >> https://github.com/chaoflow/nixpkgs/blob/python/pkgs/development/python-wheels/wheels.nix#L44 >> >> I think black-listing python versions means less work than >> white-listing. I guess most packages break either because of not >> supporting 2.6 anymore or not supporting 3.x, yet. Once we flag that >> properly, adding a new python version is unlikely to break a package. >> >> Wit white-listing we would need to add it to every package. >> >> -- >> Florian Friesdorf <[email protected]> >> GPG FPR: 7A13 5EEE 1421 9FC2 108D BAAF 38F8 99A3 0C45 F083 >> Jabber/XMPP: [email protected] >> IRC: chaoflow on freenode,ircnet,blafasel,OFTC >> >> _______________________________________________ >> nix-dev mailing list >> [email protected] >> http://lists.science.uu.nl/mailman/listinfo/nix-dev >> >> > > > -- > www.debian.org - The Universal Operating System -- Florian Friesdorf <[email protected]> GPG FPR: 7A13 5EEE 1421 9FC2 108D BAAF 38F8 99A3 0C45 F083 Jabber/XMPP: [email protected] IRC: chaoflow on freenode,ircnet,blafasel,OFTC
pgpNw2dZVOQWF.pgp
Description: PGP signature
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
