From 6f4ffd43a42e6dc710bc3e247d29ee658f840ef0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 7 Nov 2022 17:07:00 +0000 Subject: [PATCH 01/11] Bump pytest-xdist from 2.5.0 to 3.0.2 Bumps [pytest-xdist](https://github.com/pytest-dev/pytest-xdist) from 2.5.0 to 3.0.2. - [Release notes](https://github.com/pytest-dev/pytest-xdist/releases) - [Changelog](https://github.com/pytest-dev/pytest-xdist/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest-xdist/compare/v2.5.0...v3.0.2) --- updated-dependencies: - dependency-name: pytest-xdist dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- requirements/docker.txt | 2 +- requirements/local.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements/docker.txt b/requirements/docker.txt index d4731ee..b04a113 100644 --- a/requirements/docker.txt +++ b/requirements/docker.txt @@ -25,7 +25,7 @@ pytest==6.2.5 pytest-cov==3.0.0 pytest-django==4.5.2 pytest-forked==1.4.0 -pytest-xdist==2.5.0 +pytest-xdist==3.0.2 python-dateutil==2.8.2 python-monkey-business==1.0.0 pytz==2021.3 diff --git a/requirements/local.txt b/requirements/local.txt index f04b334..86cdc16 100644 --- a/requirements/local.txt +++ b/requirements/local.txt @@ -41,7 +41,7 @@ pytest==6.2.5 pytest-cov==3.0.0 pytest-django==4.5.2 pytest-forked==1.4.0 -pytest-xdist==2.5.0 +pytest-xdist==3.0.2 python-dateutil==2.8.2 python-monkey-business==1.0.0 pytz==2021.3 From 464a52074252bcf44d6dc535e09a9bba505070a2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 7 Nov 2022 17:07:05 +0000 Subject: [PATCH 02/11] Bump typing-extensions from 4.0.1 to 4.4.0 Bumps [typing-extensions](https://github.com/python/typing_extensions) from 4.0.1 to 4.4.0. - [Release notes](https://github.com/python/typing_extensions/releases) - [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md) - [Commits](https://github.com/python/typing_extensions/compare/4.0.1...4.4.0) --- updated-dependencies: - dependency-name: typing-extensions dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements/local.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/local.txt b/requirements/local.txt index f04b334..33f7b58 100644 --- a/requirements/local.txt +++ b/requirements/local.txt @@ -52,6 +52,6 @@ sqlparse==0.4.3 text-unidecode==1.3 toml==0.10.2 tomli==1.2.3 -typing-extensions==4.0.1 +typing-extensions==4.4.0 wrapt==1.13.3 yapf==0.32.0 From ac80a6deb56ae475adaab065b20946a67c5a603d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 7 Nov 2022 17:07:16 +0000 Subject: [PATCH 03/11] Bump autopep8 from 1.6.0 to 2.0.0 Bumps [autopep8](https://github.com/hhatto/autopep8) from 1.6.0 to 2.0.0. - [Release notes](https://github.com/hhatto/autopep8/releases) - [Commits](https://github.com/hhatto/autopep8/compare/v1.6.0...v2.0.0) --- updated-dependencies: - dependency-name: autopep8 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- requirements/local.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/local.txt b/requirements/local.txt index f04b334..ea36849 100644 --- a/requirements/local.txt +++ b/requirements/local.txt @@ -1,7 +1,7 @@ asgiref==3.4.1 astroid==2.9.0 attrs==21.4.0 -autopep8==1.6.0 +autopep8==2.0.0 black==21.12b0 click==8.0.3 coverage==6.5.0 From ffbb74531b6881d77be8383304248af286fd909d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 7 Nov 2022 17:07:21 +0000 Subject: [PATCH 04/11] Bump django-htmx from 1.8.0 to 1.12.2 Bumps [django-htmx](https://github.com/adamchainz/django-htmx) from 1.8.0 to 1.12.2. - [Release notes](https://github.com/adamchainz/django-htmx/releases) - [Changelog](https://github.com/adamchainz/django-htmx/blob/main/HISTORY.rst) - [Commits](https://github.com/adamchainz/django-htmx/compare/1.8.0...1.12.2) --- updated-dependencies: - dependency-name: django-htmx dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements/docker.txt | 2 +- requirements/local.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements/docker.txt b/requirements/docker.txt index d4731ee..02350d6 100644 --- a/requirements/docker.txt +++ b/requirements/docker.txt @@ -6,7 +6,7 @@ django-crispy-forms==1.14.0 django-filter==21.1 django-floppyforms==1.9.0 django-guardian==2.4.0 -django-htmx==1.8.0 +django-htmx==1.12.2 django-model-utils==4.2.0 django-nested-admin==3.4.0 django-tables2==2.4.1 diff --git a/requirements/local.txt b/requirements/local.txt index f04b334..71cc487 100644 --- a/requirements/local.txt +++ b/requirements/local.txt @@ -10,7 +10,7 @@ django-crispy-forms==1.14.0 django-filter==21.1 django-floppyforms==1.9.0 django-guardian==2.4.0 -django-htmx==1.8.0 +django-htmx==1.12.2 django-model-utils==4.2.0 django-nested-admin==3.4.0 django-tables2==2.4.1 From 423823a165155c083f853b51b228d4ca96ef9f2b Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Sat, 12 Nov 2022 22:46:46 +0100 Subject: [PATCH 05/11] Create tests.yml --- .github/workflows/tests.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..b100700 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,32 @@ +on: + push: + branches: [ "master" ] + pull_request: + # The branches below must be a subset of the branches above + branches: [ "master" ] + +env: + IMAGE_NAME: network_inventory + +jobs: + tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up Python 3.9 + uses: actions/setup-python@v2 + with: + python-version: 3.9 + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements/local.txt + - name: Lint with flake8 + run: | + # stop the build if there are Python syntax errors or undefined names + flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics + # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide + flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + - name: Test with pytest + run: | + pytest -nauto --ds=network_inventory.settings.ram_test --nomigrations From 1c1edd07405e21125b9c8f3fcc86a7c43b649117 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Sat, 12 Nov 2022 22:48:30 +0100 Subject: [PATCH 06/11] Update local.txt --- requirements/local.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/local.txt b/requirements/local.txt index f04b334..96cddb0 100644 --- a/requirements/local.txt +++ b/requirements/local.txt @@ -1,4 +1,4 @@ -asgiref==3.4.1 +asgiref==3.5.2 astroid==2.9.0 attrs==21.4.0 autopep8==1.6.0 From 8f979e2cd615183d1ef13b751024450d9c04a7ac Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 12 Nov 2022 21:49:37 +0000 Subject: [PATCH 07/11] Bump attrs from 21.4.0 to 22.1.0 Bumps [attrs](https://github.com/python-attrs/attrs) from 21.4.0 to 22.1.0. - [Release notes](https://github.com/python-attrs/attrs/releases) - [Changelog](https://github.com/python-attrs/attrs/blob/main/CHANGELOG.rst) - [Commits](https://github.com/python-attrs/attrs/compare/21.4.0...22.1.0) --- updated-dependencies: - dependency-name: attrs dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- requirements/docker.txt | 2 +- requirements/local.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements/docker.txt b/requirements/docker.txt index d4731ee..b2fffc5 100644 --- a/requirements/docker.txt +++ b/requirements/docker.txt @@ -1,5 +1,5 @@ asgiref==3.5.0 -attrs==21.4.0 +attrs==22.1.0 coverage==6.5.0 Django==4.1.3 django-crispy-forms==1.14.0 diff --git a/requirements/local.txt b/requirements/local.txt index 96cddb0..08f2fb4 100644 --- a/requirements/local.txt +++ b/requirements/local.txt @@ -1,6 +1,6 @@ asgiref==3.5.2 astroid==2.9.0 -attrs==21.4.0 +attrs==22.1.0 autopep8==1.6.0 black==21.12b0 click==8.0.3 From 5d167e5ba33745ddf7de689a4b787bad9ebbdfd0 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Sat, 12 Nov 2022 22:57:09 +0100 Subject: [PATCH 08/11] Update docker.txt --- requirements/docker.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/docker.txt b/requirements/docker.txt index d4731ee..7f08174 100644 --- a/requirements/docker.txt +++ b/requirements/docker.txt @@ -1,4 +1,4 @@ -asgiref==3.5.0 +asgiref==3.5.2 attrs==21.4.0 coverage==6.5.0 Django==4.1.3 From 55a45f46ca6ef973ed5199811d8ed9f1bac0ba3f Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Sat, 12 Nov 2022 23:00:31 +0100 Subject: [PATCH 09/11] Update local.txt --- requirements/local.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/local.txt b/requirements/local.txt index 57ca284..5bf6cd0 100644 --- a/requirements/local.txt +++ b/requirements/local.txt @@ -32,7 +32,7 @@ platformdirs==2.4.1 pluggy==1.0.0 py==1.11.0 pyaml==21.10.1 -pycodestyle==2.8.0 +pycodestyle==2.9.1 pyflakes==2.4.0 pylint==2.12.2 pyparsing==3.0.6 From b356d41ca89b45a138f5dfe534c4b4e5ddcdcfeb Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Sat, 12 Nov 2022 23:03:45 +0100 Subject: [PATCH 10/11] Remove indirect dependency --- requirements/local.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/requirements/local.txt b/requirements/local.txt index 27c3be7..f409453 100644 --- a/requirements/local.txt +++ b/requirements/local.txt @@ -32,7 +32,6 @@ platformdirs==2.4.1 pluggy==1.0.0 py==1.11.0 pyaml==21.10.1 -pycodestyle==2.9.1 pyflakes==2.4.0 pylint==2.12.2 pyparsing==3.0.6 From 4485f698376597e0f96b31822d7bed3f42524858 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Sat, 12 Nov 2022 23:06:27 +0100 Subject: [PATCH 11/11] Remove hard dependencies --- requirements/local.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements/local.txt b/requirements/local.txt index f409453..b36fa2e 100644 --- a/requirements/local.txt +++ b/requirements/local.txt @@ -1,7 +1,7 @@ asgiref==3.5.2 astroid==2.9.0 attrs==22.1.0 -autopep8==2.0.0 +autopep8 black==21.12b0 click==8.0.3 coverage==6.5.0 @@ -16,7 +16,7 @@ django-nested-admin==3.4.0 django-tables2==2.4.1 execnet==1.9.0 Faker==11.1.0 -flake8==4.0.1 +flake8 iniconfig==1.1.1 isort==5.10.1 jedi==0.18.1