1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
pip/tests/data
Miro Hrončok 98aa09cf88 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 https://github.com/pypa/pip/issues/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 https://github.com/pypa/pip/issues/7872
2020-03-19 18:07:56 +01:00
..
backends PEP 517 tests 2018-10-29 23:33:21 +01:00
completion_paths Improve autocompletion function on file name completion (#5125) 2018-06-21 22:59:31 +05:30
indexes Add functional tests for 'yanked' files 2019-09-28 01:07:48 +03:00
packages Remove unused futurewheel fixture 2020-01-31 19:33:51 -05:00
packages2 break up tests dir into data, unit tests, and functional tests 2013-05-29 13:41:12 -07:00
packages3 Correct capitalization of PyPI 2018-09-16 15:30:52 -07:00
reqfiles Issue #2675: Granular control over wheels/sdists 2015-04-24 08:52:48 +12:00
src Prevent infinite recursion with pip wheel with $TMPDIR in $PWD 2020-03-19 18:07:56 +01:00