From ca8b41bfc52c414a3e5a6988d212adeecf36d0be Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 21 Mar 2024 00:05:39 +0000 Subject: [PATCH] chore(deps): update python docker tag --- .python-version | 2 +- Dockerfile | 2 +- poetry.lock | 105 +++++++++++++++--------------------------------- pyproject.toml | 2 +- 4 files changed, 35 insertions(+), 76 deletions(-) diff --git a/.python-version b/.python-version index f870be23..8531a3b7 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.10.1 +3.12.2 diff --git a/Dockerfile b/Dockerfile index 0bc9ac59..58300053 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10-slim +FROM python:3.12-slim RUN apt-get update && apt-get install -y \ build-essential \ diff --git a/poetry.lock b/poetry.lock index 40ef63d8..7b266500 100644 --- a/poetry.lock +++ b/poetry.lock @@ -87,7 +87,6 @@ files = [ [package.dependencies] aiosignal = ">=1.1.2" -async-timeout = {version = ">=4.0,<5.0", markers = "python_version < \"3.11\""} attrs = ">=17.3.0" frozenlist = ">=1.1.1" multidict = ">=4.5,<7.0" @@ -133,27 +132,14 @@ files = [ ] [package.dependencies] -exceptiongroup = {version = ">=1.0.2", markers = "python_version < \"3.11\""} idna = ">=2.8" sniffio = ">=1.1" -typing-extensions = {version = ">=4.1", markers = "python_version < \"3.11\""} [package.extras] doc = ["Sphinx (>=7)", "packaging", "sphinx-autodoc-typehints (>=1.2.0)", "sphinx-rtd-theme"] test = ["anyio[trio]", "coverage[toml] (>=7)", "exceptiongroup (>=1.2.0)", "hypothesis (>=4.0)", "psutil (>=5.9)", "pytest (>=7.0)", "pytest-mock (>=3.6.1)", "trustme", "uvloop (>=0.17)"] trio = ["trio (>=0.23)"] -[[package]] -name = "async-timeout" -version = "4.0.3" -description = "Timeout context manager for asyncio programs" -optional = false -python-versions = ">=3.7" -files = [ - {file = "async-timeout-4.0.3.tar.gz", hash = "sha256:4640d96be84d82d02ed59ea2b7105a0f7b33abe8703703cd0ab0bf87c427522f"}, - {file = "async_timeout-4.0.3-py3-none-any.whl", hash = "sha256:7405140ff1230c310e51dc27b3145b9092d659ce68ff733fb0cefe3ee42be028"}, -] - [[package]] name = "attrs" version = "23.2.0" @@ -186,7 +172,6 @@ files = [ [package.dependencies] pycodestyle = ">=2.11.0" -tomli = {version = "*", markers = "python_version < \"3.11\""} [[package]] name = "babel" @@ -260,8 +245,6 @@ mypy-extensions = ">=0.4.3" packaging = ">=22.0" pathspec = ">=0.9.0" platformdirs = ">=2" -tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} -typing-extensions = {version = ">=4.0.1", markers = "python_version < \"3.11\""} [package.extras] colorama = ["colorama (>=0.4.3)"] @@ -642,20 +625,6 @@ files = [ {file = "dotty_dict-1.3.1.tar.gz", hash = "sha256:4b016e03b8ae265539757a53eba24b9bfda506fb94fbce0bee843c6f05541a15"}, ] -[[package]] -name = "exceptiongroup" -version = "1.2.0" -description = "Backport of PEP 654 (exception groups)" -optional = false -python-versions = ">=3.7" -files = [ - {file = "exceptiongroup-1.2.0-py3-none-any.whl", hash = "sha256:4bfd3996ac73b41e9b9628b04e079f193850720ea5945fc96a08633c66912f14"}, - {file = "exceptiongroup-1.2.0.tar.gz", hash = "sha256:91f5c769735f051a4290d52edd0858999b57e5876e9f85937691bd4c9fa3ed68"}, -] - -[package.extras] -test = ["pytest (>=6)"] - [[package]] name = "fastapi" version = "0.110.0" @@ -1109,7 +1078,6 @@ files = [ [package.dependencies] aiohttp = ">=3.8.3,<4.0.0" -async-timeout = {version = ">=4.0.0,<5.0.0", markers = "python_version < \"3.11\""} dataclasses-json = ">=0.5.7,<0.7" jsonpatch = ">=1.33,<2.0" langchain-community = ">=0.0.28,<0.1" @@ -2168,7 +2136,7 @@ files = [ ] [package.dependencies] -numpy = {version = ">=1.22.4,<2", markers = "python_version < \"3.11\""} +numpy = {version = ">=1.26.0,<2", markers = "python_version >= \"3.12\""} python-dateutil = ">=2.8.2" pytz = ">=2020.1" tzdata = ">=2022.7" @@ -3312,17 +3280,6 @@ requests = ">=2.26.0" [package.extras] blobfile = ["blobfile (>=2)"] -[[package]] -name = "tomli" -version = "2.0.1" -description = "A lil' TOML parser" -optional = false -python-versions = ">=3.7" -files = [ - {file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"}, - {file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"}, -] - [[package]] name = "tomlkit" version = "0.12.4" @@ -3356,32 +3313,37 @@ telegram = ["requests"] [[package]] name = "tree-sitter" -version = "0.21.0" +version = "0.21.1" description = "Python bindings for the Tree-Sitter parsing library" optional = false -python-versions = "<3.12,>=3.8" -files = [ - {file = "tree-sitter-0.21.0.tar.gz", hash = "sha256:c74ec9eff30e0c5b9f00ee578cca64df322b9885c8a15364a2c537f485abcc77"}, - {file = "tree_sitter-0.21.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:bb334076814909e8b1f22aba5128a07a953e9eacfd269d3e4f1819cf2b290f5b"}, - {file = "tree_sitter-0.21.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:8da1b036a13a5b1e7e499535060137f0127a05a0b63aec2b7e9992f27e1b0b2e"}, - {file = "tree_sitter-0.21.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cfcae2748f9d210370fca00fff95f7516e49953e60b4919bf42de64906417717"}, - {file = "tree_sitter-0.21.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:ca8f27570acb03a06fc3b663e4ebf1d224c442846ed3837a518b044bad20582b"}, - {file = "tree_sitter-0.21.0-cp310-cp310-win_amd64.whl", hash = "sha256:d78e2cf597f6e54bbfe27beae5dae6cde290d934753cb1a00d8b12d66f2034d8"}, - {file = "tree_sitter-0.21.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:384c103edf6e5ac98710c1a71e2956849d692a0c47d55cd5ba3aedc000b7c3d6"}, - {file = "tree_sitter-0.21.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:5ce18b46634a4132c6932e032ea4717e572cf0db40223afcf0eab69664ad3500"}, - {file = "tree_sitter-0.21.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3e2f0723c025bb532e9a0cad5e1b1f99b6e35049b948321c3ad7617be716bc7a"}, - {file = "tree_sitter-0.21.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:63458f19b266d9ec58057d8435f92728a164a6debc24fb3c545664bc0b4fa087"}, - {file = "tree_sitter-0.21.0-cp311-cp311-win_amd64.whl", hash = "sha256:f308f7d05019c35d43ea609c1f04ed896fd713ddf5c95db92b3c56dbbd3c1e09"}, - {file = "tree_sitter-0.21.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:ab516edce67cd201312ecd55b65b195ce118ab900cc649fc868a1185e462a9bc"}, - {file = "tree_sitter-0.21.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:ef283479cb0d5c37f4c8e6cefa6e28d4de9a1eb858b43e964c4e822282394300"}, - {file = "tree_sitter-0.21.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3310284a92d326d050cef385b4f6611a2166fbf04b2789fd87f279bfe939d6cb"}, - {file = "tree_sitter-0.21.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:46539b86c01463d4d5ac7b4834300504218f79e359fb496e0c4da40c24ddb167"}, - {file = "tree_sitter-0.21.0-cp38-cp38-win_amd64.whl", hash = "sha256:eb89b951958c26f902ea3ae32f5d899ca9231d1aea64823d634f71e77af41b11"}, - {file = "tree_sitter-0.21.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:72e109678704785cf75682edae5265106d9d13b5b146c2f6a5cd2ea0ed293e9c"}, - {file = "tree_sitter-0.21.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:0f8eae679c13f519ae4437610f5d7a3a849b401f61d0bc08ad0ee580d4102387"}, - {file = "tree_sitter-0.21.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0a9d007426365f3c027ef50c68ac03ab0b777ca6e613bfe921474ed69ad8ea1f"}, - {file = "tree_sitter-0.21.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:348df964896bc34ec4c55d45d052decbc0ec6519624bd15f2e31580477be5d6d"}, - {file = "tree_sitter-0.21.0-cp39-cp39-win_amd64.whl", hash = "sha256:55307318d10325ebafb51025cb630663f61172855f43c4054942a4ba69d4f11c"}, +python-versions = ">=3.8" +files = [ + {file = "tree-sitter-0.21.1.tar.gz", hash = "sha256:fc830cea69fff71cdf28e57326eeb9460ae5ff70d1b5d4bba36b889b4ba0237f"}, + {file = "tree_sitter-0.21.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:5725ae76f460b25e62788257eac4b3cc86670f97485fbb19f27c6c8a62524db6"}, + {file = "tree_sitter-0.21.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:a61817730c9ba0af2a3d646357946a89927ec1a59090ad6898f17cb646f71636"}, + {file = "tree_sitter-0.21.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:941690e1ddec309f3cd4cf70d5e63310499f2fdec42913e271720da38f95ff77"}, + {file = "tree_sitter-0.21.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:016ff1578df0f93605b94ffb385925d657371e411f4bd435281cfbb019f3bcf3"}, + {file = "tree_sitter-0.21.1-cp310-cp310-win_amd64.whl", hash = "sha256:d3085928e6ea5170728ea543d53426a4a19877ec67e8d835f754bda383887af6"}, + {file = "tree_sitter-0.21.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:797a57ba1c53162098a0ec23e3983ba2f7c5858fef427ee6560baa12c16288a9"}, + {file = "tree_sitter-0.21.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:4bec17a7ea8c7d628b60abf8be1e9ede18fb6dac6aeab4c4f5b0f458404ad594"}, + {file = "tree_sitter-0.21.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2ba3e9218e375f35b0bdb284747d6d42282810601a0cc0565c681cc10d45fb1d"}, + {file = "tree_sitter-0.21.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:08b9193de82e8029f42b05a618e4a99151133b5a0a746fa56070d37665f6181d"}, + {file = "tree_sitter-0.21.1-cp311-cp311-win_amd64.whl", hash = "sha256:dacf0bd3124aaa0e1474ce96a36276d90fd3a0cb581a5bc185ef0366f4617e47"}, + {file = "tree_sitter-0.21.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:88793e8e0b32c531cefcaa86c858d4c46079b629c9ec4ed264ba86337f9754b3"}, + {file = "tree_sitter-0.21.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:5c02f8a8b8c463b5b0ce007d3568ce434f159a176cedc8a3eaa68ec745bc8f0d"}, + {file = "tree_sitter-0.21.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7c6879f6a7544c15f0e3e4185c391d09cf643a7664f251ccb97dde243cf6ba51"}, + {file = "tree_sitter-0.21.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:9b4f029b04d267ed9dd0c78a816f92c28bfc4962194db5fbb6a6e2c83622fec2"}, + {file = "tree_sitter-0.21.1-cp312-cp312-win_amd64.whl", hash = "sha256:e9b32455d8f7151eb6a6a03541461e32107479a7dbc00fe1b1f93f899ce71234"}, + {file = "tree_sitter-0.21.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:96718b674f0e86c58d31d0f8507aa33b89af9381631f1a41c22231b6b0fc968a"}, + {file = "tree_sitter-0.21.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:404dd04cc6506d3b3b9ff6e82de3afd51f50d9253a7dbaac175b02019bb6e3e9"}, + {file = "tree_sitter-0.21.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1c2e322b00eea3f77426778b72e06d692ffce18571b0c7b56dd5fefc23fb79dc"}, + {file = "tree_sitter-0.21.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:1c3081556248a6149e49756491ad80cbbb6428bb6997120c857a01e6d8d426a6"}, + {file = "tree_sitter-0.21.1-cp38-cp38-win_amd64.whl", hash = "sha256:22c528609e8017c3b703472fe2e5e84c24d132cf9ce1cb19fc61d9f54037ceda"}, + {file = "tree_sitter-0.21.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:18544491bf2910e1587f67bcd568eeaf6de4a9d3b47c8018a724d4b97f96596b"}, + {file = "tree_sitter-0.21.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:8023c3e4e8133db620c7779577c9cf2b81ae047e40ce132af7b49ad0470676ce"}, + {file = "tree_sitter-0.21.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:38f5cf1ca75c9f874028bb4c0b4dfada1a39807286191dd8de67206971392d35"}, + {file = "tree_sitter-0.21.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:5732e57f86037b5a95eeed8d59967b0c8f3534622c998ac0e49ffaab3dee9f8f"}, + {file = "tree_sitter-0.21.1-cp39-cp39-win_amd64.whl", hash = "sha256:001b3162586f2e87949fdee768d266510bd21ec87f5c10f0e8a6fe20f1232647"}, ] [[package]] @@ -3469,7 +3431,6 @@ files = [ [package.dependencies] attrs = ">=20.1.0" cffi = {version = ">=1.14", markers = "os_name == \"nt\" and implementation_name != \"pypy\""} -exceptiongroup = {version = "*", markers = "python_version < \"3.11\""} idna = "*" outcome = "*" sniffio = ">=1.3.0" @@ -3487,7 +3448,6 @@ files = [ ] [package.dependencies] -exceptiongroup = {version = "*", markers = "python_version < \"3.11\""} trio = ">=0.11" wsproto = ">=0.14" @@ -3583,7 +3543,6 @@ files = [ [package.dependencies] click = ">=7.0" h11 = ">=0.8" -typing-extensions = {version = ">=4.0", markers = "python_version < \"3.11\""} [package.extras] standard = ["colorama (>=0.4)", "httptools (>=0.5.0)", "python-dotenv (>=0.13)", "pyyaml (>=5.1)", "uvloop (>=0.14.0,!=0.15.0,!=0.15.1)", "watchfiles (>=0.13)", "websockets (>=10.4)"] @@ -3858,5 +3817,5 @@ multidict = ">=4.0" [metadata] lock-version = "2.0" -python-versions = ">=3.10.0,<3.11" -content-hash = "3a4c865b689ac18b6f6e3ab123a6521635691a10dd1af02034098556a002576c" +python-versions = ">=3.12.2,<3.13" +content-hash = "136d3d8148fb8fe72e353dd063b470aa47951b59713eeb55d74dae33bc686044" diff --git a/pyproject.toml b/pyproject.toml index f96f3232..4d4144df 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ readme = "README.md" Repository = "https://github.com/kyaukyuai/gpt-all-star" [tool.poetry.dependencies] -python = ">=3.10.0,<3.11" +python = ">=3.12.2,<3.13" python-dotenv = "^1.0.0" jinja2 = "^3.1.2" langchain = "^0.1.0"