From 9054e5101967e0599a202e8c3e0b9c904fb048ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felipe=20L=C3=B3pez?= <37890430+felipaoo@users.noreply.github.com> Date: Mon, 15 Jan 2024 19:54:42 -0600 Subject: [PATCH 1/8] add `ServiceUnavailableError` (#195) * add ServiceUnavailableError * fix typehint * version --- fast_agave/exc.py | 5 +++++ fast_agave/version.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/fast_agave/exc.py b/fast_agave/exc.py index be1ee74..5727f5a 100644 --- a/fast_agave/exc.py +++ b/fast_agave/exc.py @@ -53,6 +53,11 @@ class FastAgaveViewError(FastAgaveError): status_code: int = 500 +@dataclass +class ServiceUnavailableError(FastAgaveError): + status_code: int = 503 + + @dataclass class RetryTask(Exception): countdown: Optional[int] = None diff --git a/fast_agave/version.py b/fast_agave/version.py index ef91994..092052c 100644 --- a/fast_agave/version.py +++ b/fast_agave/version.py @@ -1 +1 @@ -__version__ = '0.14.0' +__version__ = '0.14.1' From 279653684c50de68736f4814ec6be9bb0a62f930 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 27 Mar 2024 15:58:28 -0600 Subject: [PATCH 2/8] Bump actions/setup-python from 2.2.2 to 4.7.1 (#191) Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2.2.2 to 4.7.1. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v2.2.2...v4.7.1) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index baac5cd..0dc167e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,7 @@ jobs: steps: - uses: actions/checkout@master - name: Set up Python 3.8 - uses: actions/setup-python@v2.2.2 + uses: actions/setup-python@v4.7.1 with: python-version: 3.8 - name: Install dependencies diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 87f7af8..5804d47 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,7 +8,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up Python - uses: actions/setup-python@v2.2.2 + uses: actions/setup-python@v4.7.1 with: python-version: 3.8 - name: Install dependencies @@ -24,7 +24,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2.2.2 + uses: actions/setup-python@v4.7.1 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -37,7 +37,7 @@ jobs: steps: - uses: actions/checkout@master - name: Setup Python - uses: actions/setup-python@v2.2.2 + uses: actions/setup-python@v4.7.1 with: python-version: 3.8 - name: Install dependencies From 023e7949c37ac154c0ca6b546cf8a85e93c43bd6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 27 Mar 2024 15:59:07 -0600 Subject: [PATCH 3/8] Bump actions/checkout from 2 to 4 (#188) Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5804d47..10ebe3c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,7 +6,7 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v4.7.1 with: @@ -22,7 +22,7 @@ jobs: matrix: python-version: [3.8] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4.7.1 with: From ba0f1e4e948947f9082f773eafffe6bc553dcb1e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 27 Mar 2024 15:59:39 -0600 Subject: [PATCH 4/8] Bump cuenca-validations from 0.10.7 to 0.11.19 (#186) Bumps [cuenca-validations](https://github.com/cuenca-mx/cuenca-validations) from 0.10.7 to 0.11.19. - [Release notes](https://github.com/cuenca-mx/cuenca-validations/releases) - [Commits](https://github.com/cuenca-mx/cuenca-validations/compare/0.10.7...0.11.19) --- updated-dependencies: - dependency-name: cuenca-validations dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 6d73794..bbf0412 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ aiobotocore==2.1.0 -cuenca-validations==0.10.7 +cuenca-validations==0.11.19 fastapi==0.68.2 mongoengine-plus==0.0.3 python-multipart==0.0.5 From 450c4aecab2432c49a78e3b6ad828a321d5a1840 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 27 Mar 2024 16:00:06 -0600 Subject: [PATCH 5/8] Update pytest requirement from ==6.2.* to ==7.4.* (#182) Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/6.2.0.dev0...7.4.0) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements-test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-test.txt b/requirements-test.txt index 1b46d40..56b3d52 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -5,7 +5,7 @@ mock==4.0.3 mongomock==3.23.* moto[server]==2.2.* mypy==1.0.1 -pytest==6.2.* +pytest==7.4.* pytest-cov==3.0.* pytest-vcr==1.0.* pytest-asyncio==0.15.* From 851d5b51f7386332df75ce60e8015e82336ef494 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 27 Mar 2024 16:01:03 -0600 Subject: [PATCH 6/8] Update pytest-cov requirement from ==3.0.* to ==4.1.* (#179) Updates the requirements on [pytest-cov](https://github.com/pytest-dev/pytest-cov) to permit the latest version. - [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest-cov/compare/v3.0.0...v4.1.0) --- updated-dependencies: - dependency-name: pytest-cov dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Rogelio --- requirements-test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-test.txt b/requirements-test.txt index 56b3d52..8b53e8f 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -6,7 +6,7 @@ mongomock==3.23.* moto[server]==2.2.* mypy==1.0.1 pytest==7.4.* -pytest-cov==3.0.* +pytest-cov==4.1.* pytest-vcr==1.0.* pytest-asyncio==0.15.* requests==2.28.* From 30ba240ec5ba38a400df1c523d0da0123827fb06 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 27 Mar 2024 16:01:26 -0600 Subject: [PATCH 7/8] Bump codecov/codecov-action from 3.1.0 to 3.1.4 (#177) Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.0 to 3.1.4. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v3.1.0...v3.1.4) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 10ebe3c..f85c56e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -45,7 +45,7 @@ jobs: - name: Generate coverage report run: pytest --cov-report=xml - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3.1.0 + uses: codecov/codecov-action@v3.1.4 with: file: ./coverage.xml flags: unittests From 7ce51f8aebb1a39fc46b4bef3e70d057a209fc0a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 27 Mar 2024 16:01:58 -0600 Subject: [PATCH 8/8] Update mongomock requirement from ==3.23.* to ==4.1.* (#114) Updates the requirements on [mongomock](https://github.com/mongomock/mongomock) to permit the latest version. - [Release notes](https://github.com/mongomock/mongomock/releases) - [Commits](https://github.com/mongomock/mongomock/compare/3.23.0...4.1.2) --- updated-dependencies: - dependency-name: mongomock dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements-test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-test.txt b/requirements-test.txt index 8b53e8f..7918af1 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -2,7 +2,7 @@ black==22.3.0 flake8==4.0.* isort==5.10.* mock==4.0.3 -mongomock==3.23.* +mongomock==4.1.* moto[server]==2.2.* mypy==1.0.1 pytest==7.4.*