-
Notifications
You must be signed in to change notification settings - Fork 27
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
Implement support for markers specified for package dependencies in p… #188
Conversation
9186bb7
to
c71fbfa
Compare
c71fbfa
to
eeb0386
Compare
eeb0386
to
881903c
Compare
The basic implementation is ready including some tests. I'd also like implement one more test with a combination of default and devel packages. Also, I have to check mypy issues. |
Now I'm getting this traceback:
I suppose it happens when the dependency appears in the lockfile after the package that depends on it. |
6879322
to
ba95f67
Compare
Thank you. I've fixed that and used that example as a new test. I've also tested that the micropipenv does not try to install the windows-only package. Also, I've managed to fix mypy errors so unless we find more cases when this implementation does not work this should be ready for a review and merge. |
There is some problem on Windows, but it does not seem to be related to this change. It seems to be an issue with |
Yep, it works on my local machine too :-) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did a brief review - changes look good to me. I did not test them though (I do not use poetry that much). @frenzymadness if you think this is ready to be merged, I'm also in favour of giving green to this PR - the feedback is reasonable and the implementation looks well tested. The current release does not work properly, as reported.
@frenzymadness thanks for the great work 👍🏻
@abompard thanks for the support and feedback 👍🏻
85a3f1a
to
bb2a400
Compare
In the last iteration, I've implemented parentheses so the final combined markers look for example like this: |
The link to the pre-commit test does not work 😞 |
/test pre-commit |
Our ci is currently unable to show the error on the display, the error are the following:
First error can be easily solved by running: How to reproduce: |
bb2a400
to
0cff7fa
Compare
Thanks for your help @harshad16! pre-commit is now happy at least on my machine. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good to me. The addition seems to be well tested and already helped users. @frenzymadness happy to have this in, thanks for the great work 👍🏻
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fridex The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Fixes: #186
This introduces a breaking change
Needs to implement a test.