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

Test suite compatibility with the latest virtualenv >= 20.0.0 #8441

Closed
wants to merge 14 commits into from

Commits on Sep 1, 2020

  1. Configuration menu
    Copy the full SHA
    90e6bc6 View commit details
    Browse the repository at this point in the history
  2. Convert virtualenv usages in test to 20+ API

    virtualenv 20.0+ completely revamps its API:
    
    * There's no path_locations() anymore. Stdlib sysconfig can replace it
      completely.
    * The Python API to create an environment is split into several pieces.
      Use the entry point function for now to provide the functionality.
    uranusjr authored and frenzymadness committed Sep 1, 2020
    Configuration menu
    Copy the full SHA
    875d6bc View commit details
    Browse the repository at this point in the history
  3. Remove virtualenv fixup

    I *think* virtualenv fixed these? We'll see.
    uranusjr authored and frenzymadness committed Sep 1, 2020
    Configuration menu
    Copy the full SHA
    9270814 View commit details
    Browse the repository at this point in the history
  4. Always use PEP 405 sitecustomize

    uranusjr authored and frenzymadness committed Sep 1, 2020
    Configuration menu
    Copy the full SHA
    9fe203b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    346f1b8 View commit details
    Browse the repository at this point in the history
  6. Better virtualenv introspection

    uranusjr authored and frenzymadness committed Sep 1, 2020
    Configuration menu
    Copy the full SHA
    c2825b8 View commit details
    Browse the repository at this point in the history
  7. Sync system site packages on user_site_packages

    This is what the old virtualenv implementation did, so we match that.
    uranusjr authored and frenzymadness committed Sep 1, 2020
    Configuration menu
    Copy the full SHA
    72d33a7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7272fa2 View commit details
    Browse the repository at this point in the history
  9. Skip test_build_env_isolation on Python 2

    The latest virtualenv does some dark magic for sys.path in
    Python 2 so the BuildEnvironment is no longer isolated here.
    
    See: pypa/virtualenv#1861
    frenzymadness committed Sep 1, 2020
    Configuration menu
    Copy the full SHA
    02fb33f View commit details
    Browse the repository at this point in the history
  10. Fix test_install_pep508_with_url_*

    These tests should not have access to site packages so
    they always install the package into an empty environment.
    frenzymadness committed Sep 1, 2020
    Configuration menu
    Copy the full SHA
    2301e62 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    85e69b7 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    88ca32a View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    f7bb8a5 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    78ef0f6 View commit details
    Browse the repository at this point in the history