Skip to content
This repository was archived by the owner on Dec 21, 2023. It is now read-only.

Conversation

@KaunilD
Copy link

@KaunilD KaunilD commented May 27, 2023

What

  1. added a check for pip version if it is <20.2.*
  2. if pip is < 20.2.* then we add a --user-resolver=2020-resolver to the pip install

Why

  1. Most of the systems in 2023 have pip versions > 20.2 where the 2020-resolver is a default and no longer needed. explicitly specifying it raises a unidentified resolver error
  2. reference: https://pip.pypa.io/en/stable/user_guide/?highlight=2020-resolver#deprecation-timeline

U/X

  1. No changes in user flags.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant