Skip to content
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

remove flag to use pip 2020 solver from Github Action pip install command on OSX #1357

Merged
merged 8 commits into from
Jan 18, 2022

Conversation

valeriupredoi
Copy link
Contributor

@valeriupredoi valeriupredoi commented Oct 12, 2021

Description

That flag will introduce an error in pip=21.0 so let's just get rid of it (it is now the default solver, so all's safe and sound). See example warning


Checklist

It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.


To help with the number pull requests:

@codecov
Copy link

codecov bot commented Oct 12, 2021

Codecov Report

Merging #1357 (f401e81) into main (4b8bf66) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1357   +/-   ##
=======================================
  Coverage   89.59%   89.59%           
=======================================
  Files         196      196           
  Lines       10273    10273           
=======================================
  Hits         9204     9204           
  Misses       1069     1069           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4b8bf66...f401e81. Read the comment docs.

Copy link
Contributor

@bvreede bvreede left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I turned on tests for this PR, but tests now fail -- regardless of the presence of the feature resolver flag. Not sure what is up, but failing tests is a bad sign I'd say :)

@valeriupredoi
Copy link
Contributor Author

cheers @bvreede - they are indeed failing and the fails are not related to this PR (neither the solver) but to #1358 and the linked issue with the new pip - not a worry, the solver opt is good to be removed, it's pip they need to sort out their stuff 😁 You can try force pip 21.2.4 and see all goes fine 👍

@zklaus
Copy link

zklaus commented Oct 15, 2021

@bvreede that was indeed due to the broken pip and is fixed now. Could you have another look?

@zklaus zklaus requested a review from bvreede October 15, 2021 13:14
@valeriupredoi
Copy link
Contributor Author

@schlunma you mind giving me a quick review here please mate? We need to get this in ideally for the release 🍺

@schlunma
Copy link
Contributor

Can you briefly explain what --use-feature=2020-resolver was supposed to achieve and why we can remove it now?

Apart from that the changes look fine to me!

@valeriupredoi
Copy link
Contributor Author

@schlunma yis, good point! Pip introduced a more robust but different dependency resolver back when were were all working from home (sneaky! 😁 ), see communication release and that was breaking some stuffs back then, now it's the default resolver and the call to use the older resolver is deprecated and will introduce an error if used 👍 🍺

Copy link
Contributor

@schlunma schlunma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cheers, thanks for the explanation!

@valeriupredoi
Copy link
Contributor Author

cheers much for reviewing, Manu! 🍺

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants