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

Add macos shebang workaround description #1204

Merged
merged 3 commits into from Jan 13, 2024

Conversation

Gitznik
Copy link
Contributor

@Gitznik Gitznik commented Jan 12, 2024

  • I have added an entry to docs/changelog.md

Summary of changes

Add docs for shebang path issues on macOS according to #1198

closes #1198

gaborbernat
gaborbernat previously approved these changes Jan 12, 2024
Copy link
Contributor

@gaborbernat gaborbernat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gaborbernat gaborbernat enabled auto-merge (squash) January 12, 2024 23:11
docs/troubleshooting.md Outdated Show resolved Hide resolved
docs/troubleshooting.md Outdated Show resolved Hide resolved
auto-merge was automatically disabled January 13, 2024 08:50

Head branch was pushed to by a user without write access

Co-authored-by: chrysle <fritzihab@posteo.de>
Co-authored-by: Jason Lam <meowmeowcat1211@gmail.com>
@Gitznik Gitznik requested a review from dukecat0 January 13, 2024 08:50
@dukecat0 dukecat0 enabled auto-merge (squash) January 13, 2024 09:02
@chrysle chrysle closed this Jan 13, 2024
auto-merge was automatically disabled January 13, 2024 14:19

Pull request was closed

@chrysle chrysle reopened this Jan 13, 2024
@chrysle chrysle enabled auto-merge (squash) January 13, 2024 14:19
@chrysle chrysle merged commit 4dd1b6b into pypa:main Jan 13, 2024
26 checks passed
@jaraco
Copy link
Member

jaraco commented Mar 25, 2024

As pointed out in this comment, the issue isn't specific to macOS. It affects all Unix systems because Unix is hostile to spaces in filenames. It just happens to affect pipx users on macOS because pipx has opted to use the recommended platform dirs for mac that include spaces.

Also, as pointed out in the docutils comment, this documented workaround is slightly terrible. It requires mutating the install on every package install or update. It also requires polluting the user's ~/Library, which affects tab completion and is just ugly.

(thanks though for working on a solution; I respect the work here)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

$PIPX_HOME on macOS since release 1.3.0 breaks many scripts
5 participants