Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/pip/fastapi-0.104.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rogelioLpz authored Mar 27, 2024
2 parents 4f5ed2a + 7ce51f8 commit aca0eb0
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- 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
Expand All @@ -22,9 +22,9 @@ 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@v2.2.2
uses: actions/setup-python@v4.7.1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -37,15 +37,15 @@ 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
run: make install-test
- name: Generate coverage report
run: pytest --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/[email protected].0
uses: codecov/[email protected].4
with:
file: ./coverage.xml
flags: unittests
Expand Down
5 changes: 5 additions & 0 deletions fast_agave/exc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion fast_agave/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.14.0'
__version__ = '0.14.1'
6 changes: 3 additions & 3 deletions requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ 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==6.2.*
pytest-cov==3.0.*
pytest==7.4.*
pytest-cov==4.1.*
pytest-vcr==1.0.*
pytest-asyncio==0.15.*
requests==2.28.*
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
aiobotocore==2.1.0
cuenca-validations==0.10.7
cuenca-validations==0.11.19
fastapi==0.104.0
mongoengine-plus==0.0.3
python-multipart==0.0.5
Expand Down

0 comments on commit aca0eb0

Please sign in to comment.