-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Respect markers on constraints #282
Conversation
let constraints_txt = temp_dir.child("constraints.txt"); | ||
constraints_txt.touch()?; | ||
constraints_txt.write_str("aiohttp==3.8.5;python_version<'3.12'")?; | ||
constraints_txt.write_str("aiohttp==3.9.0b0;python_version>='3.12'")?; |
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.
Can we add a test case that succeeds, e.g., add a dependency for python_version <= 3.7
and ensure it's not respected?
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.
Yeah I can. I don't know about this test case it's not really doing what I want.
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.
I used a simpler dependency tree for this test, much better now.
453a937
to
29d5fbc
Compare
29d5fbc
to
b89a9aa
Compare
b89a9aa
to
f31ae70
Compare
Closes #252