Pint won't import on Python 2.6 unless the enviornment happens to include unittest2. Should be explicit. #387
Comments
movermeyer
added a commit
to movermeyer/pint
that referenced
this issue
Jun 14, 2016
…ed compatibility information to a testing specific file. Added unittest2 to tests_require for Python 2.6
Thanks for reporting. Fixed by 842e8f2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On Python 2.6 and pint 0.7.2:
Except it shouldn't fail since this dependency is only needed when running tests.
If we add it to the
tests_require
parameter of setup.pySomething like:
and move compatibility lookup into a testsuite/compat/init.py,
then users can import pint on Python 2.6 without having to manually specify additional dependencies in order for it to run.
Pull request coming soon.
The text was updated successfully, but these errors were encountered: