pysal / segregation

Segregation Measurement, Inferential Statistics, and Decomposition Analysis
https://pysal.org/segregation/
BSD 3-Clause "New" or "Revised" License
112 stars 26 forks source link

Building Error (after tqdm inclusion?) #110

Closed renanxcortes closed 5 years ago

renanxcortes commented 5 years ago

I think that after adding tqdm in https://github.com/pysal/segregation/pull/109, TravisCI broke and the error log is:

Using /home/travis/build/pysal/segregation/miniconda/envs/test-env/lib/python3.7/site-packages
Finished processing dependencies for segregation==1.1.0
The command "python setup.py install" exited with 0.
21.95s$ nosetests -v segregation --with-coverage
Failure: ImportError (libcfitsio.so.5: cannot open shared object file: No such file or directory) ... ERROR
======================================================================
ERROR: Failure: ImportError (libcfitsio.so.5: cannot open shared object file: No such file or directory)
----------------------------------------------------------------------

Not really sure how to to debug this. Any ideas?

knaaptime commented 5 years ago

i saw... weird C lib error. no idea what this is about. tests passed fine on my branch and on the PR, so im hoping this is just a fleeting conda-forge thing? 🤷‍♂️

renanxcortes commented 5 years ago

i saw... weird C lib error. no idea what this is about. tests passed fine on my branch and on the PR, so im hoping this is just a fleeting conda-forge thing? 🤷‍♂️

Yes, I also nosetested it locally and it ran smoothly!

knaaptime commented 5 years ago

ok, so I pushed these changes last night and the tests passed fine. I just tried restarting that build, and now they'rea failing. I also tried sudo -E apt install libcfitsio-dev -y, which works perfectly on my linux box, but failed on travis with

The command "sudo -E apt install libcfitsio-dev -y" failed and exited with 100 during .

that appears to be an apt/gpg error, which is probably on travis's end, so I think we're ok here and just need to wait a bit for a fix upstream

renanxcortes commented 5 years ago

ok, so I pushed these changes last night and the tests passed fine. I just tried restarting that build, and now they'rea failing. I also tried sudo -E apt install libcfitsio-dev -y, which works perfectly on my linux box, but failed on travis with

The command "sudo -E apt install libcfitsio-dev -y" failed and exited with 100 during .

that appears to be an apt/gpg error, which is probably on travis's end, so I think we're ok here and just need to wait a bit for a fix upstream

So, we should open a PR on segregation that would try to apt install libcfitsio-dev?

renanxcortes commented 5 years ago

Fixed as the build as ok in Travis's side.