{"action":"created","issue":{"url":"https://api.github.com/repos/scipy/scipy/issues/4745","labels_url":"https://api.github.com/repos/scipy/scipy/issues/4745/labels{/name}","comments_url":"https://api.github.com/repos/scipy/scipy/issues/4745/comments","events_url":"https://api.github.com/repos/scipy/scipy/issues/4745/events","html_url":"https://github.com/scipy/scipy/issues/4745","id":68670486,"number":4745,"title":"Build failure with Cython 0.21.1","user":{"login":"pv","id":35046,"avatar_url":"https://avatars.githubusercontent.com/u/35046?v=3","gravatar_id":"","url":"https://api.github.com/users/pv","html_url":"https://github.com/pv","followers_url":"https://api.github.com/users/pv/followers","following_url":"https://api.github.com/users/pv/following{/other_user}","gists_url":"https://api.github.com/users/pv/gists{/gist_id}","starred_url":"https://api.github.com/users/pv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pv/subscriptions","organizations_url":"https://api.github.com/users/pv/orgs","repos_url":"https://api.github.com/users/pv/repos","events_url":"https://api.github.com/users/pv/events{/privacy}","received_events_url":"https://api.github.com/users/pv/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scipy/scipy/labels/Build%20issues","name":"Build issues","color":"207de5"},{"url":"https://api.github.com/repos/scipy/scipy/labels/defect","name":"defect","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-04-15T12:38:56Z","updated_at":"2015-08-06T15:45:41Z","closed_at":"2015-04-27T09:12:30Z","body":"```\r\n$ python runtests.py --python /tmp/qqq.py \r\nBuilding, see build.log...\r\n\r\nError compiling Cython file:\r\n------------------------------------------------------------\r\n...\r\n# and object. In this file, only NULL is passed to these parameters.\r\ncdef extern from *:\r\n    cnp.ndarray PyArray_CheckFromAny(object, void*, int, int, int, void*)\r\n    cnp.ndarray PyArray_FromArray(cnp.ndarray, void*, int)\r\n\r\nfrom . cimport cython_blas as blas_pointers\r\n^\r\n------------------------------------------------------------\r\n\r\n_decomp_update.pyx:59:0: 'scipy.linalg.' is not a valid module name\r\n...\r\n```\r\nSeems to work with `Cython 0.22`."},"comment":{"url":"https://api.github.com/repos/scipy/scipy/issues/comments/128415274","html_url":"https://github.com/scipy/scipy/issues/4745#issuecomment-128415274","issue_url":"https://api.github.com/repos/scipy/scipy/issues/4745","id":128415274,"user":{"login":"samuelstjean","id":3030760,"avatar_url":"https://avatars.githubusercontent.com/u/3030760?v=3","gravatar_id":"","url":"https://api.github.com/users/samuelstjean","html_url":"https://github.com/samuelstjean","followers_url":"https://api.github.com/users/samuelstjean/followers","following_url":"https://api.github.com/users/samuelstjean/following{/other_user}","gists_url":"https://api.github.com/users/samuelstjean/gists{/gist_id}","starred_url":"https://api.github.com/users/samuelstjean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samuelstjean/subscriptions","organizations_url":"https://api.github.com/users/samuelstjean/orgs","repos_url":"https://api.github.com/users/samuelstjean/repos","events_url":"https://api.github.com/users/samuelstjean/events{/privacy}","received_events_url":"https://api.github.com/users/samuelstjean/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T15:45:41Z","updated_at":"2015-08-06T15:45:41Z","body":"I tried building 0.16, 0.17dev wiht cython 0.22 and 0.23, but I still get weird error with the relative cimport such as\r\n\r\nProcessing scipy/linalg/_decomp_update.pyx.in\r\n\r\nError compiling Cython file:\r\n------------------------------------------------------------\r\n...\r\n# and object. In this file, only NULL is passed to these parameters.\r\ncdef extern from *:\r\n    cnp.ndarray PyArray_CheckFromAny(object, void*, int, int, int, void*)\r\n    cnp.ndarray PyArray_FromArray(cnp.ndarray, void*, int)\r\n\r\nfrom . cimport cython_blas as blas_pointers\r\n      ^\r\n\r\nThis is installing directly from git with pip install or trying to build locally with python setup.py build_ext -i\r\n\r\nAnyone (still) having similar troubles? The seems to apparently fix a similar error, but maybe absolute import would be a sure fire way to fix it,"}}