-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[CI] tmp_src fixture seems to be copying everything including .git #2921
Copy link
Copy link
Closed
Labels
Needs TriageIssues that need to be evaluated for severity and status.Issues that need to be evaluated for severity and status.bug
Description
setuptools version
v59.4.0
Python version
Python 3.8
OS
Ubuntu 20.04.3 LTS
Additional environment information
No response
Description
It seems that the tmp_src is copying everything under the project directory to a temporary folder including the .git directory (and possibly others like .tox). These directories can be quite heavy and error prone to copy.
My terminal got stuck when trying to run the test_pip_upgrade_from_source folder, then I decided to have a look on the temporary folder being produced by pytest, and I found git-related files there.
Expected behavior
The fixture should avoid copying unnecessary files.
How to Reproduce
- Run the tests (e.g.
test_pip_upgrade_from_source) - Inspect the temporary directory generated by pytest and look for a git folder.
Output
Code of Conduct
- I agree to follow the PSF Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Needs TriageIssues that need to be evaluated for severity and status.Issues that need to be evaluated for severity and status.bug
