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

pipx has been added, but is configured incorrectly #9607

Closed
2 of 13 tasks
dalemyers opened this issue Apr 2, 2024 · 2 comments
Closed
2 of 13 tasks

pipx has been added, but is configured incorrectly #9607

dalemyers opened this issue Apr 2, 2024 · 2 comments
Assignees
Labels
Area: Python awaiting-deployment Code complete; awaiting deployment and/or deployment in progress bug report OS: macOS

Comments

@dalemyers
Copy link

Description

In the latest macOS 13 arm64 image, pipx is now installed. However, it has been installed with the PIPX_BIN_DIR and PIPX_HOME variables set in a way which means the tool doesn't work.

Here's what they are set to:

PIPX_BIN_DIR=/usr/local/opt/pipx_bin
PIPX_HOME=/usr/local/opt/pipx

By default, these should be:

PIPX_HOME="$HOME/Library/Application Support/pipx"
PIPX_BIN_DIR="$HOME/.local/bin"

With the ones that are set, we cannot use pipx as it tries to set up a virtual environment for itself and fails due to lack of access to that path. The workaround is to manually set the environment variables before using it.

Platforms affected

  • Azure DevOps
  • 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
  • macOS 14 Arm64
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

Runner Image
Image: macos-13-arm64
Version: 20240219.3
Included Software: https://github.com/actions/runner-images/blob/macos-13-arm64/20240219.3/images/macos/macos-13-arm64-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/macos-13-arm64%2F20240219.3

Is it regression?

20240219.3

Expected behavior

See above

Actual behavior

See above

Repro steps

See above

@sergei-pyshnoi
Copy link
Contributor

Hello @dalemyers . Thanks for your report. We are working on it.

@erik-bershel
Copy link
Contributor

macOS arm64-based Images with the updated config delivered. 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Python awaiting-deployment Code complete; awaiting deployment and/or deployment in progress bug report OS: macOS
Projects
None yet
Development

No branches or pull requests

4 participants