pyodide / micropip

A lightweight Python package installer for Pyodide
https://micropip.pyodide.org
Mozilla Public License 2.0
76 stars 21 forks source link

Skip invalid versions on PyPI #54

Closed rth closed 1 year ago

rth commented 1 year ago

With this change, micropip would skip invalid versions (those that cannot be parsed with packaging.version.Version) when looking at available versions on PyPi.

Otherwise, with lastest packaging the current situation is to error, when there is even one invalid version in the list as was the case with pytz in 2004 in https://github.com/pyodide/pyodide/pull/3605#issuecomment-1442612037