New package: py-wub, with supporting fixes#13773
Conversation
- add py-wub - add py-pycmd because py-wub needs it - update py-statsmodels, which needs at least v0.9.0 to work with python3.7 because cython.
The statsmodels tests weren't run in the previous version of the package. If I enable them, the fail. Update the package comment with the statsmodels issue I opened to track the problem: statsmodels/statsmodels#6263
|
[edit: add ellipsis to test crash code block] I'm trying to get the tests working. The folks over in statsmodels/statsmodels#6263 suggested that I use "older" versions of numpy and scipy, something from the same time period as 0.10.1. I've had to bump forward a bit from what was listed in their INSTALL.txt, but have it in place. It also turns out that:
I've done this: - # depends_on('py-nose', type='test')
+ depends_on('py-pytest', type='test')
+
+ def test(self):
+ pytest = which('pytest')
+ pytest('statsmodels')but the wheels all fall off, spectacularly: The bit that's failing seems to be a C extension. I cribbed the test setup from something I found in Suggestions? |
|
Flake8: |
|
No idea on why the unit tests would be failing. Just keep working with the developers. You can restrict the package to older versions of numpy if you need to. |
|
Thanks. This is making me look forward to my next dentist appointment.... I appreciate the help! |
|
I have the tests running, and perhaps they'll even pass (20 minutes in, 40% done...), if I run them from this directory: Is there a standard relationship of |
|
Hmm, you shouldn't need to run the tests from a specific directory. The only thing you might have a problem with is running the tests in the build directory, which I why I usually create a |
Well, empirically they fail if I run them in spack-src and they fail if I mkdir spack-test and run them there. They work (yay) if I run them from build/lib*. |
- need to use [email protected]: - need to run the tests from within the build/lib* dir
|
I think that this is all in order, barring additional feedback. |
python3.7 because cython.