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

Add support for pip>=22.0, drop support for Python 3.6 #1567

Merged
merged 11 commits into from
Feb 4, 2022

Commits on Feb 2, 2022

  1. Configuration menu
    Copy the full SHA
    941e5c8 View commit details
    Browse the repository at this point in the history
  2. Drop support for EOL Python 3.6

    hugovk authored and di committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    f717176 View commit details
    Browse the repository at this point in the history
  3. Daily cron: Test pip main on 3.10 but not 3.6

    hugovk authored and di committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    eb88812 View commit details
    Browse the repository at this point in the history
  4. Canonicalize the requirement name when rendering

    Since pip no longer guarantees that it will no longer normalize
    underscore (_) in distribution names to dash (-) in `pip freeze`, `pip
    list`, and `pip show` (https://pip.pypa.io/en/stable/news/#id73) , in
    the interest of minimizing churn, pip-compile should normalize
    requirements names instead. This will ensure there are no changes to
    requirements files compiled with earlier versions of pip-tools/pip.
    di committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    6d10505 View commit details
    Browse the repository at this point in the history
  5. Update test that doesn't rewrite requirements file

    This test doesn't actually modify the requirements file, so update it to
    start with a normalized requirement name so it can continue to expect a
    normalized requirement name.
    di committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    4c25f28 View commit details
    Browse the repository at this point in the history
  6. Update test that compares our output to pip freeze

    This is where we diverge from pip's output: pip no longer guarantees
    that it will canonicalize requirement names in `pip freeze` but we will
    continue to output canonicalized names.
    di committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    a38d6b6 View commit details
    Browse the repository at this point in the history
  7. Copy ireq.req instead of mutating it

    Co-authored-by: wouter bolsterlee <wouter@bolsterl.ee>
    di and wbolster committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    d1eba7f View commit details
    Browse the repository at this point in the history
  8. Remove stray line

    di committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    a6fe9b8 View commit details
    Browse the repository at this point in the history
  9. Import copy

    di committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    d6b39c5 View commit details
    Browse the repository at this point in the history
  10. Don't set up logging for newer versions of pip

    A new log handler for the 'console' logger was added in later versions
    of pip, which doesn't require this workaround.
    di committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    2250321 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2022

  1. Update README.rst

    Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
    di and hugovk authored Feb 3, 2022
    Configuration menu
    Copy the full SHA
    c06ab8f View commit details
    Browse the repository at this point in the history