-
Notifications
You must be signed in to change notification settings - Fork 3.1k
install: Update extra-index-url in session from requirements file #8522
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
install: Update extra-index-url in session from requirements file #8522
Conversation
Where were |
URLs from both |
Thanks for the explanation! The patch makes sense to me now. It seems like the whole requirements file parsing logic needs some serious revamping 🙁 But this will have to do for now. |
Would it be better to update |
47f7299
to
80620ea
Compare
This is a very good idea, take a look now @sbidoul, moved to here and pushed a change |
80620ea
to
2e9d1f0
Compare
@NoahGorny thanks for the update. It would nice to add a test in |
…s file Also update the relevant tests
2e9d1f0
to
3e70cbe
Compare
Updated the relevant tests, take a look and thanks a lot for your feedback! 😄 |
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.
Thanks!
Co-authored-by: Pradyun Gedam <[email protected]>
@pradyunsg thanks for the additional review 😄 |
This PR has two approvals and all tests are passing, is there anything else blocking the merge? Could you please link it to #8640? |
@pradyunsg @uranusjr could you give us a hand here? |
Merged, not because I reviewed this but since there's 2 other approvals already. Thanks for the PR @NoahGorny and for the nudge here @ivanst0! :) |
Thanks for fixing #8103! Could I suggest that documentation is updated as well? Currently it says:
But with this fix it should be:
|
Resolves #8103
@pfmoore you are welcome to take a look 😄
Not sure how to test this though, maybe just check that
session.auth.index_urls
is updated as expected in a test?