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.shapely: fix darwin build #36837

Merged
merged 1 commit into from
Mar 12, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions pkgs/development/python-modules/shapely/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,9 @@ buildPythonPackage rec {
sed -i "s|free = load_dll('c').free|free = load_dll('c', fallbacks=['${stdenv.cc.libc}/lib/${libc}']).free|" shapely/geos.py
'';

# tests/test_voctorized fails because the vectorized extension is not
# available in when running tests
# Disable the tests that improperly try to use the built extensions
checkPhase = ''
py.test --ignore tests/test_vectorized.py
py.test -k 'not test_vectorized and not test_fallbacks' tests
'';

meta = with stdenv.lib; {
Expand Down