From b10fc4782b6b5761471b311b90ff557d89f652c6 Mon Sep 17 00:00:00 2001 From: Zanie Date: Fri, 27 Oct 2023 19:12:03 -0500 Subject: [PATCH] build: allow installation with typeguard 4.x Tested with v4.1.5 --- poetry.lock | 16 ++++++++-------- pyproject.toml | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/poetry.lock b/poetry.lock index 2cbc4ffb..0be358ac 100644 --- a/poetry.lock +++ b/poetry.lock @@ -768,7 +768,7 @@ name = "pycparser" version = "2.21" description = "C parser in Python" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +python-versions = "*" files = [ {file = "pycparser-2.21-py2.py3-none-any.whl", hash = "sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9"}, {file = "pycparser-2.21.tar.gz", hash = "sha256:e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206"}, @@ -1208,22 +1208,22 @@ files = [ [[package]] name = "typeguard" -version = "3.0.2" +version = "4.1.2" description = "Run-time type checker for Python" optional = false python-versions = ">=3.7.4" files = [ - {file = "typeguard-3.0.2-py3-none-any.whl", hash = "sha256:bbe993854385284ab42fd5bd3bee6f6556577ce8b50696d6cb956d704f286c8e"}, - {file = "typeguard-3.0.2.tar.gz", hash = "sha256:fee5297fdb28f8e9efcb8142b5ee219e02375509cd77ea9d270b5af826358d5a"}, + {file = "typeguard-4.1.2-py3-none-any.whl", hash = "sha256:e00775920d4c91e93a0db0ed473ecda9cfaca578aed3ce0ed3ba7f3cc38eab9c"}, + {file = "typeguard-4.1.2.tar.gz", hash = "sha256:3be187945f9ef5a9f6d7a926dfe54babb7dfd807085ce05f9a5e8735f2487990"}, ] [package.dependencies] importlib-metadata = {version = ">=3.6", markers = "python_version < \"3.10\""} -typing-extensions = {version = ">=4.4.0", markers = "python_version < \"3.11\""} +typing-extensions = {version = ">=4.7.0", markers = "python_version < \"3.12\""} [package.extras] -doc = ["packaging", "sphinx-autodoc-typehints (>=1.2.0)", "sphinx-rtd-theme"] -test = ["mypy (>=0.991)", "pytest (>=7)"] +doc = ["Sphinx (<7)", "packaging", "sphinx-autodoc-typehints (>=1.2.0)", "sphinx-rtd-theme"] +test = ["mypy (>=1.2.0)", "pytest (>=7)"] [[package]] name = "typing-extensions" @@ -1370,4 +1370,4 @@ ws = ["websockets"] [metadata] lock-version = "2.0" python-versions = ">=3.7.9,<4" -content-hash = "ea468ceb5e9f165f022c3fad800f9d063f04fa8034b4f07ff96921b86940afe0" +content-hash = "9d4500140c88012de355929e7d854dc1eea4f6269c5f985e24196ec5d64bf499" diff --git a/pyproject.toml b/pyproject.toml index f061c374..71563156 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ readme = "README.md" [tool.poetry.dependencies] python = ">=3.7.9,<4" lsprotocol = "2023.0.0b1" -typeguard = "^3.0.0" +typeguard = ">=3.0.0, <5" websockets = {version = "^11.0.3", optional = true} [tool.poetry.extras]