meta: >=py3.11

This commit is contained in:
Mark Joshwel 2023-09-01 06:17:47 +00:00
parent 4ca4a7c8a8
commit 348e1f43c9
3 changed files with 8 additions and 18 deletions

View file

@ -41,6 +41,10 @@ TODO API DEMO
## installation ## 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: install surplus directly from the repository using pip:
```text ```text
@ -71,7 +75,7 @@ options:
prerequisites: prerequisites:
- [Python >=3.10](https://www.python.org/) - [Python >=3.11](https://www.python.org/)
- [Poetry](https://python-poetry.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/). alternatively, use [devbox](https://get.jetpack.io/devbox) for a hermetic development environment powered by [Nix](https://nixos.org/).

18
poetry.lock generated
View file

@ -82,7 +82,6 @@ packaging = ">=22.0"
pathspec = ">=0.9.0" pathspec = ">=0.9.0"
platformdirs = ">=2" platformdirs = ">=2"
tokenize-rt = {version = ">=3.2.0", optional = true, markers = "extra == \"jupyter\""} tokenize-rt = {version = ">=3.2.0", optional = true, markers = "extra == \"jupyter\""}
tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""}
[package.extras] [package.extras]
colorama = ["colorama (>=0.4.3)"] colorama = ["colorama (>=0.4.3)"]
@ -311,7 +310,6 @@ files = [
[package.dependencies] [package.dependencies]
mypy-extensions = ">=1.0.0" mypy-extensions = ">=1.0.0"
tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""}
typing-extensions = ">=4.1.0" typing-extensions = ">=4.1.0"
[package.extras] [package.extras]
@ -529,18 +527,6 @@ files = [
{file = "tokenize_rt-5.2.0.tar.gz", hash = "sha256:9fe80f8a5c1edad2d3ede0f37481cc0cc1538a2f442c9c2f9e4feacd2792d054"}, {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]] [[package]]
name = "traitlets" name = "traitlets"
version = "5.9.0" version = "5.9.0"
@ -583,5 +569,5 @@ files = [
[metadata] [metadata]
lock-version = "2.0" lock-version = "2.0"
python-versions = "^3.10" python-versions = "^3.11"
content-hash = "8abdfe54d3a4b6e9a68de3e449f56ee704b9c439a23e1ef80bd3bc70a39b4137" content-hash = "f9270d7fb45c708e923f4afe041b26f77becb8e4adfcd517742e67f6b8f9d6b9"

View file

@ -8,7 +8,7 @@ readme = "README.md"
include = ["surplus.py"] include = ["surplus.py"]
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.10" python = "^3.11"
pluscodes = "^2022.1.3" pluscodes = "^2022.1.3"
geopy = "^2.3.0" geopy = "^2.3.0"