Open jayvdb opened 6 years ago
Thanks @jayvdb. Indeed, pytest-reqs
currently doesn't do any checks around the Python version.
I've marked this as a bug, any interest in trying to fix it?
I'm a bit stretched atm. I've informed the @coala GSoC students about this. Hopefully one of them is courageous.
Glad to help give some guidance where needed.
https://github.com/jayvdb/coverage_env_plugin is an example of how to get the correct values for an environment.
There is probably an easier method in packaging that can be used to do the comparison.
coala will also need support for platform_system == 'Windows'
https://www.python.org/dev/peps/pep-0496/ is the relevant spec.
And we also need support for git+ vcs links with #egg=
.
Some issues found at https://gitlab.com/coala/mobans/issues/44
Clarifying...offtopic slightly again, I believe support exists for vcs links, however it fails on coala's tests when the version contains a suffix like .dev123
https://travis-ci.org/jayvdb/coala-bears/jobs/402542969#L3559
Our suffixes might need to be adjusted to be acceptable with pip & setuptools, etc.
This plugin will cause a failure on Python 3.4 when for requirement.txt entry like