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

Support '--use-feature' in requirements files #8601

Merged
merged 5 commits into from
Jul 27, 2020

Commits on Jul 18, 2020

  1. Support '--use-feature' in requirements files

    This patch adds support for `--use-feature` in requirements files
    so that a project that wants all contributors using the same pip
    features can specify it in the requirements file. For example, to ensure
    a requirements file uses the new resolver:
    
    ```
    --use-feature=2020-resolver
    boto3
    boto3==1.13.13
    ```
    
    This is a new version of pypa#8293.
    rouge8 committed Jul 18, 2020
    Configuration menu
    Copy the full SHA
    3eef588 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2020

  1. Configuration menu
    Copy the full SHA
    d6b0481 View commit details
    Browse the repository at this point in the history
  2. Attempt to test --use-feature in pip freeze

    I can't get the functional tests to run locally...
    rouge8 committed Jul 19, 2020
    Configuration menu
    Copy the full SHA
    7a3c802 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2020

  1. Percolate --use-feature from req file upwards

    We explicitly propagate --use-feature options from req files upwards.
    This is not strictly necessary for the option to be enabled, because
    of the default value is a global list, but that implicit behaviour is
    certainly accidental, so we make it explicit, with a test.
    sbidoul committed Jul 25, 2020
    Configuration menu
    Copy the full SHA
    38fe3c2 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2 from sbidoul/use-feature-test

    Percolate --use-feature from req file upwards
    rouge8 authored Jul 25, 2020
    Configuration menu
    Copy the full SHA
    e399b12 View commit details
    Browse the repository at this point in the history