From 275924b36397b190b7af7094750b17e16f0c6853 Mon Sep 17 00:00:00 2001 From: Jamie Matthews Date: Tue, 8 Dec 2020 13:37:26 +0000 Subject: [PATCH] Install Django REST framework during test runs, not on package installation --- .github/workflows/ci.yml | 2 +- setup.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e398fc7..f5a33eb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: - name: Install package run: pip install -e . - name: Install dependencies - run: pip install -U django==${{ matrix.django }} black + run: pip install -U django==${{ matrix.django }} black djangorestframework - name: Run tests run: python manage.py test - name: Run black diff --git a/setup.py b/setup.py index 0fead98..696bfc1 100644 --- a/setup.py +++ b/setup.py @@ -82,7 +82,6 @@ def get_package_data(package): python_requires=">=3.6", install_requires=[ "Django>=2.2", - "djangorestframework>=3.6.0" ], project_urls={ "Changelog": "https://github.com/dabapps/django-zen-queries/releases",