django / django/channels

contributing guide: ran into an issue while installing tests

Open
#2,012 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
6.4k
Forks
826
PR merge metrics
No merged PRs in 30d

Description

Followed the contribution [guide](https://github.com/django/channels/blob/main/CONTRIBUTING.rst#quick-setup) 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.