django / channels

Developer-friendly asynchrony for Django

Home Page:https://channels.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

contributing guide: ran into an issue while installing tests

learningboiz opened this issue · comments

Followed the contribution guide and faced an error when installing the tests.

Specs

  • Python 3.9.12
  • Django 4.2.1
  • zsh 5.8.1

Steps to reproduce

  1. Fork django/channels repo
  2. Clone repo into local machine with git clone git@github.com:your-username/channels.git
  3. Activate virtual environment
  4. Move into channels directory with cd channels
  5. Install tests with python -m pip install -e .[tests]

Error
zsh: no matches found: .[tests]

After some research, I identified that the [] might have been interpreted by zsh as a wildcard to match files similar to tests. After wrapping it around quotations (i.e '[tests]'), I managed to succeed with installations.

Not sure if it's just an isolated issue — just thought to raise it up in case it's worth mentioning.

Yes it's a zsh vs bash thing. You could suggest a change there if you'd like! Thanks.

Sure thing, I've raised a PR regarding this. Sorry it took awhile — was swamped recently.