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

Can't install #273

Closed
Bulletninja opened this issue Nov 2, 2018 · 15 comments
Closed

Can't install #273

Bulletninja opened this issue Nov 2, 2018 · 15 comments

Comments

@Bulletninja
Copy link

i get this when i try to pip install:

Collecting libsass
  Using cached https://files.pythonhosted.org/packages/76/04/ecad53596a118fd77c9d8d00fcb81e4ea0ae0829d2bf87216c80948ed88e/libsass-0.15.1.tar.gz
Requirement already satisfied: six in /Users/luis/anaconda3/lib/python3.6/site-packages (from libsass) (1.11.0)
Building wheels for collected packages: libsass
  Running setup.py bdist_wheel for libsass ... error
  Complete output from command /Users/luis/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/4q/ckq292wn3g9g_z25831wj5_h0000gn/T/pip-install-b2h0ethe/libsass/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /private/var/folders/4q/ckq292wn3g9g_z25831wj5_h0000gn/T/pip-wheel-itgpsktw --python-tag cp36:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-10.7-x86_64-3.6
  copying pysassc.py -> build/lib.macosx-10.7-x86_64-3.6
  copying sass.py -> build/lib.macosx-10.7-x86_64-3.6
  copying sassc.py -> build/lib.macosx-10.7-x86_64-3.6
  copying sasstests.py -> build/lib.macosx-10.7-x86_64-3.6
  creating build/lib.macosx-10.7-x86_64-3.6/sassutils
  copying sassutils/__init__.py -> build/lib.macosx-10.7-x86_64-3.6/sassutils
  copying sassutils/builder.py -> build/lib.macosx-10.7-x86_64-3.6/sassutils
  copying sassutils/_compat.py -> build/lib.macosx-10.7-x86_64-3.6/sassutils
  copying sassutils/distutils.py -> build/lib.macosx-10.7-x86_64-3.6/sassutils
  copying sassutils/wsgi.py -> build/lib.macosx-10.7-x86_64-3.6/sassutils
  running build_ext
  building '_sass' extension
  creating build/temp.macosx-10.7-x86_64-3.6
  creating build/temp.macosx-10.7-x86_64-3.6/libsass
  creating build/temp.macosx-10.7-x86_64-3.6/libsass/src
  creating build/temp.macosx-10.7-x86_64-3.6/libsass/src/memory
  clang++ -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/luis/anaconda3/include -arch x86_64 -I/Users/luis/anaconda3/include -arch x86_64 -I./libsass/include -I/Users/luis/anaconda3/include/python3.6m -c libsass/src/ast.cpp -o build/temp.macosx-10.7-x86_64-3.6/libsass/src/ast.o -c -O3 -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -stdlib=libc++ -mmacosx-version-min=10.7 -Wno-error=unused-command-line-argument-hard-error-in-future -DLIBSASS_VERSION="3.5.4"
  warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
  In file included from libsass/src/ast.cpp:1:
  In file included from libsass/src/sass.hpp:49:
  In file included from /Users/luis/anaconda3/bin/../include/c++/v1/string:470:
  In file included from /Users/luis/anaconda3/bin/../include/c++/v1/string_view:171:
  In file included from /Users/luis/anaconda3/bin/../include/c++/v1/__string:56:
  In file included from /Users/luis/anaconda3/bin/../include/c++/v1/algorithm:638:
  In file included from /Users/luis/anaconda3/bin/../include/c++/v1/cstring:61:
  /Users/luis/anaconda3/bin/../include/c++/v1/string.h:61:15: fatal error: 'string.h' file not found
  #include_next <string.h>
                ^~~~~~~~~~
  1 warning and 1 error generated.
  error: command 'clang++' failed with exit status 1

  ----------------------------------------
  Failed building wheel for libsass
  Running setup.py clean for libsass
Failed to build libsass
Installing collected packages: libsass
  Running setup.py install for libsass ... error
    Complete output from command /Users/luis/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/4q/ckq292wn3g9g_z25831wj5_h0000gn/T/pip-install-b2h0ethe/libsass/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/4q/ckq292wn3g9g_z25831wj5_h0000gn/T/pip-record-afdcl23j/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.7-x86_64-3.6
    copying pysassc.py -> build/lib.macosx-10.7-x86_64-3.6
    copying sass.py -> build/lib.macosx-10.7-x86_64-3.6
    copying sassc.py -> build/lib.macosx-10.7-x86_64-3.6
    copying sasstests.py -> build/lib.macosx-10.7-x86_64-3.6
    creating build/lib.macosx-10.7-x86_64-3.6/sassutils
    copying sassutils/__init__.py -> build/lib.macosx-10.7-x86_64-3.6/sassutils
    copying sassutils/builder.py -> build/lib.macosx-10.7-x86_64-3.6/sassutils
    copying sassutils/_compat.py -> build/lib.macosx-10.7-x86_64-3.6/sassutils
    copying sassutils/distutils.py -> build/lib.macosx-10.7-x86_64-3.6/sassutils
    copying sassutils/wsgi.py -> build/lib.macosx-10.7-x86_64-3.6/sassutils
    running build_ext
    building '_sass' extension
    creating build/temp.macosx-10.7-x86_64-3.6
    creating build/temp.macosx-10.7-x86_64-3.6/libsass
    creating build/temp.macosx-10.7-x86_64-3.6/libsass/src
    creating build/temp.macosx-10.7-x86_64-3.6/libsass/src/memory
    clang++ -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/luis/anaconda3/include -arch x86_64 -I/Users/luis/anaconda3/include -arch x86_64 -I./libsass/include -I/Users/luis/anaconda3/include/python3.6m -c libsass/src/ast.cpp -o build/temp.macosx-10.7-x86_64-3.6/libsass/src/ast.o -c -O3 -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -stdlib=libc++ -mmacosx-version-min=10.7 -Wno-error=unused-command-line-argument-hard-error-in-future -DLIBSASS_VERSION="3.5.4"
    warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
    In file included from libsass/src/ast.cpp:1:
    In file included from libsass/src/sass.hpp:49:
    In file included from /Users/luis/anaconda3/bin/../include/c++/v1/string:470:
    In file included from /Users/luis/anaconda3/bin/../include/c++/v1/string_view:171:
    In file included from /Users/luis/anaconda3/bin/../include/c++/v1/__string:56:
    In file included from /Users/luis/anaconda3/bin/../include/c++/v1/algorithm:638:
    In file included from /Users/luis/anaconda3/bin/../include/c++/v1/cstring:61:
    /Users/luis/anaconda3/bin/../include/c++/v1/string.h:61:15: fatal error: 'string.h' file not found
    #include_next <string.h>
                  ^~~~~~~~~~
    1 warning and 1 error generated.
    error: command 'clang++' failed with exit status 1

    ----------------------------------------
Command "/Users/luis/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/4q/ckq292wn3g9g_z25831wj5_h0000gn/T/pip-install-b2h0ethe/libsass/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/4q/ckq292wn3g9g_z25831wj5_h0000gn/T/pip-record-afdcl23j/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/4q/ckq292wn3g9g_z25831wj5_h0000gn/T/pip-install-b2h0ethe/libsass/```
@asottile
Copy link
Member

asottile commented Nov 2, 2018

I notice you're using conda, any reason you didn't use conda install libsass?

That error is pretty strange, do you have xcode installed (it's necessary to build from source) -- your clang install looks pretty broken (looks like that's conda's fault?)

@Bulletninja
Copy link
Author

I was able to install it via pip downgrading it from 18.1 to 18. I also installed it using pipenv (had to downgrade to pipenv==2018.6.25 once I downgraded pip to 18). I found a couple of github issues with similar errors, but seem unrelated to libsass itself. Seems like there is an issue with a pip and/or pipenv.

@asottile
Copy link
Member

asottile commented Nov 2, 2018

since this doesn't appear to be a libsass-python issue I'm going to close this -- thanks for the issue nonetheless!

@asottile asottile closed this as completed Nov 2, 2018
@Kevin-Mok
Copy link

I had this same problem trying to install libsass 0.16.0 in a virtualenv. Tried installing 0.15.1, and it worked fine.

@asottile
Copy link
Member

@Kevin-Mok can you show your output? 0.15.1 and 0.16.0 shouldn't have any major differences in installation

@Kevin-Mok
Copy link

Okay, so this isn't exactly the same error.

Installing collected packages: libsass
  Found existing installation: libsass 0.15.1
    Uninstalling libsass-0.15.1:
      Successfully uninstalled libsass-0.15.1
  Running setup.py install for libsass ... error
    Complete output from command /home/kevin/coding/spotify-lib-vis/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-ozli_3om/libsass/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-fuz2oudg/install-record.txt --single-version-externally-managed --compile --install-headers /home/kevin/coding/spotify-lib-vis/include/site/python3.6/libsass:
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.6
    copying pysassc.py -> build/lib.linux-x86_64-3.6
    copying sass.py -> build/lib.linux-x86_64-3.6
    copying sassc.py -> build/lib.linux-x86_64-3.6
    copying sasstests.py -> build/lib.linux-x86_64-3.6
    creating build/lib.linux-x86_64-3.6/sassutils
    copying sassutils/_compat.py -> build/lib.linux-x86_64-3.6/sassutils
    copying sassutils/builder.py -> build/lib.linux-x86_64-3.6/sassutils
    copying sassutils/__init__.py -> build/lib.linux-x86_64-3.6/sassutils
    copying sassutils/wsgi.py -> build/lib.linux-x86_64-3.6/sassutils
    copying sassutils/distutils.py -> build/lib.linux-x86_64-3.6/sassutils
    running build_ext
    building '_sass' extension
    creating build/temp.linux-x86_64-3.6
    creating build/temp.linux-x86_64-3.6/libsass
    creating build/temp.linux-x86_64-3.6/libsass/src
    creating build/temp.linux-x86_64-3.6/libsass/src/memory
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/ast.cpp -o build/temp.linux-x86_64-3.6/libsass/src/ast.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/ast_fwd_decl.cpp -o build/temp.linux-x86_64-3.6/libsass/src/ast_fwd_decl.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/backtrace.cpp -o build/temp.linux-x86_64-3.6/libsass/src/backtrace.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/base64vlq.cpp -o build/temp.linux-x86_64-3.6/libsass/src/base64vlq.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/bind.cpp -o build/temp.linux-x86_64-3.6/libsass/src/bind.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/c99func.c -o build/temp.linux-x86_64-3.6/libsass/src/c99func.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1: warning: command line option ‘-std=gnu++11’ is valid for C++/ObjC++ but not for C
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/cencode.c -o build/temp.linux-x86_64-3.6/libsass/src/cencode.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1: warning: command line option ‘-std=gnu++11’ is valid for C++/ObjC++ but not for C
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/check_nesting.cpp -o build/temp.linux-x86_64-3.6/libsass/src/check_nesting.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/color_maps.cpp -o build/temp.linux-x86_64-3.6/libsass/src/color_maps.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/constants.cpp -o build/temp.linux-x86_64-3.6/libsass/src/constants.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/context.cpp -o build/temp.linux-x86_64-3.6/libsass/src/context.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/cssize.cpp -o build/temp.linux-x86_64-3.6/libsass/src/cssize.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/emitter.cpp -o build/temp.linux-x86_64-3.6/libsass/src/emitter.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/environment.cpp -o build/temp.linux-x86_64-3.6/libsass/src/environment.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/error_handling.cpp -o build/temp.linux-x86_64-3.6/libsass/src/error_handling.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/eval.cpp -o build/temp.linux-x86_64-3.6/libsass/src/eval.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/expand.cpp -o build/temp.linux-x86_64-3.6/libsass/src/expand.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/extend.cpp -o build/temp.linux-x86_64-3.6/libsass/src/extend.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/file.cpp -o build/temp.linux-x86_64-3.6/libsass/src/file.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/functions.cpp -o build/temp.linux-x86_64-3.6/libsass/src/functions.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/inspect.cpp -o build/temp.linux-x86_64-3.6/libsass/src/inspect.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/json.cpp -o build/temp.linux-x86_64-3.6/libsass/src/json.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/lexer.cpp -o build/temp.linux-x86_64-3.6/libsass/src/lexer.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/listize.cpp -o build/temp.linux-x86_64-3.6/libsass/src/listize.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/memory/SharedPtr.cpp -o build/temp.linux-x86_64-3.6/libsass/src/memory/SharedPtr.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/node.cpp -o build/temp.linux-x86_64-3.6/libsass/src/node.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/operators.cpp -o build/temp.linux-x86_64-3.6/libsass/src/operators.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/output.cpp -o build/temp.linux-x86_64-3.6/libsass/src/output.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/parser.cpp -o build/temp.linux-x86_64-3.6/libsass/src/parser.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/plugins.cpp -o build/temp.linux-x86_64-3.6/libsass/src/plugins.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/position.cpp -o build/temp.linux-x86_64-3.6/libsass/src/position.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/prelexer.cpp -o build/temp.linux-x86_64-3.6/libsass/src/prelexer.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/remove_placeholders.cpp -o build/temp.linux-x86_64-3.6/libsass/src/remove_placeholders.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/sass.cpp -o build/temp.linux-x86_64-3.6/libsass/src/sass.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/sass2scss.cpp -o build/temp.linux-x86_64-3.6/libsass/src/sass2scss.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/sass_context.cpp -o build/temp.linux-x86_64-3.6/libsass/src/sass_context.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/sass_functions.cpp -o build/temp.linux-x86_64-3.6/libsass/src/sass_functions.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/sass_util.cpp -o build/temp.linux-x86_64-3.6/libsass/src/sass_util.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/sass_values.cpp -o build/temp.linux-x86_64-3.6/libsass/src/sass_values.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/source_map.cpp -o build/temp.linux-x86_64-3.6/libsass/src/source_map.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/subset_map.cpp -o build/temp.linux-x86_64-3.6/libsass/src/subset_map.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/to_c.cpp -o build/temp.linux-x86_64-3.6/libsass/src/to_c.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/to_value.cpp -o build/temp.linux-x86_64-3.6/libsass/src/to_value.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/units.cpp -o build/temp.linux-x86_64-3.6/libsass/src/units.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/utf8_string.cpp -o build/temp.linux-x86_64-3.6/libsass/src/utf8_string.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/util.cpp -o build/temp.linux-x86_64-3.6/libsass/src/util.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c libsass/src/values.cpp -o build/temp.linux-x86_64-3.6/libsass/src/values.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./libsass/include -I/home/kevin/coding/spotify-lib-vis/include -I/usr/include/python3.6m -c pysass.cpp -o build/temp.linux-x86_64-3.6/pysass.o -fPIC -std=gnu++0x -Wall -Wno-parentheses -Werror=switch -DLIBSASS_VERSION="3.5.5"
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    pysass.cpp:1:20: fatal error: Python.h: No such file or directory
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
    
    ----------------------------------------
  Rolling back uninstall of libsass
Command "/home/kevin/coding/spotify-lib-vis/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-ozli_3om/libsass/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-fuz2oudg/install-record.txt --single-version-externally-managed --compile --install-headers /home/kevin/coding/spotify-lib-vis/include/site/python3.6/libsass" failed with error code 1 in /tmp/pip-install-ozli_3om/libsass/

@asottile
Copy link
Member

as I suspected, a very different failure 😆

oh weird, now that you mention it I forgot to upload the python3.6 wheel -- oops! one sec

@asottile
Copy link
Member

Can you try again, I've uploaded the wheels this time 🙃

@Kevin-Mok
Copy link

It works. 😄

@darrenlucas
Copy link

@asottile stumbled across this because I was checking the reason for a hash mismatch for libsass and noticed the wheels had been updated since the original release on Nov 13th on https://pypi.org/project/libsass/0.16.0/#files

I'm using pipenv which looks like it just grabs all the hashes available at the time of the initial install. So the wheels published later on don't match.

I've got my answer as to why they don't match, but just letting you know as it may affect others who require hashes. Maybe if wheels are missed in future it warrants doing a bug fix release? (see pypa/pip#3634 (comment))

Just for reference the error I got from pipenv below..

Installing dependencies from Pipfile.lock (da99cc)…
An error occurred while installing libsass==0.16.0 --hash=sha256:11bbd93e6fe3568af6e12bc4746d8ea45de82254cfdd1fcc48ba8b25b20c4350 --hash=sha256:1c2c3e711a94b5b527a821bcdb86affb325041128c90477825c984276fea8520 --hash=sha256:42f1edb3e08c3d1ef98c82c58d038500cd7009ae289865b6c550b7523ff1f166 --hash=sha256:4dd724769bd7d1e06d28cb13a4621b4517753c1e18a72338ee1ccfc26c4ae70b --hash=sha256:91471a1b2b428d6332c6f56a409722ebde4505cb33151688e1241fd400ced82e --hash=sha256:976b411d1e65edd9e3f27104860b757409608fcf783d53df8e6115d8416ffa4f --hash=sha256:b528db0ccec9e6bfc87ee1c3ad6e433ee71d86883ab9006cdc9a77e12b7695f9 --hash=sha256:c14511ba309a7cdee3ac40edc5e5d7d4456bba83feba3110252ab068f7cc922b --hash=sha256:c7cf04e6ebdf0d01e2fad40417e93f66ea2af36bac4aae535f6addb5bb4c3b70 --hash=sha256:ee756c684b5524099254d55a17169a81255ed7e03e11c97e9761dc9673c71bad --hash=sha256:fc85166cfa414ecee851fcd827472d9d290af3c3a10aaec3f9c362decfd87315! Will try again.
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 47/47 — 00:00:27
Installing initially failed dependencies…
Looking in indexes: https://pypi.org/simple
Collecting libsass==0.16.0 
  Using cached https://files.pythonhosted.org/packages/ed/e2/4e04a10155cca99b2334c07997a428f2f122e744c119f060d7fbaefede3a/libsass-0.16.0-cp36-cp36m-manylinux1_x86_64.whl

THESE PACKAGES DO NOT MATCH THE HASHES FROM Pipfile.lock!. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
    libsass==0.16.0 from https://files.pythonhosted.org/packages/ed/e2/4e04a10155cca99b2334c07997a428f2f122e744c119f060d7fbaefede3a/libsass-0.16.0-cp36-cp36m-manylinux1_x86_64.whl#sha256=d29c6caa7d4915253afb9e157c4e12b507103288e7eddc54d06551fd15853d15 (from -r /tmp/pipenv-8ctzFb-requirements/pipenv-OCmscq-requirement.txt (line 1)):
        Expected sha256 11bbd93e6fe3568af6e12bc4746d8ea45de82254cfdd1fcc48ba8b25b20c4350
        Expected     or 1c2c3e711a94b5b527a821bcdb86affb325041128c90477825c984276fea8520
        Expected     or 42f1edb3e08c3d1ef98c82c58d038500cd7009ae289865b6c550b7523ff1f166
        Expected     or 4dd724769bd7d1e06d28cb13a4621b4517753c1e18a72338ee1ccfc26c4ae70b
        Expected     or 91471a1b2b428d6332c6f56a409722ebde4505cb33151688e1241fd400ced82e
        Expected     or 976b411d1e65edd9e3f27104860b757409608fcf783d53df8e6115d8416ffa4f
        Expected     or b528db0ccec9e6bfc87ee1c3ad6e433ee71d86883ab9006cdc9a77e12b7695f9
        Expected     or c14511ba309a7cdee3ac40edc5e5d7d4456bba83feba3110252ab068f7cc922b
        Expected     or c7cf04e6ebdf0d01e2fad40417e93f66ea2af36bac4aae535f6addb5bb4c3b70
        Expected     or ee756c684b5524099254d55a17169a81255ed7e03e11c97e9761dc9673c71bad
        Expected     or fc85166cfa414ecee851fcd827472d9d290af3c3a10aaec3f9c362decfd87315
             Got        d29c6caa7d4915253afb9e157c4e12b507103288e7eddc54d06551fd15853d15

That aside, thanks for publishing the wheels 👍

@asottile
Copy link
Member

I added (as I frequently do) macos wheels after the fact. I don't own a Mac so it's often days or weeks after release that I get access to one

@darrenlucas
Copy link

ok, thanks for explaining, was just trying to think of ways to avoid hash mismatches, but it seems it would be a common workflow to add wheels later on.

Looking at pypa/pipenv#3022 it seems like other users of pipenv have run into the same problem for other packages, maybe it's something that can be improved by the tooling.

@asottile
Copy link
Member

:dumpster: 🔥 pipenv 🔥 :dumpster: ;)

I kid, I kid -- but for a "repeatable build tool" there's a surprising number of fiddly ways to break it after the fact

@alexbprofit
Copy link

(startup) D:\environ\startup>pip install --use-pep517 rjsmin
Collecting rjsmin
  Downloading rjsmin-1.1.0.tar.gz (412 kB)
     |████████████████████████████████| 412 kB 364 kB/s
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Building wheels for collected packages: rjsmin
  Building wheel for rjsmin (PEP 517) ... done
  Created wheel for rjsmin: filename=rjsmin-1.1.0-cp38-cp38-win_amd64.whl size=19503 sha256=f52fa95f50654e7c6fa2d00cb6408b9b0c2bbc7feeff74b0c8e3e8e2ca98d31c
  Stored in directory: c:\users\alex_pc\appdata\local\pip\cache\wheels\75\f4\91\989b6bf2defc3013d0fa2f2fc2aedfe80c6b45ef2b2fab7adb
Successfully built rjsmin
Installing collected packages: rjsmin
Successfully installed rjsmin-1.1.0

@asottile
Copy link
Member

@alexbprofit that has nothing to do with our package (libsass)

going to lock this since every message after original close has been off topic

@sass sass locked as off-topic and limited conversation to collaborators Apr 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants