-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests fail #36
Comments
why are pyodesys and pycvodes referenced there? (non of those are reqs. of pygslodeiv2) |
Sorry, I pasted a wrong log. The correct log is:
|
OK, thanks. I won't be able to debug this I'm afraid since I don't know how
to reproduce it. Is there something analogous to docker for FreeBSD for a
minimal reproducer?
…On Fri, Sep 21, 2018, 18:48 ***@***.*** ***@***.***> wrote:
Sorry, I pasted a wrong log. The correct log is:
============================================================================ test session starts ============================================================================
platform freebsd11 -- Python 3.6.6, pytest-3.6.4, py-1.6.0, pluggy-0.6.0
rootdir: /usr/ports/math/py-pygslodeiv2/work-py36/pygslodeiv2-0.9.1, inifile: setup.cfg
collected 0 items / 1 errors
================================================================================== ERRORS ===================================================================================
___________________________________________________________ ERROR collecting pygslodeiv2/tests/test_gsl_odeiv2.py ___________________________________________________________
ImportError while importing test module '/usr/ports/math/py-pygslodeiv2/work-py36/pygslodeiv2-0.9.1/pygslodeiv2/tests/test_gsl_odeiv2.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
pygslodeiv2/__init__.py:10: in <module>
from ._gsl_odeiv2 import adaptive, predefined, requires_jac, steppers, fpes
E ModuleNotFoundError: No module named 'pygslodeiv2._gsl_odeiv2'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
========================================================================== 1 error in 0.27 seconds ==========================================================================
*** Error code 2
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#36 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAdqMI_Gmz_OLYkzkZnI-Iz0rnxbleFOks5udRhwgaJpZM4W0cuv>
.
|
|
Thanks, I could reproduce the test failure. However, I'm a bit lost:
So the shared library is getting built. If I
which to me looks like things are working as expected. Up to the packaging(?) point? EDIT:
|
ok, so this is a packaging issue in FreeBSD/ports then? |
Packaging issue means that something is wrong with the package. |
is it picking up the package from the source directory instead of the build directory? |
It is trying to open the shared library in the source location:
when it only exists in the build directory: |
I see. To me it sounds like the scripts in FreeBSD/ports need to be adapted to setuptools or vice versa. I'm not doing anything unusual in setup.py in that respect. |
OS: FreeBSD 11.2
Occurs in the FreeBSD port.
The text was updated successfully, but these errors were encountered: