Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pythonPackages.zc_buildout_nix: 2.5.3 -> 2.9.4 #28367

Merged
merged 1 commit into from Aug 18, 2017

Conversation

datakurre
Copy link
Contributor

Motivation for this change

@cillianderoiste In addition to updating, this overrides possibly pinned versions from those available in the current environment.

If you remember, buildout-nix differs from the original buildout in that it prefers "system packages" over buildout packages: this allows to use hard-to-build python packages from nixpkgs with buildout and also running buildout with only nix-dependencies. My only issue has been the need of manually unpinning the conflicting versions.

With these changes, I can simply

$ nix-shell -p pythonPackages.ldap pythonPackages.lxml pythonPackages.pillow pythonPackages.pyyaml pythonPackages.python_magic pythonPackages.zc_buildout_nix --run buildout-nix

to get a complex Plone buildout run without needing to think about the pinned versions (in this case still installing most of the packages directly from PyPI using buildout).

Nix-pinned packages can be seen using buildout annote

$ buildout-nix annotate|grep -i pillow
Pillow= 3.4.2
     /nix/store/g4p8gi7ygwkcyfj0iqvm4kzq12dvi8af-python2.7-Pillow-3.4.2/lib/python2.7/site-packages
Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@cillianderoiste cillianderoiste merged commit 9382727 into NixOS:master Aug 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants