You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have a session-scoped fixture which creates a temporary directory
Populate the directory with symlinks to whitelisted build tools identified by shutil.which like gcc/clang
Depend on that fixture here, adding the temporary directory to PATH
Describe alternatives you've considered
Previously, we just added some paths to the bin path (see PR #269 to fix Issue #266) but this resulted in undesired side-effects and was removed (#298, #299 )
The text was updated successfully, but these errors were encountered:
The trick would be how best to make this work on Windows, with no symlinks, and without requiring pywin32 as a new dependency (e.g. to make windows shortcuts). A cheap way might be *.bat files?
Adding a note here that the reason we don't have access to the normal system path, is that currently tests/conftest.py removes all paths from the system PATH except the pipx app bin path, with the following line:
How would this feature be useful?
Currently, with a package that requires compilation, tests that install it fail on macOS (such as regex dependency inside of black).
Additionally, it would be helpful to add
git
and other VCS tools so that we could test installing package specifications with VCS urls.Describe the solution you'd like
The solution that @chrahunt mentioned (#298 (comment)), quoted below:
Describe alternatives you've considered
Previously, we just added some paths to the bin path (see PR #269 to fix Issue #266) but this resulted in undesired side-effects and was removed (#298, #299 )
The text was updated successfully, but these errors were encountered: