Open Carreau opened 5 days ago
Ok, this is because the filter operation of packaging is not distributive:
In [29]: list(SpecifierSet('').filter(['1.0','2.2.0.dev']))
Out[29]: ['1.0']
In [30]: list(SpecifierSet('').filter(['2.2.0.dev']))
Out[30]: ['2.2.0.dev']
found when working on #159, in particular https://github.com/pyodide/micropip/pull/159#issuecomment-2493771874
Tracked down to:
This also lead to weird things:
but (note the lack of <3)
I don't know if it's a packaging bug, or an incorrect usage of packaging; so I'm opening the issue here.