Skip to content

Commit

Permalink
Bump packages
Browse files Browse the repository at this point in the history
  • Loading branch information
YoshihitoAso committed Feb 6, 2024
1 parent 228df4b commit 5394c9f
Show file tree
Hide file tree
Showing 6 changed files with 575 additions and 587 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/psf/black
rev: 24.1.0
rev: 24.1.1
hooks:
- id: black
language_version: python3.11
2 changes: 1 addition & 1 deletion cmd/explorer/src/connector/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
from typing import Any

from aiohttp import ClientSession
from cache import AsyncTTL

from app.model.schema import (
BlockDataDetail,
Expand All @@ -31,7 +32,6 @@
TxDataDetail,
TxDataListResponse,
)
from cache import AsyncTTL


class ApiNotEnabledException(Exception):
Expand Down
1,101 changes: 545 additions & 556 deletions poetry.lock

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,23 @@ readme = "README.md"

[tool.poetry.dependencies]
python = "3.11.2"
alembic = "~1.13.1"
boto3 = "~1.29.6"
alembic = "^1.13.1"
boto3 = "~1.34.35"
coincurve = "~18.0.0"
eth-keyfile = "0.7.0"
eth-utils = "~3.0.0"
fastapi = "~0.109.0"
fastapi = "~0.109.2"
gunicorn = "~21.2.0"
orjson = "~3.9.10"
psycopg = {extras = ["c"], version = "^3.1.17"}
pycryptodome = "~3.19"
pydantic = "~2.5.2"
pytz = "~2023.3"
pycryptodome = "~3.20"
pydantic = "~2.6.1"
pytz = "~2024.1"
shared-memory-dict = "~0.7.2"
web3 = "~6.14.0"
web3 = "~6.15.1"
httpx = "^0.26.0"
sqlalchemy = {extras = ["asyncio"], version = "^2.0.25"}
uvicorn = {extras = ["standard"], version = "~0.25.0"}
uvicorn = {extras = ["standard"], version = "~0.27.0"}

ibet-prime-explorer = {path = "cmd/explorer", optional = true, develop = true}
textual = {version = "~0.44.1", optional = true}
Expand All @@ -39,7 +39,7 @@ pyyaml = "^6.0"
pre-commit = "^3.6.0"
isort = "^5.13.2"
httpx = "^0.26.0"
black = "^24.1.0"
black = "^24.1.1"
textual-dev = "^1.2.1"
pytest-alembic = "^0.10.7"
pytest-freezer = "^0.4.8"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -463,25 +463,24 @@ def test_error_5(self, client, db):
assert resp.json()["meta"] == {"code": 1, "title": "RequestValidationError"}
assert resp.json()["detail"] == [
{
"ctx": {"error": "invalid character in year"},
"input": "this is not datetime format",
"type": "datetime_from_date_parsing",
"loc": ["body", "scheduled_datetime"],
"msg": "Input should be a valid datetime, invalid character in year",
"type": "datetime_parsing",
"msg": "Input should be a valid datetime or date, invalid character in year",
"input": "this is not datetime format",
"ctx": {"error": "invalid character in year"},
},
{
"ctx": {"expected": "'Update'"},
"input": "aUpdateb",
"type": "enum",
"loc": ["body", "event_type"],
"msg": "Input should be 'Update'",
"type": "enum",
"input": "aUpdateb",
"ctx": {"expected": "'Update'"},
},
{
"input": "must be integer, but string",
"loc": ["body", "data", "face_value"],
"msg": "Input should be a valid integer, unable to parse string as an "
"integer",
"type": "int_parsing",
"loc": ["body", "data", "face_value"],
"msg": "Input should be a valid integer, unable to parse string as an integer",
"input": "must be integer, but string",
},
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -451,24 +451,24 @@ def test_error_5(self, client, db):
assert resp.json()["meta"] == {"code": 1, "title": "RequestValidationError"}
assert resp.json()["detail"] == [
{
"ctx": {"error": "invalid character in year"},
"input": "this is not time format",
"type": "datetime_from_date_parsing",
"loc": ["body", "scheduled_datetime"],
"msg": "Input should be a valid datetime, invalid character in year",
"type": "datetime_parsing",
"msg": "Input should be a valid datetime or date, invalid character in year",
"input": "this is not time format",
"ctx": {"error": "invalid character in year"},
},
{
"ctx": {"expected": "'Update'"},
"input": "aUpdateb",
"type": "enum",
"loc": ["body", "event_type"],
"msg": "Input should be 'Update'",
"type": "enum",
"input": "aUpdateb",
"ctx": {"expected": "'Update'"},
},
{
"input": "must be integer, but string",
"type": "float_parsing",
"loc": ["body", "data", "dividends"],
"msg": "Input should be a valid number, unable to parse string as a number",
"type": "float_parsing",
"input": "must be integer, but string",
},
]

Expand Down

0 comments on commit 5394c9f

Please sign in to comment.