From efc2815670e3de523792b238c4c9711a2cc101b0 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Thu, 16 Nov 2023 06:50:57 +0100 Subject: [PATCH] Only require tomli in old Python versions This partly reverts d3620c6. --- requirements.txt | 2 +- setup.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 04c6468..d354668 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ python-lsp-server mypy >= 0.981 -tomli >= 1.1.0 +tomli >= 1.1.0 ; python_version < "3.11" black pre-commit rstcheck diff --git a/setup.cfg b/setup.cfg index 71bfca2..1e1474a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -22,7 +22,7 @@ packages = find: install_requires = python-lsp-server >=1.7.0 mypy >= 0.981 - tomli >= 1.1.0 + tomli >= 1.1.0 ; python_version < "3.11" [flake8] max-complexity = 20