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

pipenv: 2018.5.18 -> 2018.7.1 #43823

Closed
wants to merge 1 commit into from

Conversation

domenkozar
Copy link
Member

Things done

Checked that pipenv works.

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

};

propagatedBuildInputs = [ six attrs arpeggio ];
buildInputs = [ pytest hypothesis pretend ];
Copy link
Member

Choose a reason for hiding this comment

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

checkInputs for test dependencies

@domenkozar
Copy link
Member Author

@FRidh should this go to staging?

pname = "hypothesis";

# Upstream prefers github tarballs
src = fetchFromGitHub {
Copy link
Member

Choose a reason for hiding this comment

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

this should remain fetchFromGitHub because upstream doesn't include tests in their tarball

Copy link
Member Author

Choose a reason for hiding this comment

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

They have completely reworked their testing infrastructure (there' no more setup.py even) so I haven't bothered reverse engineering it.

};

checkInputs = [ pytest pytest_xdist flaky mock ];
propagatedBuildInputs = [ attrs coverage ] ++ lib.optional (!isPy3k) [ enum34 ];

inherit doCheck;

# https://github.com/DRMacIver/hypothesis/issues/300
checkPhase = ''
Copy link
Member

Choose a reason for hiding this comment

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

This likely should be kept as well, unless they've changed their tox.ini to reduce the test scope.

@FRidh
Copy link
Member

FRidh commented Jul 19, 2018

Yep, staging as well.

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: pipenv

Partial log (click to expand)

  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed pipenv-2018.7.1
/private/tmp/nix-build-pipenv-2018.7.1.drv-0/pipenv-2018.7.1
post-installation fixup
strip is /nix/store/8axizw5mf6dx7wip65nbkyrmlkhmjhc5-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/ma4cays8x8p98g47f2yrp49fdkq5nrjk-pipenv-2018.7.1/lib  /nix/store/ma4cays8x8p98g47f2yrp49fdkq5nrjk-pipenv-2018.7.1/bin
patching script interpreter paths in /nix/store/ma4cays8x8p98g47f2yrp49fdkq5nrjk-pipenv-2018.7.1
wrapping `/nix/store/ma4cays8x8p98g47f2yrp49fdkq5nrjk-pipenv-2018.7.1/bin/pewtwo'...
wrapping `/nix/store/ma4cays8x8p98g47f2yrp49fdkq5nrjk-pipenv-2018.7.1/bin/pipenv'...
wrapping `/nix/store/ma4cays8x8p98g47f2yrp49fdkq5nrjk-pipenv-2018.7.1/bin/pipenv-resolver'...

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: pipenv

Partial log (click to expand)

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/difzsdra754kgccpwwnhyad2jdsqdy41-pipenv-2018.7.1
strip is /nix/store/90vmpr41dzsx350k5argycaf693hnl1l-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/difzsdra754kgccpwwnhyad2jdsqdy41-pipenv-2018.7.1/lib  /nix/store/difzsdra754kgccpwwnhyad2jdsqdy41-pipenv-2018.7.1/bin
patching script interpreter paths in /nix/store/difzsdra754kgccpwwnhyad2jdsqdy41-pipenv-2018.7.1
checking for references to /build in /nix/store/difzsdra754kgccpwwnhyad2jdsqdy41-pipenv-2018.7.1...
wrapping `/nix/store/difzsdra754kgccpwwnhyad2jdsqdy41-pipenv-2018.7.1/bin/pewtwo'...
wrapping `/nix/store/difzsdra754kgccpwwnhyad2jdsqdy41-pipenv-2018.7.1/bin/pipenv-resolver'...
wrapping `/nix/store/difzsdra754kgccpwwnhyad2jdsqdy41-pipenv-2018.7.1/bin/pipenv'...
/nix/store/difzsdra754kgccpwwnhyad2jdsqdy41-pipenv-2018.7.1

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: pipenv

Partial log (click to expand)

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/kz0230gdxk3hn425f0zygcnnk3srpc0z-pipenv-2018.7.1
strip is /nix/store/7iyn7gn33i7xxjgmwf25k20246y6nd9d-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/kz0230gdxk3hn425f0zygcnnk3srpc0z-pipenv-2018.7.1/lib  /nix/store/kz0230gdxk3hn425f0zygcnnk3srpc0z-pipenv-2018.7.1/bin
patching script interpreter paths in /nix/store/kz0230gdxk3hn425f0zygcnnk3srpc0z-pipenv-2018.7.1
checking for references to /build in /nix/store/kz0230gdxk3hn425f0zygcnnk3srpc0z-pipenv-2018.7.1...
wrapping `/nix/store/kz0230gdxk3hn425f0zygcnnk3srpc0z-pipenv-2018.7.1/bin/pipenv-resolver'...
wrapping `/nix/store/kz0230gdxk3hn425f0zygcnnk3srpc0z-pipenv-2018.7.1/bin/pipenv'...
wrapping `/nix/store/kz0230gdxk3hn425f0zygcnnk3srpc0z-pipenv-2018.7.1/bin/pewtwo'...
/nix/store/kz0230gdxk3hn425f0zygcnnk3srpc0z-pipenv-2018.7.1

@FRidh
Copy link
Member

FRidh commented Jul 19, 2018

Seems they redid their repo layout. It is now in a subfolder, so you could use sourceRoot.
https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python

@domenkozar domenkozar changed the base branch from master to staging-next July 21, 2018 12:18
@domenkozar
Copy link
Member Author

@FRidh switched to staging-next and fixed hypothesis to use sourceRoot subfolder.

@FRidh
Copy link
Member

FRidh commented Jul 21, 2018

@domenkozar this goes via staging, not staging-next. Note that likely by the end of the stay the merging of branches will happen.

@domenkozar domenkozar changed the base branch from staging-next to staging July 21, 2018 12:21
(cherry picked from commit 01ddbffce6b371741c471db6e5dc71cb6addc4a8)
Signed-off-by: Domen Kožar <domen@dev.si>
@domenkozar
Copy link
Member Author

@FRidh done

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: pipenv

Partial log (click to expand)

cannot build derivation '/nix/store/s7s9zb94x2xdch5x3ljxkv1f6dxzm4ba-python3.6-pytest-xdist-1.22.2.drv': 10 dependencies couldn't be built
cannot build derivation '/nix/store/8n8aiwsa9b1za53hl5xfcq4711vwg9a1-python3.6-hypothesis-3.66.2.drv': 13 dependencies couldn't be built
cannot build derivation '/nix/store/psh9fdfps28w2br49xvfnm2syhgj7362-python3.6-chardet-3.0.4.drv': 9 dependencies couldn't be built
cannot build derivation '/nix/store/sbrmay97kpal02sp211ifb91yrc59fwn-python3.6-cryptography-2.2.2.drv': 19 dependencies couldn't be built
cannot build derivation '/nix/store/kcac342sngffm4csxpi62ldizya75903-python3.6-parver-0.1.1.drv': 12 dependencies couldn't be built
cannot build derivation '/nix/store/3q2kl5x6i4nj96vjll1xcwcl0pysvndq-python3.6-pyOpenSSL-18.0.0.drv': 10 dependencies couldn't be built
cannot build derivation '/nix/store/xcqc7k7czivssn3bnrqj3y3h9qsab23b-python3.6-urllib3-1.23.drv': 11 dependencies couldn't be built
cannot build derivation '/nix/store/qfm5mjbwsl0zgyi4icrdxyy1sxs4lzrs-python3.6-requests-2.19.1.drv': 11 dependencies couldn't be built
cannot build derivation '/nix/store/2fra56yfcnzvf9rj3d7drrpm8wl4h3nw-pipenv-2018.7.1.drv': 12 dependencies couldn't be built
�[31;1merror:�[0m build of '/nix/store/2fra56yfcnzvf9rj3d7drrpm8wl4h3nw-pipenv-2018.7.1.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: pipenv

Partial log (click to expand)

/build/pipenv-2018.7.1
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/syh9w99f8f3dylq22i0b5g1pi03ks8kd-pipenv-2018.7.1
strip is /nix/store/fzsyclvxz1p2ia83caniy93v8cwarg0j-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/syh9w99f8f3dylq22i0b5g1pi03ks8kd-pipenv-2018.7.1/lib  /nix/store/syh9w99f8f3dylq22i0b5g1pi03ks8kd-pipenv-2018.7.1/bin
patching script interpreter paths in /nix/store/syh9w99f8f3dylq22i0b5g1pi03ks8kd-pipenv-2018.7.1
checking for references to /build in /nix/store/syh9w99f8f3dylq22i0b5g1pi03ks8kd-pipenv-2018.7.1...
wrapping `/nix/store/syh9w99f8f3dylq22i0b5g1pi03ks8kd-pipenv-2018.7.1/bin/pewtwo'...
wrapping `/nix/store/syh9w99f8f3dylq22i0b5g1pi03ks8kd-pipenv-2018.7.1/bin/pipenv-resolver'...
wrapping `/nix/store/syh9w99f8f3dylq22i0b5g1pi03ks8kd-pipenv-2018.7.1/bin/pipenv'...

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: pipenv

Partial log (click to expand)

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/zrfqif8p6agqqhykan7faf19x29kljx2-pipenv-2018.7.1
strip is /nix/store/h0nc84ybvb8g724fwysvcghh1675wjli-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/zrfqif8p6agqqhykan7faf19x29kljx2-pipenv-2018.7.1/lib  /nix/store/zrfqif8p6agqqhykan7faf19x29kljx2-pipenv-2018.7.1/bin
patching script interpreter paths in /nix/store/zrfqif8p6agqqhykan7faf19x29kljx2-pipenv-2018.7.1
checking for references to /build in /nix/store/zrfqif8p6agqqhykan7faf19x29kljx2-pipenv-2018.7.1...
wrapping `/nix/store/zrfqif8p6agqqhykan7faf19x29kljx2-pipenv-2018.7.1/bin/pipenv-resolver'...
wrapping `/nix/store/zrfqif8p6agqqhykan7faf19x29kljx2-pipenv-2018.7.1/bin/pipenv'...
wrapping `/nix/store/zrfqif8p6agqqhykan7faf19x29kljx2-pipenv-2018.7.1/bin/pewtwo'...
/nix/store/zrfqif8p6agqqhykan7faf19x29kljx2-pipenv-2018.7.1

@FRidh
Copy link
Member

FRidh commented Jul 22, 2018

Included in #43972

@FRidh FRidh closed this Jul 22, 2018
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

3 participants