achillesrasquinha / pipupgrade

🗽 Like yarn outdated/upgrade, but for pip. Upgrade all your pip packages and automate your Python Dependency Management.
https://git.io/pipupgrade
MIT License
587 stars 28 forks source link

Cli options and upgrade type selection #151

Open h1771t opened 1 year ago

h1771t commented 1 year ago

Description

pipupgrade --upgrade-type patch Django Gives me: pipupgrade: error: argument --upgrade-type: invalid choice: 'Django' (choose from 'major', 'minor', 'patch')

pipupgrade Django --upgrade-type patch

Seems to be ok with cli params but wants to update django minor too, not just patch:

Name   Current Version Latest Version Home Page                     
------ --------------- -------------- ------------------------------
Django 4.1.7           4.2            https://www.djangoproject.com/

How do I patch upgrade Django (not minor)

/usr/local/lib/python3.10/dist-packages# pipupgrade --version
0.5.8

OS is 22.04.2 LTS

Screenshot

No response

Console errors

No response