Skip to content

Implement "upgrade interactive" command #8

@djmattyg007

Description

@djmattyg007

Yarn (the Javascript package management tool) has an "upgrade interactive" command. It presets all updates available for all packages in package.lock, and for each package lets you choose whether you want to go to the very latest version (even if it's a new major version), to just the latest minor/patch version, or no change at all.

I think it would be great to see such a feature for poetry too. It would help to resolve certain version conflicts that just using up --latest can't deal with.

For example, at the time of writing, flake8-eradicate v1.4.0 has a dependency restriction of ">=3.5,<6" on flake8. Using up --latest fails when both of these packages are installed, because it's unresolvable. The latest version of flake8 is 6.x, and that's not compatible with the latest version of flake8-eradicate, so the dependency resolver doesn't know what to do and gives up.

If I could choose which updates I want for each package, I could deal with this problem directly. At the moment, the only solution I have is to manually update some dependencies and not use up --latest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions