Skip to content

Commit

Permalink
[Issue #1779] Update Api dependencies (#1780)
Browse files Browse the repository at this point in the history
## Summary
Fixes #1779

### Time to review: __1 mins__
  • Loading branch information
coilysiren authored Apr 18, 2024
1 parent d45191c commit f60e8ea
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 31 deletions.
52 changes: 32 additions & 20 deletions api/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 13 additions & 11 deletions api/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ authors = ["Nava Engineering <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.12"
SQLAlchemy = {version = "^2.0.21", extras = ["mypy"]}
SQLAlchemy = { version = "^2.0.21", extras = ["mypy"] }
alembic = "^1.12.0"
python-dotenv = "^1.0.0"
pydantic = "^2.4.2"
Expand All @@ -16,18 +16,18 @@ boto3 = "^1.28.62"
smart-open = "^6.1.0"
pytz = "^2023.3.post1"
APIFlask = "^2.1.0"
marshmallow-dataclass = {extras = ["enum", "union"], version = "^8.5.8"}
marshmallow-dataclass = { extras = ["enum", "union"], version = "^8.5.8" }
marshmallow = "^3.20.1"
gunicorn = "^21.2.0"
psycopg = {extras = ["binary"], version = "^3.1.10"}
gunicorn = "^22.0.0"
psycopg = { extras = ["binary"], version = "^3.1.10" }
pydantic-settings = "^2.0.3"
flask-cors = "^4.0.0"

[tool.poetry.group.dev.dependencies]
black = "^23.9.1"
isort = "^5.12.0"
mypy = "^1.8.0"
moto = {extras = ["s3"], version = "^4.0.2"}
moto = { extras = ["s3"], version = "^4.0.2" }
types-pytz = "^2023.3.1.1"
coverage = "^7.3.2"
Faker = "^19.8.0"
Expand Down Expand Up @@ -80,11 +80,11 @@ ignore = [
"E266",
# Ignore line-too-long errors, assume the formatter handles that appropriately
"E501",
# Ignore rules regarding unecessary list / generator usage which complains about [e for e in MyEnum]
# Ignore rules regarding unecessary list / generator usage which complains about [e for e in MyEnum] #
"C4",
# Ignore rule that flags functions with many branches - sometimes we just have a lot of
# business rules that make sense to aggregate in one place.
"C901"
"C901",
]


Expand Down Expand Up @@ -130,10 +130,12 @@ disallow_untyped_defs = false
# When a library has addressed its deprecation issues and we've updated the
# library, we can remove the ignore filter for that library.
filterwarnings = [
"ignore::DeprecationWarning:botocore.*"] # pytest-watch errors if the closing bracket is on it's own line
"ignore::DeprecationWarning:botocore.*",
] # pytest-watch errors if the closing bracket is on it's own line

markers = [
"audit: mark a test as a security audit log test, to be run isolated from other tests"]
"audit: mark a test as a security audit log test, to be run isolated from other tests",
]

[tool.coverage.run]
omit = [
Expand All @@ -142,7 +144,7 @@ omit = [
# app_config only runs via the gunicorn script which doens't happen locally
"src/app_config.py",
# Migrations aren't run in tests
"src/db/migrations/**"
"src/db/migrations/**",
]

[tool.coverage.report]
Expand All @@ -153,5 +155,5 @@ exclude_lines = [
# code coverage reports as they won't ever directly run
"@abc.abstractmethod",
"@abstractmethod",
"@typing.overload"
"@typing.overload",
]

0 comments on commit f60e8ea

Please sign in to comment.