diff --git a/README.md b/README.md index 485aeb6..aaa793b 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,10 @@ TODO API DEMO ## installation +> **Note** +> python 3.11 or later is required due to a bug in earlier versions. +> [(python/cpython#88089)](https://github.com/python/cpython/issues/88089) + install surplus directly from the repository using pip: ```text @@ -71,7 +75,7 @@ options: prerequisites: -- [Python >=3.10](https://www.python.org/) +- [Python >=3.11](https://www.python.org/) - [Poetry](https://python-poetry.org/) alternatively, use [devbox](https://get.jetpack.io/devbox) for a hermetic development environment powered by [Nix](https://nixos.org/). diff --git a/poetry.lock b/poetry.lock index 803e3fb..4f2aa86 100644 --- a/poetry.lock +++ b/poetry.lock @@ -82,7 +82,6 @@ packaging = ">=22.0" pathspec = ">=0.9.0" platformdirs = ">=2" tokenize-rt = {version = ">=3.2.0", optional = true, markers = "extra == \"jupyter\""} -tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} [package.extras] colorama = ["colorama (>=0.4.3)"] @@ -311,7 +310,6 @@ files = [ [package.dependencies] mypy-extensions = ">=1.0.0" -tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} typing-extensions = ">=4.1.0" [package.extras] @@ -529,18 +527,6 @@ files = [ {file = "tokenize_rt-5.2.0.tar.gz", hash = "sha256:9fe80f8a5c1edad2d3ede0f37481cc0cc1538a2f442c9c2f9e4feacd2792d054"}, ] -[[package]] -name = "tomli" -version = "2.0.1" -description = "A lil' TOML parser" -category = "dev" -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 = "traitlets" version = "5.9.0" @@ -583,5 +569,5 @@ files = [ [metadata] lock-version = "2.0" -python-versions = "^3.10" -content-hash = "8abdfe54d3a4b6e9a68de3e449f56ee704b9c439a23e1ef80bd3bc70a39b4137" +python-versions = "^3.11" +content-hash = "f9270d7fb45c708e923f4afe041b26f77becb8e4adfcd517742e67f6b8f9d6b9" diff --git a/pyproject.toml b/pyproject.toml index d52accf..63c17c6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ readme = "README.md" include = ["surplus.py"] [tool.poetry.dependencies] -python = "^3.10" +python = "^3.11" pluscodes = "^2022.1.3" geopy = "^2.3.0"