Skip to content

Conversation

@kdmukai
Copy link
Contributor

@kdmukai kdmukai commented Jun 9, 2025

No description provided.

@notTanveer
Copy link

notTanveer commented Jun 22, 2025

This applies to Linux users as well, or anyone using zsh. I've also faced teh same issue earlier. the issue is shell-specific rather than OS-specific - zsh requires quotes around the brackets because it treats square brackets as special characters for globbing (also known as pathname expansion), so they need to be quoted to be interpreted literally.

the reason this affects macOS by default is that macOS has used zsh as the default shell since Catalina, where [] are treated as glob patterns for character classes. However, many Linux users(like myself) have also switched to zsh and would encounter the same issue.

I think the note should be updated to reflect this:

# Note: zsh and some other shells require quotes around brackets:
pip install -e ".[dev]"

@kdmukai
Copy link
Contributor Author

kdmukai commented Jun 29, 2025

Thanks, @notTanveer! PR updated!

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.

3 participants