Survey of requirementslib users and plan to drop pip-shims #335
matteius
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Plan to remove pip-shims
I am taking a moment to announce a bigger change to requirementslib that would bring it to version 2.0.0 and drop pip-shims usage entirely. Here is the relevant PR: #334
Are you a consumer of
requirementslib
?What I am trying to understand is who the big consumers of
requirementslib
are beyond the realms ofpipenv
? If you happen to see this discussion and are a consumer ofrequirementslib
please take a moment to comment. The impact of the change to removepip-shims
is that not as wide of versions ofpip
will be supported going forward.Notes from the news fragment:
requirementslib
has converted off of pip-shims project which had grown into a complicated interface to usingpip
.It was problematic because
pip-shims
could never foresee and accommodate future looking changes to internal interfaces ofpip
.Also,
pip-shims
slowed down this library and required downstream tools such aspipenv
to continue vendoring it despite having already dropped usages.Due to the impact of this change, it requires a major version increase of
requirementslib
to2.0.0
To utilize version
2.0.0
ofrequirementslib
, ensure you havepip>=22.2
as this has not been fully tested to support earlier versions ofpip
Breakage of the internal
pip
interface usage is possible with earlier versions.Additionally, the interface on
NamedRequierment
renamed class methodget_dependencies
todependencies
andget_abstract_dependencies
toabstract_dependencies
in order to match interface withLine
class and avoid naming collision with the utility methods they call.Beta Was this translation helpful? Give feedback.
All reactions