Hello, the new version of pipx (1.5.0) has updated the default location for pipx managed virtual environments. The main reason for doing this was to avoid issues on macOS and Windows.
It seems the custom locations runner-images uses for the macOS arm64 runner and the windows runner have spaces in their paths. This results in this message being displayed in the log when using pipx:
Found a space in the home path. We heavily discourage this, due to multiple
incompatibilities. Please check our docs for more information on this, as
well as some pointers on how to migrate to a different home path.
It might be worth changing the PIPX_HOME directory for these runners.
In case it is useful, here is the pipx code that sets the default locations for the different platforms.
Thanks!
Platforms affected
[ ] Azure DevOps
[X] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners
Runner images affected
[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 11
[ ] macOS 12
[ ] macOS 13
[ ] macOS 13 Arm64
[ ] macOS 14
[X] macOS 14 Arm64
[ ] Windows Server 2019
[X] Windows Server 2022
Image version and build link
I saw this on a job I ran on both:
GitHub Actions macos-14-arm64 20240405.1
GitHub Actions windows-2022 20240414.1.0
Is it regression?
No, an update to pipx.
Expected behavior
No warning when using pipx.
Actual behavior
The following warning message when running pipx:
Found a space in the home path. We heavily discourage this, due to multiple
incompatibilities. Please check our docs for more information on this, as
well as some pointers on how to migrate to a different home path.
Description
Hello, the new version of
pipx
(1.5.0) has updated the default location forpipx
managed virtual environments. The main reason for doing this was to avoid issues onmacOS
andWindows
.It seems the custom locations
runner-images
uses for themacOS arm64
runner and thewindows
runner have spaces in their paths. This results in this message being displayed in the log when usingpipx
:It might be worth changing the
PIPX_HOME
directory for these runners.In case it is useful, here is the
pipx
code that sets the default locations for the different platforms.Thanks!
Platforms affected
Runner images affected
Image version and build link
I saw this on a job I ran on both:
Is it regression?
No, an update to pipx.
Expected behavior
No warning when using pipx.
Actual behavior
The following warning message when running pipx:
Repro steps
Use pipx on windows or macos Arm64.