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

pyrax: 1.8.2 -> 1.9.8 #23649

Merged
merged 3 commits into from Mar 9, 2017
Merged

pyrax: 1.8.2 -> 1.9.8 #23649

merged 3 commits into from Mar 9, 2017

Conversation

teh
Copy link
Contributor

@teh teh commented Mar 8, 2017

Motivation for this change

I want to write a nixops adapter for rackspace because they sponsor haskell infrastructure which currently runs on nixos.

This package is a bit weird because AFAICT the dependencies don't make any sense outside of pyrax but happy to make top-level as if necessary.

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 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.

@mention-bot
Copy link

@teh, thanks for your PR! By analyzing the history of the files in this pull request, we identified @FRidh to be a potential reviewer.

@Mic92 Mic92 changed the title Pyrax pyrax: 1.8.2 -> 1.9.8 Mar 9, 2017
@@ -21557,18 +21557,23 @@ in {
rackspace-novaclient = callPackage ../development/python-modules/rackspace-novaclient.nix { };

pyrax = buildPythonPackage rec {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could also move this package to an external file?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

# no good reason given in commit why limited, and seems to work
patchPhase = ''
substituteInPlace "setup.py" \
--replace "==2.27.0" ""
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be also interesting what is before == for later updates.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

teh added 2 commits March 9, 2017 09:22
Note that I package a number of dependencies that make no sense
outside of rackspace-novaclient. I don't want to pollute the main
namespace with those packages.
@Mic92 Mic92 merged commit 9ce5fb0 into NixOS:master Mar 9, 2017
@Mic92
Copy link
Member

Mic92 commented Mar 9, 2017

I also made the unit tests working.

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

3 participants