check_code job failing due to parse error
The error
Processing /builds/coala/package_manager
ERROR: Complete output from command python setup.py egg_info:
ERROR: error in dependency_management setup command: 'tests_require' must be a
string or list of strings containing valid project/version requirement specifiers;
Invalid requirement, parse error at "'+https:/'"
This error is due to this line
git+https://github.com/jayvdb/pytest-reqs@coala#egg=pytest-reqs
which has been added due to the commit 8a8ea004
It looks like the setup tools is unable to parse such lines. This might happen due to the version of setup tools being old.
There can followinf solution for it:
- Upgrade the setup tools version.
- Use
python3 setup.py install
instead ofpip3 install .
- Add a
-e
to the line
All the above changes would need to be made to .gitlab-ci.yml
to the check_code
job
Edited by Naveen Naidu