From 124dd9b85a407fce4bc5cf5ae6453fb92ebb2fcc Mon Sep 17 00:00:00 2001 From: Shuchang Zheng Date: Fri, 27 Jun 2025 09:58:20 +0900 Subject: [PATCH] udated pyproject to fix typer errors (#2804) --- poetry.lock | 34 +++++++++++++++++++++------------- pyproject.toml | 4 ++-- 2 files changed, 23 insertions(+), 15 deletions(-) diff --git a/poetry.lock b/poetry.lock index 74bcd839..5a1d3d5d 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.1.2 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.1.3 and should not be changed by hand. [[package]] name = "about-time" @@ -7050,6 +7050,18 @@ numpy = ">=1.21" docs = ["matplotlib", "numpydoc (==1.1.*)", "sphinx", "sphinx-book-theme", "sphinx-remove-toctrees"] test = ["pytest", "pytest-cov", "scipy-doctest"] +[[package]] +name = "shellingham" +version = "1.5.4" +description = "Tool to Detect Surrounding Shell" +optional = false +python-versions = ">=3.7" +groups = ["main", "dev"] +files = [ + {file = "shellingham-1.5.4-py2.py3-none-any.whl", hash = "sha256:7ecfff8f2fd72616f7481040475a65b2bf8af90a56c89140852d1120324e8686"}, + {file = "shellingham-1.5.4.tar.gz", hash = "sha256:8dbca0739d487e5bd35ab3ca4b36e11c4078f3a234bfce294b0a0291363404de"}, +] + [[package]] name = "six" version = "1.17.0" @@ -7611,26 +7623,22 @@ keyring = ["keyring (>=15.1)"] [[package]] name = "typer" -version = "0.9.4" +version = "0.16.0" description = "Typer, build great CLIs. Easy to code. Based on Python type hints." optional = false -python-versions = ">=3.6" +python-versions = ">=3.7" groups = ["main", "dev"] files = [ - {file = "typer-0.9.4-py3-none-any.whl", hash = "sha256:aa6c4a4e2329d868b80ecbaf16f807f2b54e192209d7ac9dd42691d63f7a54eb"}, - {file = "typer-0.9.4.tar.gz", hash = "sha256:f714c2d90afae3a7929fcd72a3abb08df305e1ff61719381384211c4070af57f"}, + {file = "typer-0.16.0-py3-none-any.whl", hash = "sha256:1f79bed11d4d02d4310e3c1b7ba594183bcedb0ac73b27a9e5f28f6fb5b98855"}, + {file = "typer-0.16.0.tar.gz", hash = "sha256:af377ffaee1dbe37ae9440cb4e8f11686ea5ce4e9bae01b84ae7c63b87f1dd3b"}, ] [package.dependencies] -click = ">=7.1.1,<9.0.0" +click = ">=8.0.0" +rich = ">=10.11.0" +shellingham = ">=1.3.0" typing-extensions = ">=3.7.4.3" -[package.extras] -all = ["colorama (>=0.4.3,<0.5.0)", "rich (>=10.11.0,<14.0.0)", "shellingham (>=1.3.0,<2.0.0)"] -dev = ["autoflake (>=1.3.1,<2.0.0)", "flake8 (>=3.8.3,<4.0.0)", "pre-commit (>=2.17.0,<3.0.0)"] -doc = ["cairosvg (>=2.5.2,<3.0.0)", "mdx-include (>=1.4.1,<2.0.0)", "mkdocs (>=1.1.2,<2.0.0)", "mkdocs-material (>=8.1.4,<9.0.0)", "pillow (>=9.3.0,<10.0.0)"] -test = ["black (>=22.3.0,<23.0.0)", "coverage (>=6.2,<7.0)", "isort (>=5.0.6,<6.0.0)", "mypy (==0.971)", "pytest (>=4.4.0,<8.0.0)", "pytest-cov (>=2.10.0,<5.0.0)", "pytest-sugar (>=0.9.4,<0.10.0)", "pytest-xdist (>=1.32.0,<4.0.0)", "rich (>=10.11.0,<14.0.0)", "shellingham (>=1.3.0,<2.0.0)"] - [[package]] name = "types-awscrt" version = "0.27.2" @@ -8855,4 +8863,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.1" python-versions = ">=3.11,<3.14" -content-hash = "959335d9e839697bd22e8cd53101394ac178749cc9da18d0adfd0b5e809cfe32" +content-hash = "bbf70d795b15c304ac809728c47e2acec6b0532dac390bc9b36443b61a58ba58" diff --git a/pyproject.toml b/pyproject.toml index 4d8479af..1218e80b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,7 +42,7 @@ aioboto3 = "^14.3.0" asyncache = "^0.3.1" orjson = "^3.9.10" structlog = "^23.2.0" -typer = ">=0.9.0,<0.10.0" +typer = ">=0.16.0" types-toml = "^0.10.8.7" httpx = {version = ">=0.27.0", extras = ["socks"]} filetype = "^1.2.0" @@ -89,7 +89,7 @@ mock = "^5.1.0" autoflake = "^2.2.0" pydevd-pycharm = "^233.6745.319" ipython = "^8.17.2" -typer = "^0.9.0" +typer = "^0.16.0" ipykernel = "^6.26.0" notebook = "^7.0.6" freezegun = "^1.2.2"