From cf11edb83d3331009c6ec689508adeb2aa2c66ab Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Sun, 16 Apr 2023 00:19:56 +0900 Subject: [PATCH 1/3] Bump up versions --- poetry.lock | 194 +++++++++++++++++++++++++++---------------------- pyproject.toml | 15 ++-- 2 files changed, 114 insertions(+), 95 deletions(-) diff --git a/poetry.lock b/poetry.lock index babc0be..c69d03f 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.4.0 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.4.2 and should not be changed by hand. [[package]] name = "aiohttp" @@ -669,31 +669,31 @@ files = [ [[package]] name = "cryptography" -version = "40.0.1" +version = "40.0.2" description = "cryptography is a package which provides cryptographic recipes and primitives to Python developers." category = "main" optional = false python-versions = ">=3.6" files = [ - {file = "cryptography-40.0.1-cp36-abi3-macosx_10_12_universal2.whl", hash = "sha256:918cb89086c7d98b1b86b9fdb70c712e5a9325ba6f7d7cfb509e784e0cfc6917"}, - {file = "cryptography-40.0.1-cp36-abi3-macosx_10_12_x86_64.whl", hash = "sha256:9618a87212cb5200500e304e43691111570e1f10ec3f35569fdfcd17e28fd797"}, - {file = "cryptography-40.0.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3a4805a4ca729d65570a1b7cac84eac1e431085d40387b7d3bbaa47e39890b88"}, - {file = "cryptography-40.0.1-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:63dac2d25c47f12a7b8aa60e528bfb3c51c5a6c5a9f7c86987909c6c79765554"}, - {file = "cryptography-40.0.1-cp36-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:0a4e3406cfed6b1f6d6e87ed243363652b2586b2d917b0609ca4f97072994405"}, - {file = "cryptography-40.0.1-cp36-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:1e0af458515d5e4028aad75f3bb3fe7a31e46ad920648cd59b64d3da842e4356"}, - {file = "cryptography-40.0.1-cp36-abi3-musllinux_1_1_aarch64.whl", hash = "sha256:d8aa3609d337ad85e4eb9bb0f8bcf6e4409bfb86e706efa9a027912169e89122"}, - {file = "cryptography-40.0.1-cp36-abi3-musllinux_1_1_x86_64.whl", hash = "sha256:cf91e428c51ef692b82ce786583e214f58392399cf65c341bc7301d096fa3ba2"}, - {file = "cryptography-40.0.1-cp36-abi3-win32.whl", hash = "sha256:650883cc064297ef3676b1db1b7b1df6081794c4ada96fa457253c4cc40f97db"}, - {file = "cryptography-40.0.1-cp36-abi3-win_amd64.whl", hash = "sha256:a805a7bce4a77d51696410005b3e85ae2839bad9aa38894afc0aa99d8e0c3160"}, - {file = "cryptography-40.0.1-pp38-pypy38_pp73-macosx_10_12_x86_64.whl", hash = "sha256:cd033d74067d8928ef00a6b1327c8ea0452523967ca4463666eeba65ca350d4c"}, - {file = "cryptography-40.0.1-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:d36bbeb99704aabefdca5aee4eba04455d7a27ceabd16f3b3ba9bdcc31da86c4"}, - {file = "cryptography-40.0.1-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:32057d3d0ab7d4453778367ca43e99ddb711770477c4f072a51b3ca69602780a"}, - {file = "cryptography-40.0.1-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:f5d7b79fa56bc29580faafc2ff736ce05ba31feaa9d4735048b0de7d9ceb2b94"}, - {file = "cryptography-40.0.1-pp39-pypy39_pp73-macosx_10_12_x86_64.whl", hash = "sha256:7c872413353c70e0263a9368c4993710070e70ab3e5318d85510cc91cce77e7c"}, - {file = "cryptography-40.0.1-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:28d63d75bf7ae4045b10de5413fb1d6338616e79015999ad9cf6fc538f772d41"}, - {file = "cryptography-40.0.1-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:6f2bbd72f717ce33100e6467572abaedc61f1acb87b8d546001328d7f466b778"}, - {file = "cryptography-40.0.1-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:cc3a621076d824d75ab1e1e530e66e7e8564e357dd723f2533225d40fe35c60c"}, - {file = "cryptography-40.0.1.tar.gz", hash = "sha256:2803f2f8b1e95f614419926c7e6f55d828afc614ca5ed61543877ae668cc3472"}, + {file = "cryptography-40.0.2-cp36-abi3-macosx_10_12_universal2.whl", hash = "sha256:8f79b5ff5ad9d3218afb1e7e20ea74da5f76943ee5edb7f76e56ec5161ec782b"}, + {file = "cryptography-40.0.2-cp36-abi3-macosx_10_12_x86_64.whl", hash = "sha256:05dc219433b14046c476f6f09d7636b92a1c3e5808b9a6536adf4932b3b2c440"}, + {file = "cryptography-40.0.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4df2af28d7bedc84fe45bd49bc35d710aede676e2a4cb7fc6d103a2adc8afe4d"}, + {file = "cryptography-40.0.2-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0dcca15d3a19a66e63662dc8d30f8036b07be851a8680eda92d079868f106288"}, + {file = "cryptography-40.0.2-cp36-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:a04386fb7bc85fab9cd51b6308633a3c271e3d0d3eae917eebab2fac6219b6d2"}, + {file = "cryptography-40.0.2-cp36-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:adc0d980fd2760c9e5de537c28935cc32b9353baaf28e0814df417619c6c8c3b"}, + {file = "cryptography-40.0.2-cp36-abi3-musllinux_1_1_aarch64.whl", hash = "sha256:d5a1bd0e9e2031465761dfa920c16b0065ad77321d8a8c1f5ee331021fda65e9"}, + {file = "cryptography-40.0.2-cp36-abi3-musllinux_1_1_x86_64.whl", hash = "sha256:a95f4802d49faa6a674242e25bfeea6fc2acd915b5e5e29ac90a32b1139cae1c"}, + {file = "cryptography-40.0.2-cp36-abi3-win32.whl", hash = "sha256:aecbb1592b0188e030cb01f82d12556cf72e218280f621deed7d806afd2113f9"}, + {file = "cryptography-40.0.2-cp36-abi3-win_amd64.whl", hash = "sha256:b12794f01d4cacfbd3177b9042198f3af1c856eedd0a98f10f141385c809a14b"}, + {file = "cryptography-40.0.2-pp38-pypy38_pp73-macosx_10_12_x86_64.whl", hash = "sha256:142bae539ef28a1c76794cca7f49729e7c54423f615cfd9b0b1fa90ebe53244b"}, + {file = "cryptography-40.0.2-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:956ba8701b4ffe91ba59665ed170a2ebbdc6fc0e40de5f6059195d9f2b33ca0e"}, + {file = "cryptography-40.0.2-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:4f01c9863da784558165f5d4d916093737a75203a5c5286fde60e503e4276c7a"}, + {file = "cryptography-40.0.2-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:3daf9b114213f8ba460b829a02896789751626a2a4e7a43a28ee77c04b5e4958"}, + {file = "cryptography-40.0.2-pp39-pypy39_pp73-macosx_10_12_x86_64.whl", hash = "sha256:48f388d0d153350f378c7f7b41497a54ff1513c816bcbbcafe5b829e59b9ce5b"}, + {file = "cryptography-40.0.2-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:c0764e72b36a3dc065c155e5b22f93df465da9c39af65516fe04ed3c68c92636"}, + {file = "cryptography-40.0.2-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:cbaba590180cba88cb99a5f76f90808a624f18b169b90a4abb40c1fd8c19420e"}, + {file = "cryptography-40.0.2-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:7a38250f433cd41df7fcb763caa3ee9362777fdb4dc642b9a349721d2bf47404"}, + {file = "cryptography-40.0.2.tar.gz", hash = "sha256:c33c0d32b8594fa647d2e01dbccc303478e16fdd7cf98652d5b3ed11aa5e5c99"}, ] [package.dependencies] @@ -947,14 +947,14 @@ lxml = ["lxml"] [[package]] name = "httpcore" -version = "0.16.3" +version = "0.17.0" description = "A minimal low-level HTTP client." category = "main" optional = false python-versions = ">=3.7" files = [ - {file = "httpcore-0.16.3-py3-none-any.whl", hash = "sha256:da1fb708784a938aa084bde4feb8317056c55037247c787bd7e19eb2c2949dc0"}, - {file = "httpcore-0.16.3.tar.gz", hash = "sha256:c5d6f04e2fc530f39e0c077e6a30caa53f1451096120f1f38b954afd0b17c0cb"}, + {file = "httpcore-0.17.0-py3-none-any.whl", hash = "sha256:0fdfea45e94f0c9fd96eab9286077f9ff788dd186635ae61b312693e4d943599"}, + {file = "httpcore-0.17.0.tar.gz", hash = "sha256:cc045a3241afbf60ce056202301b4d8b6af08845e3294055eb26b09913ef903c"}, ] [package.dependencies] @@ -969,26 +969,26 @@ socks = ["socksio (>=1.0.0,<2.0.0)"] [[package]] name = "httpx" -version = "0.23.3" +version = "0.24.0" description = "The next generation HTTP client." category = "main" optional = false python-versions = ">=3.7" files = [ - {file = "httpx-0.23.3-py3-none-any.whl", hash = "sha256:a211fcce9b1254ea24f0cd6af9869b3d29aba40154e947d2a07bb499b3e310d6"}, - {file = "httpx-0.23.3.tar.gz", hash = "sha256:9818458eb565bb54898ccb9b8b251a28785dd4a55afbc23d0eb410754fe7d0f9"}, + {file = "httpx-0.24.0-py3-none-any.whl", hash = "sha256:447556b50c1921c351ea54b4fe79d91b724ed2b027462ab9a329465d147d5a4e"}, + {file = "httpx-0.24.0.tar.gz", hash = "sha256:507d676fc3e26110d41df7d35ebd8b3b8585052450f4097401c9be59d928c63e"}, ] [package.dependencies] certifi = "*" -httpcore = ">=0.15.0,<0.17.0" -rfc3986 = {version = ">=1.3,<2", extras = ["idna2008"]} +httpcore = ">=0.15.0,<0.18.0" +idna = "*" sniffio = "*" socksio = {version = ">=1.0.0,<2.0.0", optional = true, markers = "extra == \"socks\""} [package.extras] brotli = ["brotli", "brotlicffi"] -cli = ["click (>=8.0.0,<9.0.0)", "pygments (>=2.0.0,<3.0.0)", "rich (>=10,<13)"] +cli = ["click (>=8.0.0,<9.0.0)", "pygments (>=2.0.0,<3.0.0)", "rich (>=10,<14)"] http2 = ["h2 (>=3,<5)"] socks = ["socksio (>=1.0.0,<2.0.0)"] @@ -1006,14 +1006,14 @@ files = [ [[package]] name = "importlib-metadata" -version = "6.3.0" +version = "6.4.0" description = "Read metadata from Python packages" category = "main" optional = false python-versions = ">=3.7" files = [ - {file = "importlib_metadata-6.3.0-py3-none-any.whl", hash = "sha256:8f8bd2af397cf33bd344d35cfe7f489219b7d14fc79a3f854b75b8417e9226b0"}, - {file = "importlib_metadata-6.3.0.tar.gz", hash = "sha256:23c2bcae4762dfb0bbe072d358faec24957901d75b6c4ab11172c0c982532402"}, + {file = "importlib_metadata-6.4.0-py3-none-any.whl", hash = "sha256:2d9fece0377fee13ea64fe5ca6df59e994443eeec68d17bcec40e92b0b043c2a"}, + {file = "importlib_metadata-6.4.0.tar.gz", hash = "sha256:6f9397c044950120016c12fa268680dae27e0663ffb8e53dafc7ecfcbd0dadb9"}, ] [package.dependencies] @@ -1050,14 +1050,14 @@ files = [ [[package]] name = "invoke" -version = "1.7.3" +version = "2.0.0" description = "Pythonic task execution" category = "dev" optional = false -python-versions = "*" +python-versions = ">=3.6" files = [ - {file = "invoke-1.7.3-py3-none-any.whl", hash = "sha256:d9694a865764dd3fd91f25f7e9a97fb41666e822bbb00e670091e3f43933574d"}, - {file = "invoke-1.7.3.tar.gz", hash = "sha256:41b428342d466a82135d5ab37119685a989713742be46e42a3a399d685579314"}, + {file = "invoke-2.0.0-py3-none-any.whl", hash = "sha256:a860582bcf7a4b336fe18ef53937f0f28cec1c0053ffa767c2fcf7ba0b850f59"}, + {file = "invoke-2.0.0.tar.gz", hash = "sha256:7ab5dd9cd76b787d560a78b1a9810d252367ab595985c50612702be21d671dd7"}, ] [[package]] @@ -1387,14 +1387,14 @@ requests = "*" [[package]] name = "packaging" -version = "23.0" +version = "23.1" description = "Core utilities for Python packages" category = "main" optional = false python-versions = ">=3.7" files = [ - {file = "packaging-23.0-py3-none-any.whl", hash = "sha256:714ac14496c3e68c99c29b00845f7a2b85f3bb6f1078fd9f72fd20f0570002b2"}, - {file = "packaging-23.0.tar.gz", hash = "sha256:b6ad297f8907de0fa2fe1ccbd26fdaf387f5f47c7275fedf8cce89f99446cf97"}, + {file = "packaging-23.1-py3-none-any.whl", hash = "sha256:994793af429502c4ea2ebf6bf664629d07c1a9fe974af92966e4b8d2df7edc61"}, + {file = "packaging-23.1.tar.gz", hash = "sha256:a392980d2b6cffa644431898be54b0045151319d1e7ec34f0cfed48767dd334f"}, ] [[package]] @@ -1699,14 +1699,14 @@ tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} [[package]] name = "pyright" -version = "1.1.302" +version = "1.1.303" description = "Command line wrapper for pyright" category = "dev" optional = false python-versions = ">=3.7" files = [ - {file = "pyright-1.1.302-py3-none-any.whl", hash = "sha256:1929e3126b664b5281dba66a789e8e04358afca48c10994ee0243b8c2a14acdf"}, - {file = "pyright-1.1.302.tar.gz", hash = "sha256:e74a7dfbbb1d754941d015cccea8a6d29b395d8e4cb0e45dcfcaf3b6c6cfd540"}, + {file = "pyright-1.1.303-py3-none-any.whl", hash = "sha256:8fe3d122d7e965e2df2cef64e1ceb98cff8200f458e7892d92a4c21ee85689c7"}, + {file = "pyright-1.1.303.tar.gz", hash = "sha256:7daa516424555681e8974b21a95c108c5def791bf5381522b1410026d4da62c1"}, ] [package.dependencies] @@ -1768,14 +1768,14 @@ files = [ [[package]] name = "pytest" -version = "7.3.0" +version = "7.3.1" description = "pytest: simple powerful testing with Python" category = "dev" optional = false python-versions = ">=3.7" files = [ - {file = "pytest-7.3.0-py3-none-any.whl", hash = "sha256:933051fa1bfbd38a21e73c3960cebdad4cf59483ddba7696c48509727e17f201"}, - {file = "pytest-7.3.0.tar.gz", hash = "sha256:58ecc27ebf0ea643ebfdf7fb1249335da761a00c9f955bcd922349bcb68ee57d"}, + {file = "pytest-7.3.1-py3-none-any.whl", hash = "sha256:3799fa815351fea3a5e96ac7e503a96fa51cc9942c3753cda7651b93c1cfa362"}, + {file = "pytest-7.3.1.tar.gz", hash = "sha256:434afafd78b1d78ed0addf160ad2b77a30d35d4bdf8af234fe621919d9ed15e3"}, ] [package.dependencies] @@ -1808,6 +1808,26 @@ pytest = ">=4.6" [package.extras] testing = ["fields", "hunter", "process-tests", "pytest-xdist", "six", "virtualenv"] +[[package]] +name = "pytest-sugar" +version = "0.9.7" +description = "pytest-sugar is a plugin for pytest that changes the default look and feel of pytest (e.g. progressbar, show tests that fail instantly)." +category = "dev" +optional = false +python-versions = "*" +files = [ + {file = "pytest-sugar-0.9.7.tar.gz", hash = "sha256:f1e74c1abfa55f7241cf7088032b6e378566f16b938f3f08905e2cf4494edd46"}, + {file = "pytest_sugar-0.9.7-py2.py3-none-any.whl", hash = "sha256:8cb5a4e5f8bbcd834622b0235db9e50432f4cbd71fef55b467fe44e43701e062"}, +] + +[package.dependencies] +packaging = ">=21.3" +pytest = ">=6.2.0" +termcolor = ">=2.1.0" + +[package.extras] +dev = ["black", "flake8", "pre-commit"] + [[package]] name = "pywin32-ctypes" version = "0.2.0" @@ -2035,14 +2055,14 @@ requests = ">=2.0.1,<3.0.0" [[package]] name = "revchatgpt" -version = "4.1.6" +version = "4.2.2" description = "ChatGPT is a reverse engineering of OpenAI's ChatGPT API" category = "main" optional = false python-versions = "*" files = [ - {file = "revChatGPT-4.1.6-py3-none-any.whl", hash = "sha256:902ed7316289284a37218a792d8ab2eb1a93ee3a4d179893bb7a3b33ef87ab29"}, - {file = "revChatGPT-4.1.6.tar.gz", hash = "sha256:f12d17e2fa9eaccf61db613405d02b3baee741f7c8de466a0e5bbbee3c4ba169"}, + {file = "revChatGPT-4.2.2-py3-none-any.whl", hash = "sha256:7d7e9186ba18d40deab59ea634ea91417d86d6143af2b88d1185b40ba459aa68"}, + {file = "revChatGPT-4.2.2.tar.gz", hash = "sha256:36e5ed7fec6e57f4b51cbaa72eabf74db3592a1b24d8d8aff5817f73cef14a65"}, ] [package.dependencies] @@ -2053,24 +2073,6 @@ prompt-toolkit = "*" requests = {version = "*", extras = ["socks"]} tiktoken = ">=0.3.0" -[[package]] -name = "rfc3986" -version = "1.5.0" -description = "Validating URI References per RFC 3986" -category = "main" -optional = false -python-versions = "*" -files = [ - {file = "rfc3986-1.5.0-py2.py3-none-any.whl", hash = "sha256:a86d6e1f5b1dc238b218b012df0aa79409667bb209e58da56d0b94704e712a97"}, - {file = "rfc3986-1.5.0.tar.gz", hash = "sha256:270aaf10d87d0d4e095063c65bf3ddbc6ee3d0b226328ce21e036f946e421835"}, -] - -[package.dependencies] -idna = {version = "*", optional = true, markers = "extra == \"idna2008\""} - -[package.extras] -idna2008 = ["idna"] - [[package]] name = "rich" version = "12.6.0" @@ -2092,28 +2094,29 @@ jupyter = ["ipywidgets (>=7.5.1,<8.0.0)"] [[package]] name = "ruff" -version = "0.0.199" +version = "0.0.261" description = "An extremely fast Python linter, written in Rust." category = "dev" optional = false python-versions = ">=3.7" files = [ - {file = "ruff-0.0.199-py3-none-macosx_10_7_x86_64.whl", hash = "sha256:0040c0122458eb78962c83bb361b1d33062331228e97dd80a12580c45781731a"}, - {file = "ruff-0.0.199-py3-none-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl", hash = "sha256:3eb407e358083cc226b98cd8794c8b07b1cc8870447c8576b18cc59dc446dcd3"}, - {file = "ruff-0.0.199-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4523db1b0046379d10212ed1022675e28048b2edd433b1ea725550cc2d435001"}, - {file = "ruff-0.0.199-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:054b0c69aac566f49e496f1e923fd0642c84c6bfc9d88adf866ccc8cedd11281"}, - {file = "ruff-0.0.199-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0919014af32b9b110c3de2bd6a93a7d678f8723e9b80d5f4d39b455535a7d828"}, - {file = "ruff-0.0.199-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:17611c0bc321bb69e8079463ed66e5b2a325004050a8a748738beaaacae045d3"}, - {file = "ruff-0.0.199-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:caba3a8539032a831c3c2896f9cab96d207dace40c5eede2ad3c3a06adabdb50"}, - {file = "ruff-0.0.199-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:804f557d72190c3580e5d4d48001b0f201736a8c31e592b028288b4c1dda60ef"}, - {file = "ruff-0.0.199-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bc68c4f1480d4e539c50157a8960c183686c7822d0cb3ccdcbe4795a27978fe6"}, - {file = "ruff-0.0.199-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:cf7f707a9cdd76ddb369947166ff9add17e116673d166483511339cc98222ad7"}, - {file = "ruff-0.0.199-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:931bc8178933f0d2f23ad937f6bd42500629d7ca950361f12d28b7a28df19069"}, - {file = "ruff-0.0.199-py3-none-musllinux_1_2_i686.whl", hash = "sha256:e5fd2db3e52c049ab125c77158d9880d04e81c06222642f62029a7d99de27e9a"}, - {file = "ruff-0.0.199-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:7455ad65dd8804d89920cd963f8303af6ae356f46520639b26c46ac7be917064"}, - {file = "ruff-0.0.199-py3-none-win32.whl", hash = "sha256:b12d336f2d799a5520a5c7fde7728c9dc9ae2f60e897e91eaf4e761f1cc278cd"}, - {file = "ruff-0.0.199-py3-none-win_amd64.whl", hash = "sha256:63b62b45d50de02265598393bc57103945837824602c8f0f86a2daeb614cbc9e"}, - {file = "ruff-0.0.199.tar.gz", hash = "sha256:d664256dedc597a4a312702fe59536dd393dcff7371a5ddf5e8a666dc4788625"}, + {file = "ruff-0.0.261-py3-none-macosx_10_7_x86_64.whl", hash = "sha256:6624a966c4a21110cee6780333e2216522a831364896f3d98f13120936eff40a"}, + {file = "ruff-0.0.261-py3-none-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl", hash = "sha256:2dba68a9e558ab33e6dd5d280af798a2d9d3c80c913ad9c8b8e97d7b287f1cc9"}, + {file = "ruff-0.0.261-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8dbd0cee5a81b0785dc0feeb2640c1e31abe93f0d77c5233507ac59731a626f1"}, + {file = "ruff-0.0.261-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:581e64fa1518df495ca890a605ee65065101a86db56b6858f848bade69fc6489"}, + {file = "ruff-0.0.261-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:cc970f6ece0b4950e419f0252895ee42e9e8e5689c6494d18f5dc2c6ebb7f798"}, + {file = "ruff-0.0.261-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:8fa98e747e0fe185d65a40b0ea13f55c492f3b5f9a032a1097e82edaddb9e52e"}, + {file = "ruff-0.0.261-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f268d52a71bf410aa45c232870c17049df322a7d20e871cfe622c9fc784aab7b"}, + {file = "ruff-0.0.261-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d1293acc64eba16a11109678dc4743df08c207ed2edbeaf38b3e10eb2597321b"}, + {file = "ruff-0.0.261-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d95596e2f4cafead19a6d1ec0b86f8fda45ba66fe934de3956d71146a87959b3"}, + {file = "ruff-0.0.261-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:4bcec45abdf65c1328a269cf6cc193f7ff85b777fa2865c64cf2c96b80148a2c"}, + {file = "ruff-0.0.261-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:6c5f397ec0af42a434ad4b6f86565027406c5d0d0ebeea0d5b3f90c4bf55bc82"}, + {file = "ruff-0.0.261-py3-none-musllinux_1_2_i686.whl", hash = "sha256:39abd02342cec0c131b2ddcaace08b2eae9700cab3ca7dba64ae5fd4f4881bd0"}, + {file = "ruff-0.0.261-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:aaa4f52a6e513f8daa450dac4859e80390d947052f592f0d8e796baab24df2fc"}, + {file = "ruff-0.0.261-py3-none-win32.whl", hash = "sha256:daff64b4e86e42ce69e6367d63aab9562fc213cd4db0e146859df8abc283dba0"}, + {file = "ruff-0.0.261-py3-none-win_amd64.whl", hash = "sha256:0fbc689c23609edda36169c8708bb91bab111d8f44cb4a88330541757770ab30"}, + {file = "ruff-0.0.261-py3-none-win_arm64.whl", hash = "sha256:d2eddc60ae75fc87f8bb8fd6e8d5339cf884cd6de81e82a50287424309c187ba"}, + {file = "ruff-0.0.261.tar.gz", hash = "sha256:c1c715b0d1e18f9c509d7c411ca61da3543a4aa459325b1b1e52b8301d65c6d2"}, ] [[package]] @@ -2197,6 +2200,21 @@ files = [ {file = "socksio-1.0.0.tar.gz", hash = "sha256:f88beb3da5b5c38b9890469de67d0cb0f9d494b78b106ca1845f96c10b91c4ac"}, ] +[[package]] +name = "termcolor" +version = "2.2.0" +description = "ANSI color formatting for output in terminal" +category = "dev" +optional = false +python-versions = ">=3.7" +files = [ + {file = "termcolor-2.2.0-py3-none-any.whl", hash = "sha256:91ddd848e7251200eac969846cbae2dacd7d71c2871e92733289e7e3666f48e7"}, + {file = "termcolor-2.2.0.tar.gz", hash = "sha256:dfc8ac3f350788f23b2947b3e6cfa5a53b630b612e6cd8965a015a776020b99a"}, +] + +[package.extras] +tests = ["pytest", "pytest-cov"] + [[package]] name = "tiktoken" version = "0.3.3" @@ -2338,14 +2356,14 @@ test = ["black (>=22.3.0,<23.0.0)", "coverage (>=6.2,<7.0)", "isort (>=5.0.6,<6. [[package]] name = "types-invoke" -version = "1.7.3.17" +version = "2.0.0.6" description = "Typing stubs for invoke" category = "dev" optional = false python-versions = "*" files = [ - {file = "types-invoke-1.7.3.17.tar.gz", hash = "sha256:66594299c767e985c99708220797558b06967ed8130b99dc138dad0d502ccc24"}, - {file = "types_invoke-1.7.3.17-py3-none-any.whl", hash = "sha256:6696c4e1c3d624711fc70e9f251d1900ceaf5ed484c0505a6f1372cdc45249b8"}, + {file = "types-invoke-2.0.0.6.tar.gz", hash = "sha256:b3bd3a7e18548b98f6a2833a635a5ee56cd32f32d8046ec3786de8043ece2b6e"}, + {file = "types_invoke-2.0.0.6-py3-none-any.whl", hash = "sha256:7b2c2994162a453b4a7386530da3be1a03f171c0826ab4aabf75f2034a914e12"}, ] [[package]] @@ -2759,4 +2777,4 @@ testing = ["big-O", "flake8 (<5)", "jaraco.functools", "jaraco.itertools", "more [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "e655ca04e8e83bb5895e084ced6dd07a3ea65940f5e03d948270ecdbed91aa03" +content-hash = "4ad7ba3d8b0844d2f958fd5c5a1191c40300df2e061c6d3cb985feace584f64e" diff --git a/pyproject.toml b/pyproject.toml index 1a2ff11..5600e50 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,8 +47,8 @@ python = "^3.9" poetry = "^1.4.0" typer = { extras = ["all"], version = "^0.7.0" } rich = "<13.0.0" -revchatgpt = "^4.1.6" -pydantic = "^1.10.5" +revchatgpt = "^4.2.2" +pydantic = "^1.10.7" yt-dlp = "^2023.3.4" [tool.poetry.scripts] @@ -61,11 +61,12 @@ multiline-quotes = "single" [tool.poetry.group.dev.dependencies] toml = "^0.10.2" +types-toml = "^0.10.8.6" +invoke = "^2.0.0" +types-invoke = "^2.0.0.6" +ruff = "^0.0.261" yapf = "^0.32.0" +pyright = "^1.1.302" pytest = "^7.2.2" pytest-cov = "^4.0.0" -invoke = "^1.7.3" -ruff = "^0.0.199" -types-invoke = "^1.7.3.16" -types-toml = "^0.10.8.5" -pyright = "^1.1.296" +pytest-sugar = "^0.9.7" From 4af88a825e987600c372782ceb0ad49f0a7a4a86 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Sun, 16 Apr 2023 00:22:57 +0900 Subject: [PATCH 2/3] Remove monkey patch for invoke --- monkey_patch_invoke.py | 43 ------------------------------------------ tasks.py | 2 -- 2 files changed, 45 deletions(-) delete mode 100644 monkey_patch_invoke.py diff --git a/monkey_patch_invoke.py b/monkey_patch_invoke.py deleted file mode 100644 index 59dfa38..0000000 --- a/monkey_patch_invoke.py +++ /dev/null @@ -1,43 +0,0 @@ -import inspect -import types -from typing import Any, Callable, Dict, List, Tuple, Union - -from invoke.context import Context -from invoke.tasks import NO_DEFAULT, Task - - -def monkey_patch_invoke() -> None: - - def _patched_argspec( - self: Any, # pylint: disable=unused-argument - body: Union[Callable[[Context], None], Context], - ) -> Tuple[List[str], Dict[str, object]]: - """ - A monkey patching code for supporting python3 - from: https://github.com/pyinvoke/invoke/issues/357#issuecomment-1250744013 - """ - signature: inspect.Signature = inspect.Signature() - if isinstance(body, types.FunctionType): - signature = inspect.signature(body) - elif isinstance(body, types.MethodType): - signature = inspect.signature(body.__call__) - - parameter_names = [name for name, _ in signature.parameters.items()] - argument_specs: dict[str, object] = {} - for key, value in signature.parameters.items(): - value = value.default if not value.default == signature.empty else NO_DEFAULT - argument_specs[key] = value - - # Pop context argument - try: - context_arg = parameter_names.pop(0) - except IndexError as error: - raise TypeError('Tasks must have an initial Context argument!') from error - - del argument_specs[context_arg] - return parameter_names, argument_specs - - Task.argspec = _patched_argspec - - -monkey_patch_invoke() diff --git a/tasks.py b/tasks.py index 5e728c9..47b74ed 100644 --- a/tasks.py +++ b/tasks.py @@ -5,8 +5,6 @@ from invoke import Context, task from invoke.exceptions import UnexpectedExit -import monkey_patch_invoke as _ # noqa: F401 - def get_pep8_compliant_name(project_name: str) -> str: return project_name.replace('-', '_') From a2e197229862bec5ed02a3f7d0e341e5202ba8ac Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Sun, 16 Apr 2023 00:23:43 +0900 Subject: [PATCH 3/3] Remove ruff's useless rule --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 5600e50..057f5c0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,7 +36,7 @@ allow_split_before_dict_value = false [tool.ruff] line-length = 119 -select = ["PLE", "PLR", "PLW", "E", "W", "F", "I", "Q"] +select = ["PLE", "PLW", "E", "W", "F", "I", "Q"] [tool.pytest.ini_options] addopts = ["--cov=ygka"]