You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I hope this is the right place. The pypi page of unittest2 links to https://code.google.com/archive/p/unittest-ext/issues as the official issue tracker for unittest2, however it seems I can't open new issues there.
I can work around it by having pip install unittest2 before I do python setup.py test. In this case, pip download the pre-compiled wheel for unittest2, whereas in the case of setuptools, the latter tries to create an egg from the sdist which is on PyPI, and fails.
I'm not sure if this is a unittest2 issue or a setuptools issue, or both.
But it would nice to being able to specify unittest2 as a test_requires and have it work on both Windows and Unix.
Thanks.
Cosimo
The text was updated successfully, but these errors were encountered:
Hi,
I hope this is the right place. The pypi page of unittest2 links to https://code.google.com/archive/p/unittest-ext/issues as the official issue tracker for unittest2, however it seems I can't open new issues there.
So, I specified unittest2 in
test_requires
in my setup.py script:https://github.com/anthrotype/pyclipper/blob/setuptools_scm/setup.py
So that I can do
python setup.py test
and setuptools fetches the dependencies automatically.However, this doesn't seem to be working on windows:
https://ci.appveyor.com/project/greginvm/pyclipper/build/1.0.13/job/9blrl0jsss9mlfee
I believe this is the same issue as https://code.google.com/archive/p/unittest-ext/issues/95
BTW, the same thing does work on Linux and Mac as you can see from the Travis log:
https://travis-ci.org/anthrotype/pyclipper/builds/153916239
I can work around it by having
pip install unittest2
before I dopython setup.py test
. In this case, pip download the pre-compiled wheel for unittest2, whereas in the case of setuptools, the latter tries to create an egg from the sdist which is on PyPI, and fails.I'm not sure if this is a unittest2 issue or a setuptools issue, or both.
But it would nice to being able to specify unittest2 as a
test_requires
and have it work on both Windows and Unix.Thanks.
Cosimo
The text was updated successfully, but these errors were encountered: