Skip to content

Cli options and upgrade type selection #151

@h1771t

Description

@h1771t

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions