Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor installer extras handling, fix small bug, drop support for very old lock files #9345

Merged

Commits on Jun 2, 2024

  1. installer: simplify logic for calculating operations regarding extras…

    … and fix small bug (python-poetry#9345)
    
    * Operations are completely calculated in `Transaction.calculate_operations()` so that we do not have to remember extra uninstalls between two calculations.
    * Previously, extras that were not requested were not uninstalled when running `poetry install` (without extras) if there was no lockfile, now it does not matter if there was a lockfile or not.
    * In `installer._get_extra_packages()` we do not have to distinguish between locked extras and extras in the pyproject.toml because both must be consistent.
    radoering committed Jun 2, 2024
    Configuration menu
    Copy the full SHA
    bd3500d View commit details
    Browse the repository at this point in the history
  2. locker/installer: drop support for reading very old lock files (prior…

    … lock file version 1.0 and Poetry 1.1) (python-poetry#9345)
    radoering committed Jun 2, 2024
    Configuration menu
    Copy the full SHA
    1615268 View commit details
    Browse the repository at this point in the history