From f8f002d4e8452f632640c1b09238a9b78039a4cb Mon Sep 17 00:00:00 2001 From: Daven Quinn Date: Wed, 27 Mar 2024 04:15:39 -0500 Subject: [PATCH] Allow Python 3.10 --- poetry.lock | 33 +++++++++++++++++++++++++++++++-- pyproject.toml | 2 +- 2 files changed, 32 insertions(+), 3 deletions(-) diff --git a/poetry.lock b/poetry.lock index 971c903..5610bff 100644 --- a/poetry.lock +++ b/poetry.lock @@ -59,6 +59,8 @@ mypy-extensions = ">=0.4.3" packaging = ">=22.0" pathspec = ">=0.9.0" platformdirs = ">=2" +tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} +typing-extensions = {version = ">=4.0.1", markers = "python_version < \"3.11\""} [package.extras] colorama = ["colorama (>=0.4.3)"] @@ -108,6 +110,20 @@ colorama = {version = "*", markers = "sys_platform == \"win32\""} [package.extras] development = ["black", "flake8", "mypy", "pytest", "types-colorama"] +[[package]] +name = "exceptiongroup" +version = "1.2.0" +description = "Backport of PEP 654 (exception groups)" +optional = false +python-versions = ">=3.7" +files = [ + {file = "exceptiongroup-1.2.0-py3-none-any.whl", hash = "sha256:4bfd3996ac73b41e9b9628b04e079f193850720ea5945fc96a08633c66912f14"}, + {file = "exceptiongroup-1.2.0.tar.gz", hash = "sha256:91f5c769735f051a4290d52edd0858999b57e5876e9f85937691bd4c9fa3ed68"}, +] + +[package.extras] +test = ["pytest (>=6)"] + [[package]] name = "geoalchemy2" version = "0.14.6" @@ -576,9 +592,11 @@ files = [ [package.dependencies] colorama = {version = "*", markers = "sys_platform == \"win32\""} +exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""} iniconfig = "*" packaging = "*" pluggy = ">=1.4,<2.0" +tomli = {version = ">=1", markers = "python_version < \"3.11\""} [package.extras] testing = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"] @@ -746,6 +764,17 @@ dev = ["build", "flake8"] doc = ["sphinx"] test = ["pytest", "pytest-cov"] +[[package]] +name = "tomli" +version = "2.0.1" +description = "A lil' TOML parser" +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 = "typer" version = "0.9.0" @@ -780,5 +809,5 @@ files = [ [metadata] lock-version = "2.0" -python-versions = "^3.11" -content-hash = "fed2ca133b97ea396210e247920107fdd2caa38dc647422c8640f20b5d975134" +python-versions = "^3.10" +content-hash = "ce6a34333ebcdd2574d7b36ad13e4777e569b43b365fbb33c90c99aeb8af6680" diff --git a/pyproject.toml b/pyproject.toml index c9ff5fc..d672576 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ readme = "README.md" packages = [{include = "mapboard"}] [tool.poetry.dependencies] -python = "^3.11" +python = "^3.10" "macrostrat.database" = "^3.2.1" "macrostrat.utils" = "^1.2.1" typer = "^0.9.0"