From e5e67cd7426cc0654987337ce55369a9761e8c9f Mon Sep 17 00:00:00 2001 From: Luciana Abud Date: Mon, 23 Oct 2023 16:31:42 -0700 Subject: [PATCH 1/2] Fix workflow location and clean requirements.txt --- .github/dependabot.yml | 12 +++--- .github/{ => workflows}/test-application.yml | 2 +- requirements.in | 4 ++ requirements.txt | 42 +++++++++----------- 4 files changed, 29 insertions(+), 31 deletions(-) rename .github/{ => workflows}/test-application.yml (99%) create mode 100644 requirements.in diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 2f06dbc..ee3d10a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,6 +1,6 @@ -version: 2 -updates: - - package-ecosystem: "pip" - directory: "/" # Location of package manifests - schedule: - interval: "weekly" +version: 2 +updates: + - package-ecosystem: "pip" + directory: "/" # Location of package manifests + schedule: + interval: "weekly" diff --git a/.github/test-application.yml b/.github/workflows/test-application.yml similarity index 99% rename from .github/test-application.yml rename to .github/workflows/test-application.yml index d02cbb6..a067704 100644 --- a/.github/test-application.yml +++ b/.github/workflows/test-application.yml @@ -21,4 +21,4 @@ jobs: pip install -r requirements.txt - name: Start the app - run: uvicorn main:app --host 0.0.0.0 --port ${{ env.PORT }} \ No newline at end of file + run: uvicorn main:app --host 0.0.0.0 --port ${{ env.PORT }} diff --git a/requirements.in b/requirements.in new file mode 100644 index 0000000..584cfbc --- /dev/null +++ b/requirements.in @@ -0,0 +1,4 @@ +fastapi +uvicorn +redis +types-redis \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index b5ab0b0..9810bbf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,24 +1,18 @@ -annotated-types==0.6.0 -anyio==3.7.1 -certifi==2023.7.22 -cffi==1.16.0 -click==8.1.7 -cryptography==41.0.4 -fastapi==0.103.2 -h11==0.14.0 -httpcore==0.18.0 -httpx==0.25.0 -idna==3.4 -iniconfig==2.0.0 -packaging==23.2 -pluggy==1.3.0 -pycparser==2.21 -pydantic==2.4.2 -pydantic_core==2.10.1 -redis==5.0.1 -sniffio==1.3.0 -starlette==0.27.0 -types-pyOpenSSL==23.2.0.2 -types-redis==4.6.0.7 -typing_extensions==4.8.0 -uvicorn==0.23.2 +annotated-types==0.6.0 +anyio==3.7.1 +cffi==1.16.0 +click==8.1.7 +cryptography==41.0.4 +fastapi==0.104.0 +h11==0.14.0 +idna==3.4 +pycparser==2.21 +pydantic==2.4.2 +pydantic-core==2.10.1 +redis==5.0.1 +sniffio==1.3.0 +starlette==0.27.0 +types-pyopenssl==23.2.0.2 +types-redis==4.6.0.7 +typing-extensions==4.8.0 +uvicorn==0.23.2 From 8c5e53251884456d2c28de2b3f9bf027044d1562 Mon Sep 17 00:00:00 2001 From: Luciana Abud <45497113+luabud@users.noreply.github.com> Date: Mon, 23 Oct 2023 16:35:42 -0700 Subject: [PATCH 2/2] Delete requirements.in --- requirements.in | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 requirements.in diff --git a/requirements.in b/requirements.in deleted file mode 100644 index 584cfbc..0000000 --- a/requirements.in +++ /dev/null @@ -1,4 +0,0 @@ -fastapi -uvicorn -redis -types-redis \ No newline at end of file