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
Description
This PR [https://github.com/pypa/setuptools/pull/2822] remove the reliance on LegacyVersion.
Since then, the pip modules could be broken, if there is an InvalidVersion (before, it was only a LegacyVersion) on the pip repo you're using.
Since we were using a custom pip repo (mirror + some custom packages), with some old version, some method on the pip modules would not work. In particular:
pip.list_all_versions
pip.installed (this call pip.list_all_versions)
Probably some others method that call pip.list_all_versions
Setup
Nothing really specific to salt.
Steps to Reproduce the behavior
Have an invalid version in the pip repo history, and then you can't even install the current latest version (which could be valid), since the list_all_versions is failing due to this.
Expected behavior
At least ignore the non-standard version, except of failing completly
Versions Report
3006.8
I will provide a PR soon, since it was quite critical (and we couldn't remove the package from the repo)
The text was updated successfully, but these errors were encountered:
Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey.
Please be sure to review our Code of Conduct. Also, check out some of our community resources including:
There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar.
If you have additional questions, email us at saltproject@vmware.com. We’re glad you’ve joined our community and look forward to doing awesome things with you!
Legrems
added a commit
to ArcaniteSolutions/salt
that referenced
this issue
Jul 3, 2024
Description
This PR [https://github.com/pypa/setuptools/pull/2822] remove the reliance on LegacyVersion.
Since then, the pip modules could be broken, if there is an InvalidVersion (before, it was only a LegacyVersion) on the pip repo you're using.
Since we were using a custom pip repo (mirror + some custom packages), with some old version, some method on the pip modules would not work. In particular:
Setup
Nothing really specific to salt.
Steps to Reproduce the behavior
Have an invalid version in the pip repo history, and then you can't even install the current latest version (which could be valid), since the list_all_versions is failing due to this.
Expected behavior
At least ignore the non-standard version, except of failing completly
Versions Report
3006.8
I will provide a PR soon, since it was quite critical (and we couldn't remove the package from the repo)
The text was updated successfully, but these errors were encountered: