-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin incompatible with various valid tox deps like --editable #46
Comments
This is a known limitation of the pyproject-rpm-macros. Maybe it needs to be documented. This plugin simply outputs the stuff it gets -- if you pass it e.g. to pip, it should work. Similarly, if there are For the record, the referenced tox bug here is tox-dev/tox#2197 I don't have a good solution to this. In RPM environment, we cannot install editable installs. |
With my Fedora packager hat on, I might only suggest trying to split the environments -- use one for testing, one for testing+coverage. In Fedora Python packages, running coverage checks is discouraged: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters |
If project has a requirements.txt file it should be enough for retrieving deps while ignorimg deps from tox.ini. Same for test-requirements.txt @webknjaz Have a look at this and current PR on molecule. Maybe you can find a workaround? |
I agree with Miro — a separate toxenv would be helpful for this. |
That is possible with |
Any project using pip commands inside deps will break when using
tox-current-env
because plugin has no idea what to. do with these.That is even more problematic as that approach of installing dependencies is the only working method for projects that already dropped setup.py and which cannot use the classic tox commands due to known tox bugs.
The text was updated successfully, but these errors were encountered: