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
The documentation mentions and shows example of simple equality operations. But it does not work with installed packaging package.
Expected:
# You can do simple comparisons between requirement objects:>>>Requirement("packaging") ==Requirement("packaging")
True>>># You can also perform simple comparisons between sets of requirements:>>>requirements1= {Requirement("packaging"), Requirement("pip")}
>>>requirements2= {Requirement("pip"), Requirement("packaging")}
>>>requirements1==requirements2
This was already implemented in #499 but not yet released. The documentation is not wrong either since the link is latest (which reflects the main branch); documentation for the stable version does not contain the example.
The documentation mentions and shows example of simple equality operations. But it does not work with installed
packaging
package.Expected:
Actual:
Version:
Python 3.9
packaging 21.3
Documentation: https://packaging.pypa.io/en/latest/requirements.html
The text was updated successfully, but these errors were encountered: