Skip to content

Pip conflict resolution update: 2020-resolver #12

@lucbouge

Description

@lucbouge

Dear colleagues,

Thank you so much for your excellent software. I use it on a daily basis to update my Python configuration.

I have just been warned by pip people that their dependency conflict resolution procedure is about to change. This is welcome, as it is pretty simplistic as of now, whereas other package management software feature advanced strategies.

Error: ERROR: After October 2020 you may experience errors when installing or updating packages. 
This is because pip will change the way that it resolves dependency conflicts.

Reference: https://blog.python.org/2020/07/upgrade-pip-20-2-changes-20-3.html

It took me some time to understand how to tell pip_upgrade_outdated about it, as I missed the line Any unknown arguments will be passed to pip in the help message.

pip_upgrade_outdated --pip_cmd 'pip3' --exclude pip --use-feature=2020-resolver

I would suggest to make --use-feature=2020-resolver as a default option from now on and to issue a warning to the user.

By the way, I would also suggest to exclude pip by default from the update. Pip updating pip is likely to run into trouble when a new version of pip is issued. A warning would be a better option.

Best regards,

Luc.

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