<div dir="ltr">I'll also be at EP and can help to explain how Nix could solve the isolation problem.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 27, 2013 at 5:46 PM, holger krekel <span dir="ltr"><<a href="mailto:holger@merlinux.eu" target="_blank">holger@merlinux.eu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Florian,<br>
<div><div class="h5"><br>
On Mon, May 27, 2013 at 10:36 +0200, Florian Friesdorf wrote:<br>
> Hi Holger,<br>
><br>
> holger krekel <<a href="mailto:holger@merlinux.eu">holger@merlinux.eu</a>> writes:<br>
> > On Mon, May 27, 2013 at 17:41 +1000, Nick Coghlan wrote:<br>
> >> On Mon, May 27, 2013 at 5:27 PM, holger krekel <<a href="mailto:holger@merlinux.eu">holger@merlinux.eu</a>> wrote:<br>
> >> > Not having download counts maybe lets us think harder about<br>
> >> > better metrics.  The number of projects using a package as a dep<br>
> >> > might be one.<br>
> >><br>
> >> With the current downside being that it's hard for PyPI to figure out<br>
> >> that number, too :)<br>
> ><br>
> > Yip.  But something like Vinaj's red-dove approach or Marius' get_deps.py<br>
> > could provide a base.  We might think about a docker instance which<br>
> > could allow to quickly spawn new light VMs so we can isolate setup.py runs.<br>
> > (Yes, it's only Linux but it'd be a start).<br>
><br>
> nix and nixpkgs allow this isolation on-top off linux, freebsd, OS X and<br>
> theoretically also cygwin (not sure how good cygwin is supported at the<br>
> moment).<br>
><br>
> <a href="http://nixos.org/nix/" target="_blank">http://nixos.org/nix/</a><br>
> <a href="http://nixos.org/nixpkgs/" target="_blank">http://nixos.org/nixpkgs/</a><br>
><br>
> From <a href="http://nixos.org" target="_blank">nixos.org</a>:<br>
> Nix is a purely functional package manager. This means that it can<br>
> ensure that an upgrade to one package cannot break others, that you can<br>
> always roll back to previous version, that multiple versions of a<br>
> package can coexist on the same system, and much more.<br>
><br>
> Nixpkgs is a large collection of packages that can be installed with the<br>
> Nix package manager.<br>
<br>
</div></div>Interesting stuff, didn't know about it.<br>
<br>
Did you post this as a suggestion for provisioning an environment to<br>
run setup.py (on nix-supported platforms)?  If so, i am not sure how it<br>
would help exactly.  I guess myself i'd aim for a 80% solution for discovering<br>
dependencies first.  Simplest/quickest wins there :)<br>
<div class="im"><br>
> >> Agreed it would be a good number to publish once it's more readily<br>
> >> available, too.<br>
> ><br>
> > I think "dep" numbers are mostly interesting for libraries, not so<br>
> > much for applications like django or pyramid or tools like nose/pytest.<br>
> ><br>
> > Another more practical data point would be "does this package even<br>
> > install on win32/linux/osx py26/py27/py33" and even better, do its automated<br>
> > tests pass?<br>
><br>
> <a href="http://hydra.nixos.org/build/5062796" target="_blank">http://hydra.nixos.org/build/5062796</a><br>
><br>
> > If we could evolve to have this info published on <a href="http://pypi.python.org" target="_blank">pypi.python.org</a><br>
> > it would be quite useful i think.  I am actually currently implementing<br>
> > a system which enables this (the "devpi" system) so i don't mean this all just<br>
> > as "nice to have" theory.  I aim to present the status of this work<br>
> > at EuroPython.<br>
><br>
> Nice! Looking forward to that.<br>
><br>
> If you have any questions about nix/nixpkgs/nixos, especially about the<br>
> way python packages are packaged, please let me know. Also, it's not set<br>
> in stone.<br>
<br>
</div>are you going to be at EP?  It's a long conference and i am more than<br>
happy to sit together on this topic for a bit sometimes.<br>
<br>
best,<br>
holger<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
> Personally, I'd love to see <a href="http://hydra.python.org" target="_blank">hydra.python.org</a> providing builds of all<br>
> pypi packages and would be happy to help. Also including Domen and Rok<br>
> for whome I assume the same.<br>
<br>
<br>
><br>
> You might have other tools that are better suited for you.<br>
><br>
> regards<br>
> florian<br>
> --<br>
> Florian Friesdorf <<a href="mailto:flo@chaoflow.net">flo@chaoflow.net</a>><br>
>   GPG FPR: 7A13 5EEE 1421 9FC2 108D  BAAF 38F8 99A3 0C45 F083<br>
> Jabber/XMPP: <a href="mailto:flo@chaoflow.net">flo@chaoflow.net</a><br>
> IRC: chaoflow on freenode,ircnet,blafasel,OFTC<br>
<br>
<br>
</div></div></blockquote></div><br></div>