[Nix-dev] Zero Hydra Failures (ZHF) project

Florian Friesdorf flo at chaoflow.net
Fri Aug 8 17:40:01 CEST 2014


Rok Garbas <rok at garbas.si> writes:
> Quoting Paul Colomiets (2014-08-08 15:13:57)
>> On Fri, Aug 8, 2014 at 3:35 PM, Eelco Dolstra
>> <eelco.dolstra at logicblox.com> 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 <flo at chaoflow.net>
  GPG FPR: 7A13 5EEE 1421 9FC2 108D  BAAF 38F8 99A3 0C45 F083
Jabber/XMPP: flo at chaoflow.net
IRC: chaoflow on freenode,ircnet,blafasel,OFTC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20140808/8b95bf93/attachment.bin 


More information about the nix-dev mailing list