[ 
https://issues.apache.org/jira/browse/SDAP-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lewis John McGibbney updated SDAP-206:
--------------------------------------
    Affects Version/s: 0.1

> remove pegged numpy version in nexuscli requirements.txt
> --------------------------------------------------------
>
>                 Key: SDAP-206
>                 URL: https://issues.apache.org/jira/browse/SDAP-206
>             Project: Apache Science Data Analytics Platform
>          Issue Type: Bug
>    Affects Versions: 0.1
>            Reporter: Lewis John McGibbney
>            Priority: Major
>
> Building nexuscli fails as follows
> {code}
> pip3 install -r requirements.txt
> ...
>     
> /usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15:
>  note: 'curexc_traceback' declared here
>         PyObject *curexc_traceback;
>                   ^
>     16 errors generated.
>     error: Command "clang -Wno-unused-result -Wsign-compare 
> -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall 
> -isysroot 
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
>  
> -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include
>  
> -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers
>  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 
> -Inumpy/core/include 
> -Ibuild/src.macosx-10.14-x86_64-3.7/numpy/core/include/numpy 
> -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core 
> -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath 
> -Inumpy/core/src/npysort -I/usr/local/include 
> -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include 
> -I/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/include/python3.7m
>  -Ibuild/src.macosx-10.14-x86_64-3.7/numpy/core/src/private 
> -Ibuild/src.macosx-10.14-x86_64-3.7/numpy/core/src/npymath 
> -Ibuild/src.macosx-10.14-x86_64-3.7/numpy/core/src/private 
> -Ibuild/src.macosx-10.14-x86_64-3.7/numpy/core/src/npymath 
> -Ibuild/src.macosx-10.14-x86_64-3.7/numpy/core/src/private 
> -Ibuild/src.macosx-10.14-x86_64-3.7/numpy/core/src/npymath -c 
> numpy/random/mtrand/mtrand.c -o 
> build/temp.macosx-10.14-x86_64-3.7/numpy/random/mtrand/mtrand.o -MMD -MF 
> build/temp.macosx-10.14-x86_64-3.7/numpy/random/mtrand/mtrand.o.d" failed 
> with exit status 1
>     ----------------------------------------
>   Rolling back uninstall of numpy
>   Moving to /usr/local/lib/python3.7/site-packages/numpy
>    from /usr/local/lib/python3.7/site-packages/~umpy
>   Moving to /usr/local/lib/python3.7/site-packages/numpy-1.16.4-py3.7.egg-info
>    from /usr/local/lib/python3.7/site-packages/~umpy-1.16.4-py3.7.egg-info
> ERROR: Command "/usr/local/opt/python/bin/python3.7 -u -c 'import setuptools, 
> tokenize;__file__='"'"'/private/var/folders/3p/t0shq8j10q56q45ntm0skn00fv8362/T/pip-install-7md1x8s_/numpy/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/3p/t0shq8j10q56q45ntm0skn00fv8362/T/pip-record-weq7k5md/install-record.txt
>  --single-version-externally-managed --compile" failed with error code 1 in 
> /private/var/folders/3p/t0shq8j10q56q45ntm0skn00fv8362/T/pip-install-7md1x8s_/numpy/
> {code}
> Essentially it relates to the [pegged version of numpy in 
> requirements.txt|https://github.com/apache/incubator-sdap-nexus/blob/master/client/requirements.txt#L7]
>  
> When the version is removed, nexuscli builds just fine. I'll submit a PR for 
> this. 



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to