From 8dfcb2cca66e764a2621b6855f4945be68e25b43 Mon Sep 17 00:00:00 2001 From: zethson Date: Wed, 2 Aug 2023 12:33:03 +0200 Subject: [PATCH] Python 3.11 support --- poetry.lock | 20 +++++++++++++++----- pyproject.toml | 2 +- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/poetry.lock b/poetry.lock index 0d0bc399..fcdf1948 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1740,8 +1740,14 @@ files = [ [package.dependencies] google-auth = ">=2.14.1,<3.0.dev0" googleapis-common-protos = ">=1.56.2,<2.0.dev0" -grpcio = {version = ">=1.33.2,<2.0dev", optional = true, markers = "extra == \"grpc\""} -grpcio-status = {version = ">=1.33.2,<2.0.dev0", optional = true, markers = "extra == \"grpc\""} +grpcio = [ + {version = ">=1.33.2,<2.0dev", optional = true, markers = "extra == \"grpc\""}, + {version = ">=1.49.1,<2.0dev", optional = true, markers = "python_version >= \"3.11\" and extra == \"grpc\""}, +] +grpcio-status = [ + {version = ">=1.33.2,<2.0.dev0", optional = true, markers = "extra == \"grpc\""}, + {version = ">=1.49.1,<2.0.dev0", optional = true, markers = "python_version >= \"3.11\" and extra == \"grpc\""}, +] protobuf = ">=3.19.5,<3.20.0 || >3.20.0,<3.20.1 || >3.20.1,<4.21.0 || >4.21.0,<4.21.1 || >4.21.1,<4.21.2 || >4.21.2,<4.21.3 || >4.21.3,<4.21.4 || >4.21.4,<4.21.5 || >4.21.5,<5.0.0.dev0" requests = ">=2.18.0,<3.0.0.dev0" @@ -1789,7 +1795,10 @@ files = [ google-api-core = {version = ">=1.31.5,<2.0.dev0 || >2.3.0,<3.0.0dev", extras = ["grpc"]} google-cloud-core = ">=1.6.0,<3.0.0dev" google-resumable-media = ">=0.6.0,<3.0dev" -grpcio = ">=1.47.0,<2.0dev" +grpcio = [ + {version = ">=1.47.0,<2.0dev", markers = "python_version < \"3.11\""}, + {version = ">=1.49.1,<2.0dev", markers = "python_version >= \"3.11\""}, +] packaging = ">=20.0.0" proto-plus = ">=1.15.0,<2.0.0dev" protobuf = ">=3.19.5,<3.20.0 || >3.20.0,<3.20.1 || >3.20.1,<4.21.0 || >4.21.0,<4.21.1 || >4.21.1,<4.21.2 || >4.21.2,<4.21.3 || >4.21.3,<4.21.4 || >4.21.4,<4.21.5 || >4.21.5,<5.0.0dev" @@ -3739,6 +3748,7 @@ files = [ numpy = [ {version = ">=1.20.3", markers = "python_version < \"3.10\""}, {version = ">=1.21.0", markers = "python_version >= \"3.10\""}, + {version = ">=1.23.2", markers = "python_version >= \"3.11\""}, ] python-dateutil = ">=2.8.2" pytz = ">=2020.1" @@ -7094,5 +7104,5 @@ scikit-learn-intelex = ["scikit-learn-intelex"] [metadata] lock-version = "2.0" -python-versions = ">=3.9.0,<3.11" -content-hash = "bcc1688f939a748f2d3f0e5fb2f67b2c9fc22a3e2f6f73a49dbdde28e0bce0ad" +python-versions = ">=3.9.0,<3.12" +content-hash = "e4dd71d3c6b14e70f70c6674819aa796048b6dd33d925febbd3a8eb7bd87dd20" diff --git a/pyproject.toml b/pyproject.toml index 26016acf..57e1c8af 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,7 @@ classifiers = [ ] [tool.poetry.dependencies] -python = ">=3.9.0,<3.11" +python = ">=3.9.0,<3.12" rich = ">=10.12.0" PyYAML = ">=5.4.1" requests = ">=2.26.0"