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.sortedcontainers: 1.5.7 -> 2.0.4 #44653

Merged
merged 1 commit into from Aug 8, 2018

Conversation

costrouc
Copy link
Member

@costrouc costrouc commented Aug 8, 2018

Motivation for this change

Moving sortedcontianers from top-level -> python-modules and updating
to newest sortedcontianers release.

Things done

pythonPackages.sortedcontainers: 1.5.7 -> 2.0.4

  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • 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/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

@costrouc
Copy link
Member Author

costrouc commented Aug 8, 2018

I will need to add myself as a maintainer before merging

@costrouc
Copy link
Member Author

costrouc commented Aug 8, 2018

Requires myself to be added to maintainers (pull request #44655) list before this pull request

@xeji
Copy link
Contributor

xeji commented Aug 8, 2018

@GrahamcOfBorg eval


meta = {
description = "Python Sorted Container Types: SortedList, SortedDict, and SortedSet";
homepage = "http://www.grantjenks.com/docs/sortedcontainers/";
Copy link
Member

Choose a reason for hiding this comment

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

no quotes


# tries to run tests for all python versions and uses virtualenv weirdly
doCheck = false;
#buildInputs = with self; [ tox nose ];
Copy link
Member

Choose a reason for hiding this comment

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

That's not true.

checkPhase = ''
  py.test
''

should suffice.

Copy link
Member Author

Choose a reason for hiding this comment

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

Those lines were left over from the original. The Pypi tarball does not come with tests. So I have now set doCheck = false; with appropriate comment.

Moving sortedcontianers from top-level -> python-modules and updating
to newest sortedcontianers release.
@dotlambda
Copy link
Member

@GrahamcOfBorg build python2.pkgs.sortedcontainers python3.pkgs.sortedcontainers

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: python2.pkgs.sortedcontainers, python3.pkgs.sortedcontainers

Partial log (click to expand)

Successfully installed sortedcontainers-2.0.4
/build/sortedcontainers-2.0.4
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/7yirq1i7s5hcag7zdrpbdkqkmzyp08pp-python3.6-sortedcontainers-2.0.4
strip is /nix/store/1hi76hr87bd1y1q1qjk0lv8nmcjip1c8-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/7yirq1i7s5hcag7zdrpbdkqkmzyp08pp-python3.6-sortedcontainers-2.0.4/lib
patching script interpreter paths in /nix/store/7yirq1i7s5hcag7zdrpbdkqkmzyp08pp-python3.6-sortedcontainers-2.0.4
checking for references to /build in /nix/store/7yirq1i7s5hcag7zdrpbdkqkmzyp08pp-python3.6-sortedcontainers-2.0.4...
/nix/store/vra94qkn6mxi3vi9p07f8b85g8z6ida5-python2.7-sortedcontainers-2.0.4
/nix/store/7yirq1i7s5hcag7zdrpbdkqkmzyp08pp-python3.6-sortedcontainers-2.0.4

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: python2.pkgs.sortedcontainers, python3.pkgs.sortedcontainers

Partial log (click to expand)

Successfully installed sortedcontainers-2.0.4
/build/sortedcontainers-2.0.4
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/lk6fqf1pjb8fgmydpqcnz8zxwkw2xbi9-python3.6-sortedcontainers-2.0.4
strip is /nix/store/zrs21zqcchgyabjf4xfimncdq16njizc-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/lk6fqf1pjb8fgmydpqcnz8zxwkw2xbi9-python3.6-sortedcontainers-2.0.4/lib
patching script interpreter paths in /nix/store/lk6fqf1pjb8fgmydpqcnz8zxwkw2xbi9-python3.6-sortedcontainers-2.0.4
checking for references to /build in /nix/store/lk6fqf1pjb8fgmydpqcnz8zxwkw2xbi9-python3.6-sortedcontainers-2.0.4...
/nix/store/bl1gm6fw0ix0agc5xq3j965jbxyla4vv-python2.7-sortedcontainers-2.0.4
/nix/store/lk6fqf1pjb8fgmydpqcnz8zxwkw2xbi9-python3.6-sortedcontainers-2.0.4

@costrouc
Copy link
Member Author

costrouc commented Aug 8, 2018

@GrahamcOfBorg build python2.pkgs.sortedcontainers python3.pkgs.sortedcontainers

@costrouc
Copy link
Member Author

costrouc commented Aug 8, 2018

Requested changes have been made and commit and messages have been corrected.

@dotlambda dotlambda merged commit 8de0223 into NixOS:master Aug 8, 2018
@costrouc costrouc deleted the costrouc/sortedcontainers branch August 8, 2018 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants