From 49905dadfca0053184682c121069ba254c506b8d Mon Sep 17 00:00:00 2001 From: Collin Webb Date: Tue, 18 Mar 2025 21:15:12 -0600 Subject: [PATCH 01/13] quest fix --- .github/workflows/run-pytest.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-pytest.yml b/.github/workflows/run-pytest.yml index ddd408d..8f1a2f6 100644 --- a/.github/workflows/run-pytest.yml +++ b/.github/workflows/run-pytest.yml @@ -33,9 +33,10 @@ jobs: - name: Generate Requirements run: | - pipreqs quest_test --savepath test-requirements.txt - pipreqs src --savepath src-requirements.txt + pipreqs quest_test --savepath test-requirements.txt --ignore quest + pipreqs src --savepath src-requirements.txt --ignore quest cat test-requirements.txt src-requirements.txt | sort | uniq > requirements.txt + cat requirements.txt - name: Install Requirements run: | From 08da156cfb66555a6d705e6b2e399b09cf7769da Mon Sep 17 00:00:00 2001 From: Collin Webb Date: Tue, 18 Mar 2025 21:17:48 -0600 Subject: [PATCH 02/13] quest fix --- .github/workflows/run-pytest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-pytest.yml b/.github/workflows/run-pytest.yml index 8f1a2f6..acc7faf 100644 --- a/.github/workflows/run-pytest.yml +++ b/.github/workflows/run-pytest.yml @@ -33,7 +33,7 @@ jobs: - name: Generate Requirements run: | - pipreqs quest_test --savepath test-requirements.txt --ignore quest + pipreqs quest_test --savepath test-requirements.txt --use-local pipreqs src --savepath src-requirements.txt --ignore quest cat test-requirements.txt src-requirements.txt | sort | uniq > requirements.txt cat requirements.txt From e74a1887c2bc79deccece4a207a7df245a7d7843 Mon Sep 17 00:00:00 2001 From: Collin Webb Date: Tue, 18 Mar 2025 21:31:10 -0600 Subject: [PATCH 03/13] quest fix --- .github/workflows/run-pytest.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run-pytest.yml b/.github/workflows/run-pytest.yml index acc7faf..57719a8 100644 --- a/.github/workflows/run-pytest.yml +++ b/.github/workflows/run-pytest.yml @@ -30,17 +30,20 @@ jobs: pip install pipreqs pip install sqlalchemy pip install pytest-asyncio + pip install -e src - name: Generate Requirements run: | - pipreqs quest_test --savepath test-requirements.txt --use-local - pipreqs src --savepath src-requirements.txt --ignore quest + pipreqs quest_test --savepath test-requirements.txt + pipreqs src --savepath src-requirements.txt cat test-requirements.txt src-requirements.txt | sort | uniq > requirements.txt cat requirements.txt - name: Install Requirements run: | - echo quest==0.1.1 > requirements.ignore + grep -v '^quest==' src/requirements.txt > src/requirements_clean.txt + mv src/requirements_clean.txt src/requirements.txt + cat requirements.txt pip install -r requirements.txt - name: Run unit tests From d535d70e74c3482e5094e165e999e7c4fd82fa82 Mon Sep 17 00:00:00 2001 From: Collin Webb Date: Tue, 18 Mar 2025 21:33:06 -0600 Subject: [PATCH 04/13] quest fix --- .github/workflows/run-pytest.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/run-pytest.yml b/.github/workflows/run-pytest.yml index 57719a8..706efa0 100644 --- a/.github/workflows/run-pytest.yml +++ b/.github/workflows/run-pytest.yml @@ -30,20 +30,17 @@ jobs: pip install pipreqs pip install sqlalchemy pip install pytest-asyncio - pip install -e src - name: Generate Requirements run: | pipreqs quest_test --savepath test-requirements.txt pipreqs src --savepath src-requirements.txt cat test-requirements.txt src-requirements.txt | sort | uniq > requirements.txt - cat requirements.txt - name: Install Requirements run: | grep -v '^quest==' src/requirements.txt > src/requirements_clean.txt mv src/requirements_clean.txt src/requirements.txt - cat requirements.txt pip install -r requirements.txt - name: Run unit tests From 9c432371dec198ee567955c7d1a717c7cc7d2f64 Mon Sep 17 00:00:00 2001 From: Collin Webb Date: Tue, 18 Mar 2025 21:37:08 -0600 Subject: [PATCH 05/13] quest fix --- .github/workflows/run-pytest.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/run-pytest.yml b/.github/workflows/run-pytest.yml index 706efa0..0fac9c6 100644 --- a/.github/workflows/run-pytest.yml +++ b/.github/workflows/run-pytest.yml @@ -30,6 +30,7 @@ jobs: pip install pipreqs pip install sqlalchemy pip install pytest-asyncio + pip install -e . - name: Generate Requirements run: | @@ -39,8 +40,6 @@ jobs: - name: Install Requirements run: | - grep -v '^quest==' src/requirements.txt > src/requirements_clean.txt - mv src/requirements_clean.txt src/requirements.txt pip install -r requirements.txt - name: Run unit tests From 7d9a852129d4d8b54bbe1cea83f3dbf28208a6c3 Mon Sep 17 00:00:00 2001 From: Collin Webb Date: Tue, 18 Mar 2025 21:44:43 -0600 Subject: [PATCH 06/13] quest fix --- .github/workflows/run-pytest.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/run-pytest.yml b/.github/workflows/run-pytest.yml index 0fac9c6..9588c13 100644 --- a/.github/workflows/run-pytest.yml +++ b/.github/workflows/run-pytest.yml @@ -40,6 +40,8 @@ jobs: - name: Install Requirements run: | + grep -v '^quest==' requirements.txt > requirements_clean.txt + mv requirements_clean.txt requirements.txt pip install -r requirements.txt - name: Run unit tests From 9a8b3b2479da648f7ecfdb32187fbd74efa8525e Mon Sep 17 00:00:00 2001 From: Collin Webb Date: Tue, 18 Mar 2025 21:46:12 -0600 Subject: [PATCH 07/13] quest fix --- .github/workflows/run-pytest.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-pytest.yml b/.github/workflows/run-pytest.yml index 9588c13..19d46d0 100644 --- a/.github/workflows/run-pytest.yml +++ b/.github/workflows/run-pytest.yml @@ -45,8 +45,8 @@ jobs: pip install -r requirements.txt - name: Run unit tests - env: - PYTHONPATH: ${{ github.workspace }}/src +# env: +# PYTHONPATH: ${{ github.workspace }}/src run: | pytest quest_test -o log_cli=true @@ -60,7 +60,7 @@ jobs: run: aws sts get-caller-identity - name: Run integration tests - env: - PYTHONPATH: ${{ github.workspace }}/src +# env: +# PYTHONPATH: ${{ github.workspace }}/src run: | pytest quest_test -m "integration" -o log_cli=true \ No newline at end of file From 89d9b60abe4a170b63437df753c182e08b0c2a35 Mon Sep 17 00:00:00 2001 From: Collin Webb Date: Tue, 18 Mar 2025 21:48:14 -0600 Subject: [PATCH 08/13] quest fix --- .github/workflows/run-pytest.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/run-pytest.yml b/.github/workflows/run-pytest.yml index 19d46d0..b3ad69f 100644 --- a/.github/workflows/run-pytest.yml +++ b/.github/workflows/run-pytest.yml @@ -45,8 +45,6 @@ jobs: pip install -r requirements.txt - name: Run unit tests -# env: -# PYTHONPATH: ${{ github.workspace }}/src run: | pytest quest_test -o log_cli=true @@ -60,7 +58,5 @@ jobs: run: aws sts get-caller-identity - name: Run integration tests -# env: -# PYTHONPATH: ${{ github.workspace }}/src run: | pytest quest_test -m "integration" -o log_cli=true \ No newline at end of file From 80f9d7202d92cd321b944695e7bdaaa511ea8327 Mon Sep 17 00:00:00 2001 From: Collin Webb Date: Wed, 19 Mar 2025 12:10:11 -0600 Subject: [PATCH 09/13] poetry --- .github/workflows/run-pytest.yml | 6 +----- pyproject.toml | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/run-pytest.yml b/.github/workflows/run-pytest.yml index b3ad69f..e9e3752 100644 --- a/.github/workflows/run-pytest.yml +++ b/.github/workflows/run-pytest.yml @@ -26,11 +26,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install pytest - pip install pipreqs - pip install sqlalchemy - pip install pytest-asyncio - pip install -e . + poetry install --all-extras - name: Generate Requirements run: | diff --git a/pyproject.toml b/pyproject.toml index 7fad4f0..4d76f3b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,6 @@ python = "^3.11" [tool.poetry.group.dev.dependencies] pytest = "^7.4.0" pytest-asyncio = "^0.21.0" -dotenv = "^0.19.0" sqlalchemy = { version = "^2.0.36", optional = true } boto3 = { version = "^1.35.60", optional = true } From 373dee258ff16134dbb40ba758e63074e05a8613 Mon Sep 17 00:00:00 2001 From: Collin Webb Date: Wed, 19 Mar 2025 12:13:02 -0600 Subject: [PATCH 10/13] poetry --- .github/workflows/run-pytest.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/run-pytest.yml b/.github/workflows/run-pytest.yml index e9e3752..049cac1 100644 --- a/.github/workflows/run-pytest.yml +++ b/.github/workflows/run-pytest.yml @@ -26,6 +26,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip + pip install poetry poetry install --all-extras - name: Generate Requirements From 313e361ef84fb9ec110bf0358ef5e8be2491ec16 Mon Sep 17 00:00:00 2001 From: Collin Webb Date: Wed, 19 Mar 2025 12:13:56 -0600 Subject: [PATCH 11/13] poetry --- .github/workflows/run-pytest.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/run-pytest.yml b/.github/workflows/run-pytest.yml index 049cac1..c2ef6eb 100644 --- a/.github/workflows/run-pytest.yml +++ b/.github/workflows/run-pytest.yml @@ -27,6 +27,7 @@ jobs: run: | python -m pip install --upgrade pip pip install poetry + pip install pipreqs poetry install --all-extras - name: Generate Requirements From aaee8bf36e04b18f29b64960bcf297a033b2a5f5 Mon Sep 17 00:00:00 2001 From: Collin Webb Date: Wed, 19 Mar 2025 12:15:19 -0600 Subject: [PATCH 12/13] poetry --- .github/workflows/run-pytest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-pytest.yml b/.github/workflows/run-pytest.yml index c2ef6eb..fdcacf1 100644 --- a/.github/workflows/run-pytest.yml +++ b/.github/workflows/run-pytest.yml @@ -28,7 +28,7 @@ jobs: python -m pip install --upgrade pip pip install poetry pip install pipreqs - poetry install --all-extras + pip install -e . - name: Generate Requirements run: | From c78aed42c3a4013c9e79bb3106468fc69ed11859 Mon Sep 17 00:00:00 2001 From: Collin Webb Date: Wed, 19 Mar 2025 12:17:06 -0600 Subject: [PATCH 13/13] poetry --- .github/workflows/run-pytest.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/run-pytest.yml b/.github/workflows/run-pytest.yml index fdcacf1..7cff085 100644 --- a/.github/workflows/run-pytest.yml +++ b/.github/workflows/run-pytest.yml @@ -26,7 +26,6 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install poetry pip install pipreqs pip install -e .