From 4c1c6ff3dbc2cc182205ecb16fc8220e284d4f84 Mon Sep 17 00:00:00 2001 From: Aaron Meurer Date: Fri, 4 Aug 2023 14:33:49 -0600 Subject: [PATCH] Make tomli a dependency only in Python < 3.11 Also remove toml as a dependency (it wasn't removed in #269 because apparently it was in there twice). Fixes #271 --- pyproject.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index fdb1f0ec..8e73c73d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ dynamic = ["version","description"] requires-python=">=3.8" dependencies = [ "typer", - "tomli", + "tomli;python_version>='3.11'", "tomli_w", "urwid", "httpx", @@ -29,7 +29,6 @@ dependencies = [ "velin", "quart-trio", "quart<0.14", - "toml", "flatlatex", # "tree_sitter", # tree sitter does not currently provide builds for all platform. tree-sitter-builds is an # alternative build that provide more wheels.