-
Notifications
You must be signed in to change notification settings - Fork 389
Description
In the current nest.rb Formula the Cython :build dependency prevents the build process.
This might be due to a recent change in how Homebrew checks external Python dependencies, but at least for me the Formula would not install due to unsatisfied dependency Cython,
despite having installed Cython with pip/pip3. This is on brew'ed Python2.7 & -3.6.
~ #> brew install nest --with-python
==> Installing nest from homebrew/science
nest: Unsatisfied dependency: cython
Homebrew does not provide special Python dependencies; install with:
`pip install cython`
Error: An unsatisfied requirement failed this build.
~ #> pip list
appdirs (1.4.3)
cycler (0.10.0)
Cython (0.25.2)
functools32 (3.2.3.post2)
matplotlib (2.0.0)
nose (1.3.7)
numpy (1.12.0)
packaging (16.8)
pip (9.0.1)
pyparsing (2.2.0)
python-dateutil (2.6.0)
pytz (2016.10)
scipy (0.19.0)
setuptools (34.3.1)
six (1.10.0)
subprocess32 (3.2.7)
wheel (0.29.0)
~ #>
I could fix this with adding Cython as a resource during build as done in other Formulae;
I submitted a pull request at homebrew-science. However, I'm not sure this solves all problems as I couldn't complete all the tests but received an error for PyNEST, similar to #591.
Additionally, when building with Python3, I have to manually ensure that the numpy, scipy & matplotlib deps are also built with 3.x support. I'll look into that this weekend.