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

Prevent infinite recursion with pip wheel with $TMPDIR in $PWD #7873

Merged
merged 2 commits into from
Apr 10, 2020

Commits on Mar 19, 2020

  1. Prevent infinite recursion with pip wheel with $TMPDIR in $PWD

    During a build of extension module within `pip wheel` the source directory is
    recursively copied in a temporary directory.
    
    See pypa#7555
    
    When the temporary directory is inside the source directory
    (for example by setting `TMPDIR=$PWD/tmp`) this caused an infinite recursion
    that ended in:
    
        [Errno 36] File name too long
    
    We prevent that buy never copying the target to the target in _copy_source_tree.
    
    Fixes pypa#7872
    hroncok committed Mar 19, 2020
    Configuration menu
    Copy the full SHA
    98aa09c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eb070d2 View commit details
    Browse the repository at this point in the history