From fc861426aa9ececc36ed25c5dde53798996a6e2c Mon Sep 17 00:00:00 2001 From: Alejandro Date: Fri, 10 Jan 2025 14:59:41 -0800 Subject: [PATCH] Update dependency version for typer - Adjusted version constraints for urllib3, pydantic, numpy, and typing-extensions in poetry.lock to support Python version changes. - Marked 'waitress' and 'werkzeug' as optional in poetry.lock. - Updated the version constraint for 'typer' in pyproject.toml to restrict it to versions below 0.16. These changes ensure compatibility with newer Python versions and improve package management. --- poetry.lock | 16 ++++++++-------- pyproject.toml | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/poetry.lock b/poetry.lock index b9620173f..d17a51d9f 100644 --- a/poetry.lock +++ b/poetry.lock @@ -563,8 +563,8 @@ files = [ jmespath = ">=0.7.1,<2.0.0" python-dateutil = ">=2.1,<3.0.0" urllib3 = [ - {version = ">=1.25.4,<2.2.0 || >2.2.0,<3", markers = "python_version >= \"3.10\""}, {version = ">=1.25.4,<1.27", markers = "python_version < \"3.10\""}, + {version = ">=1.25.4,<2.2.0 || >2.2.0,<3", markers = "python_version >= \"3.10\""}, ] [package.extras] @@ -3371,8 +3371,8 @@ jsonpatch = ">=1.33,<2.0" langsmith = ">=0.1.125,<0.2.0" packaging = ">=23.2,<25" pydantic = [ - {version = ">=2.7.4,<3.0.0", markers = "python_full_version >= \"3.12.4\""}, {version = ">=2.5.2,<3.0.0", markers = "python_full_version < \"3.12.4\""}, + {version = ">=2.7.4,<3.0.0", markers = "python_full_version >= \"3.12.4\""}, ] PyYAML = ">=5.3" tenacity = ">=8.1.0,<8.4.0 || >8.4.0,<10.0.0" @@ -3393,8 +3393,8 @@ files = [ httpx = ">=0.23.0,<1" orjson = ">=3.9.14,<4.0.0" pydantic = [ - {version = ">=2.7.4,<3.0.0", markers = "python_full_version >= \"3.12.4\""}, {version = ">=1,<3", markers = "python_full_version < \"3.12.4\""}, + {version = ">=2.7.4,<3.0.0", markers = "python_full_version >= \"3.12.4\""}, ] requests = ">=2,<3" requests-toolbelt = ">=1.0.0,<2.0.0" @@ -5440,9 +5440,9 @@ files = [ [package.dependencies] numpy = [ - {version = ">=1.26.0", markers = "python_version >= \"3.12\""}, {version = ">=1.22.4", markers = "python_version < \"3.11\""}, {version = ">=1.23.2", markers = "python_version == \"3.11\""}, + {version = ">=1.26.0", markers = "python_version >= \"3.12\""}, ] python-dateutil = ">=2.8.2" pytz = ">=2020.1" @@ -6083,8 +6083,8 @@ files = [ annotated-types = ">=0.6.0" pydantic-core = "2.23.4" typing-extensions = [ - {version = ">=4.12.2", markers = "python_version >= \"3.13\""}, {version = ">=4.6.1", markers = "python_version < \"3.13\""}, + {version = ">=4.12.2", markers = "python_version >= \"3.13\""}, ] [package.extras] @@ -8604,7 +8604,7 @@ test = ["covdefaults (>=2.3)", "coverage (>=7.2.7)", "coverage-enable-subprocess name = "waitress" version = "3.0.1" description = "Waitress WSGI server" -optional = false +optional = true python-versions = ">=3.9.0" files = [ {file = "waitress-3.0.1-py3-none-any.whl", hash = "sha256:26cdbc593093a15119351690752c99adc13cbc6786d75f7b6341d1234a3730ac"}, @@ -8714,7 +8714,7 @@ test = ["websockets"] name = "werkzeug" version = "3.0.6" description = "The comprehensive WSGI web application library." -optional = false +optional = true python-versions = ">=3.8" files = [ {file = "werkzeug-3.0.6-py3-none-any.whl", hash = "sha256:1bc0c2310d2fbb07b1dd1105eba2f7af72f322e1e455f2f93c993bee8c8a5f17"}, @@ -9095,4 +9095,4 @@ vectordb = ["faiss-cpu", "numpy"] [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "7f606e33270aac996c2f2bc71f26cdfab49a0d01f0cb919957a3cc510bfe2b84" +content-hash = "56897ffe8ae1275825b1411837fa7d809625a453f22a231edf8cb0458a11529e" diff --git a/pyproject.toml b/pyproject.toml index d5bddb909..c1a108152 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,7 +20,7 @@ lxml = "^4.9.3" openai = "^1.30.1" rich = "^13.6.0" pydantic = ">=2.0.0, <3.0" -typer = {extras = ["all"], version = ">=0.9.0, <0.13"} +typer = {extras = ["all"], version = ">=0.9.0,<0.16"} griffe = "^0.36.9" tenacity = ">=8.1.0" rstr = "^3.2.2"