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

Attachment: pgpii26zby0ue.pgp
Description: PGP signature

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to