You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#505 / #515 added a installed kwarg to SpecifierSet.contains.
PER 440 says:
Pre-releases of any kind, including developmental releases, are implicitly excluded from all version specifiers, unless they are already present on the system, explicitly requested by the user, or if the only available version that satisfies the version specifier is a pre-release.
This implies that SpecifierSet(">=1,<2").contains('1.5a1', installed=True) should be True. However, this returns False.
(The docstring should also be updated to document the installed kwarg!)
The text was updated successfully, but these errors were encountered:
#505 / #515 added a
installed
kwarg toSpecifierSet.contains
.PER 440 says:
This implies that
SpecifierSet(">=1,<2").contains('1.5a1', installed=True)
should be True. However, this returns False.(The docstring should also be updated to document the
installed
kwarg!)The text was updated successfully, but these errors were encountered: