From 23ebc18ff9054b8b5a0f652aeceb4af3503e93ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?DeemOnSecurity=F0=9F=A4=98?= Date: Mon, 31 Jul 2023 11:01:33 -0400 Subject: [PATCH] Fixes imports and poetry to legacy action --- .github/workflows/poetry-to-legacy.yml | 2 +- srv/isc-agent/pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/poetry-to-legacy.yml b/.github/workflows/poetry-to-legacy.yml index 80fb8c3..c1a897b 100644 --- a/.github/workflows/poetry-to-legacy.yml +++ b/.github/workflows/poetry-to-legacy.yml @@ -20,7 +20,7 @@ jobs: run: | cd srv/isc-agent poetry export -f requirements.txt -o requirements.txt --without-hashes - grep -v 'Windows' requirements.txt | cut -f1 -d '=' > ../../bin/requirements.txt + grep -v 'Windows' requirements.txt | cut -f1 -d '=' | sed 's/all-non-platform/all_non_platform/' > ../../bin/requirements.txt - name: Commit changes uses: EndBug/add-and-commit@v7 with: diff --git a/srv/isc-agent/pyproject.toml b/srv/isc-agent/pyproject.toml index d5f5609..204e849 100644 --- a/srv/isc-agent/pyproject.toml +++ b/srv/isc-agent/pyproject.toml @@ -8,7 +8,7 @@ authors = ["Your Name "] [tool.poetry.dependencies] python = "^3.7.1" jinja2 = "~=3.0.3" -pydantic = {extras = ["dotenv", "email"], version = "~=1.9.0"} +pydantic = {extras = ["email"], version = "~=1.9.0"} requests = "~=2.27.1" sqlalchemy = "~=1.4.31" cryptography = "==3.4.6"