From f381e14e8fe35fb83f83c0b1567193381d34062e Mon Sep 17 00:00:00 2001 From: edX requirements bot Date: Mon, 17 Jan 2022 08:42:09 -0500 Subject: [PATCH] chore: Post Django32 Cleanup fix: fix Django dependency --- .github/workflows/ci.yml | 4 ++-- requirements/dev.txt | 2 +- requirements/test.txt | 2 +- tox.ini | 18 ++++++++---------- 4 files changed, 12 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 90c708d..e0fa05d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: matrix: os: [ubuntu-20.04] python-version: ['3.8'] - toxenv: [django22, django30, django31, django32, quality] + toxenv: [quality, django32, django40] steps: - uses: actions/checkout@v1 - name: setup python @@ -36,7 +36,7 @@ jobs: run: make test - name: Run Coverage - if: matrix.python-version == '3.8' && matrix.toxenv=='django22' + if: matrix.python-version == '3.8' && matrix.toxenv=='django32' uses: codecov/codecov-action@v1 with: flags: unittests diff --git a/requirements/dev.txt b/requirements/dev.txt index c4c11c0..4bcd0a6 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -107,7 +107,7 @@ idna==3.3 # -r requirements/ci.txt # -r requirements/test.txt # requests -importlib-metadata==4.10.0 +importlib-metadata==4.10.1 # via # -r requirements/test.txt # keyring diff --git a/requirements/test.txt b/requirements/test.txt index 48a1b35..5521413 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -68,7 +68,7 @@ idna==3.3 # via # -r requirements/base.txt # requests -importlib-metadata==4.10.0 +importlib-metadata==4.10.1 # via # keyring # twine diff --git a/tox.ini b/tox.ini index 5877edf..6702625 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py38-django{22,30,31,32}, quality +envlist = py38-django{32,40}, quality [pytest] DJANGO_SETTINGS_MODULE = test_settings @@ -8,17 +8,15 @@ norecursedirs = .* docs requirements [testenv] deps = - django22: Django>=2.2,<2.3 - django30: Django>=3.0,<3.1 - django31: Django>=3.1,<3.2 - django32: Django>=3.2,<3.3 - -r{toxinidir}/requirements/test.txt + django32: Django>=3.2,<4.0 + django40: Django>=4.0,<4.1 + -r{toxinidir}/requirements/test.txt commands = - pytest {posargs} + pytest {posargs} [testenv:quality] commands = - pycodestyle --config=.pep8 edx_rest_api_client - pylint --rcfile=pylintrc edx_rest_api_client - twine check {distdir}/* + pycodestyle --config=.pep8 edx_rest_api_client + pylint --rcfile=pylintrc edx_rest_api_client + twine check {distdir}/*