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

Tests using virtual environments: pass the copy of existing env to the subprocesses #3133

Merged
merged 3 commits into from Feb 28, 2022

Commits on Feb 27, 2022

  1. Prevent leaking PYTHONPATH to spawned processes in tests

    This enhances environment isolation, as in special cases, like downstream
    distro packaging, PYTHONPATH can be set to point to a specific setuptools
    codebase. When it leaks, it shadows the virtual environment's paths and
    produces wrong test results.
    befeleme authored and mergify-bot committed Feb 27, 2022
    Configuration menu
    Copy the full SHA
    342f19f View commit details
    Browse the repository at this point in the history
  2. Add news fragment

    befeleme authored and mergify-bot committed Feb 27, 2022
    Configuration menu
    Copy the full SHA
    6cabd18 View commit details
    Browse the repository at this point in the history
  3. Apply suggestions from code review

    abravalheri authored and mergify-bot committed Feb 27, 2022
    Configuration menu
    Copy the full SHA
    634dd7e View commit details
    Browse the repository at this point in the history