From 24b24b985e7db63a9f1b07c95e866b5df98befdd Mon Sep 17 00:00:00 2001 From: Peter Law Date: Tue, 24 Oct 2023 21:31:17 +0100 Subject: [PATCH] Clarify the version of astroid which is supported This doesn't preclude supporting other versions at some point, however it will make it clearer which versions are supported as well as making CI pass. --- setup.cfg | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 4abb0f0..222235a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -40,7 +40,13 @@ install_requires = setup_requires = setuptools>=44; setuptools_scm[toml]>=3.4.3 [options.extras_require] -test = astroid; pytest +astroid = + astroid >=1, <2; python_version < "3" + astroid >=2, <3; python_version >= "3" +test = + astroid >=1, <2; python_version < "3" + astroid >=2, <3; python_version >= "3" + pytest [options.package_data] asttokens = py.typed