From 85e065e1ad45b44efc18cbd481affb9c03b2dba3 Mon Sep 17 00:00:00 2001 From: Glenn Date: Fri, 23 Jun 2023 13:15:46 -0400 Subject: [PATCH] Feat/dependabot (#493) * feat: dependabot - add dependabot yml file to look in the docker & requirements folders - split the requirements out of the test.pip into a test-requirements.pip file so dependabot recognizes it It was found that in order to have the python dependabot recognize the requirements a naming convention had to be followed * feat: dependabot alter to monthly --- .github/dependabot.yml | 13 +++++++++++++ requirements/test-requirements.txt | 11 +++++++++++ requirements/test.pip | 13 +------------ 3 files changed, 25 insertions(+), 12 deletions(-) create mode 100644 .github/dependabot.yml create mode 100644 requirements/test-requirements.txt diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..cf44df8 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,13 @@ +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: "pip" + directory: "/docker" + schedule: + interval: "monthly" + - package-ecosystem: "pip" + directory: "/requirements" + schedule: + interval: "monthly" + diff --git a/requirements/test-requirements.txt b/requirements/test-requirements.txt new file mode 100644 index 0000000..3c322aa --- /dev/null +++ b/requirements/test-requirements.txt @@ -0,0 +1,11 @@ +gevent>=1.1b4; python_version >= '3' +httpx +pip +passlib>=1.6 +pytest>=6.2.2 +pytest-cov +setuptools>=40.0,<62.0.0 +tox +twine +webtest +wheel>=0.25.0 diff --git a/requirements/test.pip b/requirements/test.pip index 6658434..96e039b 100644 --- a/requirements/test.pip +++ b/requirements/test.pip @@ -1,14 +1,3 @@ # Just the absolutely necessary extra requirements for # running tests - -gevent>=1.1b4; python_version >= '3' -httpx -pip -passlib>=1.6 -pytest>=6.2.2 -pytest-cov -setuptools>=40.0,<62.0.0 -tox -twine -webtest -wheel>=0.25.0 +-r test-requirements.txt