mangopay2-python-sdk
mangopay2-python-sdk copied to clipboard
Tests are failing
Hello,
I'm trying to upgrade the sdk to the last version but the tests are failing. It look like it fails on your pipeline but also locally when I launch tox.
18 errors and 1 failure.
Also, the python version that tox use for the tests are deprecated (2.7, 3.4). Hence, I was not able to test against those and modified tox to test with the python version we currently use (3.8).
I recommand testing version 3.8 and onward instead of the very deprecated 3.4.
Finally, I had to add this line in tox.ini for tox to lauch:
...
[testenv]
allowlist_externals = make
...
Thanks
I was able to reduce the number of error to 6 by unpinning response in requirements/development.txt like so:
responses>=0.18.0
You might avoid the issue with earlier version of it.
Also, please, do not pin your dependencies as it makes this sdk more difficult to integrate for us and specify a range of compatible version instead.