realiti4 / pip-upgrade

Upgrade your pip packages with one line. A fast, reliable and easy tool for upgrading all of your packages while not breaking any dependencies
MIT License
34 stars 3 forks source link

Error while parsing package [ ... ] (skipping) #16

Closed milosivanovic closed 9 months ago

milosivanovic commented 9 months ago

I am getting this while running pip-upgrade. It is handling the error gracefully, but the update for pytz is being skipped.

Error while parsing package pytz==2023.3 (skipping).
Exception:  Invalid version: '2004d'
realiti4 commented 9 months ago

Hi,

That error looks different than what we have in code. Maybe packaging library generates it? Could you share the full output please? A requirements.txt from the env you are trying to upgrade would help too.

Also is it true that you are trying to upgrade pytz from 2004d, because it looks like that version is released in 2004.

milosivanovic commented 9 months ago

Sorry, the upgrade software I was using was pip-upgrade. Your repository seems to be pip-upgrade-tool which is a different piece of software. Apologies for the noise.

realiti4 commented 9 months ago

No problem at all. Please feel free to try this repo as well if it meets your needs.