Skip to content

Install requirements.txt with SETUPTOOLS_ENABLE_FEATURES=legacy-editable #1122

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

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install dependencies
run: |
pip install -U pip setuptools wheel
pip install -r ./requirements.txt
SETUPTOOLS_ENABLE_FEATURES=legacy-editable pip install -r ./requirements.txt

- name: Run pre-commit
run: pre-commit install && pre-commit run --all-files
Expand All @@ -43,7 +43,7 @@ jobs:
- name: Install dependencies
run: |
pip install -U pip setuptools wheel
pip install -r ./requirements.txt
SETUPTOOLS_ENABLE_FEATURES=legacy-editable pip install -r ./requirements.txt

- name: Run tests
run: pytest --mypy-ini-file=mypy.ini
Expand All @@ -68,7 +68,7 @@ jobs:
- name: Install dependencies
run: |
pip install -U pip setuptools wheel
pip install -r ./requirements.txt
SETUPTOOLS_ENABLE_FEATURES=legacy-editable pip install -r ./requirements.txt

- name: Run tests
run: python ./scripts/typecheck_tests.py --django_version="${{ matrix.django-version }}"
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ source .venv/bin/activate
Then install the dev requirements:

```bash
pip install -r ./requirements.txt
env SETUPTOOLS_ENABLE_FEATURES=legacy-editable pip install -r ./requirements.txt
```

Finally, install the pre-commit hooks:
Expand Down