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

Fix Pex emitting warnings about its Pip PEX venv. #1351

Merged

Commits on Jun 2, 2021

  1. Fix Pex emitting warnings about its Pip PEX venv.

    Previously we'd see:
    ```
    rm -rf ~/.pex
    $ pex pex -cpex -opex.pex
    /home/jsirois/.venv/pex/lib/python3.9/site-packages/pex/tools/commands/venv.py:141: PEXWarning: Encountered collision building venv at /home/jsirois/.pex/venvs/short/4bd8ddd4 from /home/jsirois/.pex/pip.pex/46820cb5af0dcf9295a4e7f30184cc0e9fa063dc:
    1. /home/jsirois/.pex/venvs/7fbdc9731d96d42f0de338b2dfbc6bbed1c938e7/832e95f85413646e8b7b056ab4e60414f83d7397.01034f69a38943809913ffdfd28dd5bf/lib/python3.9/site-packages/constraints.txt was provided by:
            /home/jsirois/.pex/pip.pex/46820cb5af0dcf9295a4e7f30184cc0e9fa063dc/.deps/setuptools/constraints.txt
            /home/jsirois/.pex/pip.pex/46820cb5af0dcf9295a4e7f30184cc0e9fa063dc/.deps/wheel/constraints.txt
      pex_warnings.warn(message)
    ```
    jsirois committed Jun 2, 2021
    Configuration menu
    Copy the full SHA
    2d044f7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4ce41b3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0df19e6 View commit details
    Browse the repository at this point in the history