Skip to content

Commit

Permalink
chore(deps): Update mypy to 1.9.0 (#2004)
Browse files Browse the repository at this point in the history
  • Loading branch information
achimnol committed Apr 7, 2024
1 parent 747037c commit 55698b2
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion src/ai/backend/common/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def nmget(


def readable_size_to_bytes(expr: Any) -> BinarySize | Decimal:
if isinstance(expr, numbers.Real):
if isinstance(expr, numbers.Integral):
return BinarySize(expr)
return BinarySize.from_str(expr)

Expand Down
2 changes: 1 addition & 1 deletion tools/mypy-requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
mypy==1.8.0
mypy==1.9.0
48 changes: 24 additions & 24 deletions tools/mypy.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// "CPython==3.12.2"
// ],
// "generated_with_requirements": [
// "mypy==1.8.0"
// "mypy==1.9.0"
// ],
// "manylinux": "manylinux2014",
// "requirement_constraints": [],
Expand All @@ -31,43 +31,43 @@
"artifacts": [
{
"algorithm": "sha256",
"hash": "538fd81bb5e430cc1381a443971c0475582ff9f434c16cd46d2c66763ce85d9d",
"url": "https://files.pythonhosted.org/packages/3a/e3/b582bff8e2fc7056a8a00ec06d2ac3509fc9595af9954099ed70e0418ac3/mypy-1.8.0-py3-none-any.whl"
"hash": "a260627a570559181a9ea5de61ac6297aa5af202f06fd7ab093ce74e7181e43e",
"url": "https://files.pythonhosted.org/packages/60/db/0ba2eaedca52bf5276275e8489951c26206030b3d31bf06f00875ae75d5d/mypy-1.9.0-py3-none-any.whl"
},
{
"algorithm": "sha256",
"hash": "52825b01f5c4c1c4eb0db253ec09c7aa17e1a7304d247c48b6f3599ef40db8bd",
"url": "https://files.pythonhosted.org/packages/08/24/83d9e62ab2031593e94438fdbfd2c32996f4d818be26d2dc33be6870a3a0/mypy-1.8.0-cp312-cp312-macosx_10_9_x86_64.whl"
"hash": "190da1ee69b427d7efa8aa0d5e5ccd67a4fb04038c380237a0d96829cb157913",
"url": "https://files.pythonhosted.org/packages/1c/1b/3e962a201d2f0f57c9fa1990e0dd6076f4f2f94954ab56e4a701ec3cc070/mypy-1.9.0-cp312-cp312-musllinux_1_1_x86_64.whl"
},
{
"algorithm": "sha256",
"hash": "6ff8b244d7085a0b425b56d327b480c3b29cafbd2eff27316a004f9a7391ae07",
"url": "https://files.pythonhosted.org/packages/16/22/25fac51008f0a4b2186da0dba3039128bd75d3fab8c07acd3ea5894f95cc/mypy-1.8.0.tar.gz"
"hash": "aceb1db093b04db5cd390821464504111b8ec3e351eb85afd1433490163d60cd",
"url": "https://files.pythonhosted.org/packages/6e/96/40f0f605b1d4e2ad1fb11d21988ce3a3e205886c0fcbd35c9789a214de9a/mypy-1.9.0-cp312-cp312-macosx_10_9_x86_64.whl"
},
{
"algorithm": "sha256",
"hash": "42c6680d256ab35637ef88891c6bd02514ccb7e1122133ac96055ff458f93fc3",
"url": "https://files.pythonhosted.org/packages/33/14/902484951fa662ee6e044087a50dab4b16b534920dda2eea9380ce2e7b2d/mypy-1.8.0-cp312-cp312-musllinux_1_1_x86_64.whl"
"hash": "3cc5da0127e6a478cddd906068496a97a7618a21ce9b54bde5bf7e539c7af974",
"url": "https://files.pythonhosted.org/packages/72/1e/a587a862c766a755a58b62d8c00aed11b74a15dc415c1bf5da7b607b0efd/mypy-1.9.0.tar.gz"
},
{
"algorithm": "sha256",
"hash": "f5ac9a4eeb1ec0f1ccdc6f326bcdb464de5f80eb07fb38b5ddd7b0de6bc61e55",
"url": "https://files.pythonhosted.org/packages/74/e8/30c42199bb5aefb37e02a9bece41f6a62a60a1c427cab8643bc0e7886df1/mypy-1.8.0-cp312-cp312-macosx_11_0_arm64.whl"
"hash": "d4d5ddc13421ba3e2e082a6c2d74c2ddb3979c39b582dacd53dd5d9431237185",
"url": "https://files.pythonhosted.org/packages/85/a5/b7dc7eb69eda899fd07e71403b51b598a1f4df0f452d1da5844374082bcd/mypy-1.9.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"
},
{
"algorithm": "sha256",
"hash": "afe3fe972c645b4632c563d3f3eff1cdca2fa058f730df2b93a35e3b0c538218",
"url": "https://files.pythonhosted.org/packages/a6/70/49e9dc3d4ef98c22e09f1d7b0195833ad7eeda19a24fcc42bf1b62c89110/mypy-1.8.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"
"hash": "0235391f1c6f6ce487b23b9dbd1327b4ec33bb93934aa986efe8a9563d9349e6",
"url": "https://files.pythonhosted.org/packages/d7/d2/072e40384b53051106b4fcf03537fb88e2a6ad0757d2ab7f6c8c2f188a69/mypy-1.9.0-cp312-cp312-macosx_11_0_arm64.whl"
},
{
"algorithm": "sha256",
"hash": "a8cd18cfc5d9e5ad505633611c1c55428600b570c62292f811de97b38fd7b016",
"url": "https://media.githubusercontent.com/media/lablup/backend.ai-oven/main/pypi/projects/mypy/mypy-1.8.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl"
"hash": "012be56bad0828f60fb1936c79cae3299317131147e49e5bdc9cf419d74a26f0",
"url": "https://media.githubusercontent.com/media/lablup/backend.ai-oven/main/pypi/projects/mypy/mypy-1.9.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl"
},
{
"algorithm": "sha256",
"hash": "3eee4943448f4c2a5bafbe43a73d2a5c819853fd05eed4a99b3cbf1e87ff2aa7",
"url": "https://media.githubusercontent.com/media/lablup/backend.ai-oven/main/pypi/projects/mypy/mypy-1.8.0-cp312-cp312-musllinux_1_1_aarch64.whl"
"hash": "a967325acb4dccac735a44fb242c75eb3742a629413355fdc297ad060b0cc0e9",
"url": "https://media.githubusercontent.com/media/lablup/backend.ai-oven/main/pypi/projects/mypy/mypy-1.9.0-cp312-cp312-musllinux_1_1_aarch64.whl"
}
],
"project_name": "mypy",
Expand All @@ -81,7 +81,7 @@
"typing-extensions>=4.1.0"
],
"requires_python": ">=3.8",
"version": "1.8.0"
"version": "1.9.0"
},
{
"artifacts": [
Expand All @@ -105,19 +105,19 @@
"artifacts": [
{
"algorithm": "sha256",
"hash": "69b1a937c3a517342112fb4c6df7e72fc39a38e7891a5730ed4985b5214b5475",
"url": "https://files.pythonhosted.org/packages/f9/de/dc04a3ea60b22624b51c703a84bbe0184abcd1d0b9bc8074b5d6b7ab90bb/typing_extensions-4.10.0-py3-none-any.whl"
"hash": "c1f94d72897edaf4ce775bb7558d5b79d8126906a14ea5ed1635921406c0387a",
"url": "https://files.pythonhosted.org/packages/01/f3/936e209267d6ef7510322191003885de524fc48d1b43269810cd589ceaf5/typing_extensions-4.11.0-py3-none-any.whl"
},
{
"algorithm": "sha256",
"hash": "b0abd7c89e8fb96f98db18d86106ff1d90ab692004eb746cf6eda2682f91b3cb",
"url": "https://files.pythonhosted.org/packages/16/3a/0d26ce356c7465a19c9ea8814b960f8a36c3b0d07c323176620b7b483e44/typing_extensions-4.10.0.tar.gz"
"hash": "83f085bd5ca59c80295fc2a82ab5dac679cbe02b9f33f7d83af68e241bea51b0",
"url": "https://files.pythonhosted.org/packages/f6/f3/b827b3ab53b4e3d8513914586dcca61c355fa2ce8252dea4da56e67bf8f2/typing_extensions-4.11.0.tar.gz"
}
],
"project_name": "typing-extensions",
"requires_dists": [],
"requires_python": ">=3.8",
"version": "4.10.0"
"version": "4.11.0"
}
],
"platform_tag": null
Expand All @@ -130,7 +130,7 @@
"pip_version": "24.0",
"prefer_older_binary": false,
"requirements": [
"mypy==1.8.0"
"mypy==1.9.0"
],
"requires_python": [
"==3.12.2"
Expand Down

0 comments on commit 55698b2

Please sign in to comment.