diff --git a/setup.py b/setup.py index f2584d27..47db05a8 100644 --- a/setup.py +++ b/setup.py @@ -81,7 +81,7 @@ # The 7.* series removed support for Python 3.6. 'setuptools_scm<7.0.0' if sys.version_info < (3, 7) else 'setuptools_scm' - ] + ['packaging<=23'] if sys.version_info <(3, 7) else [], + ] + (['packaging<=23'] if sys.version_info <(3, 7) else []), # List run-time dependencies here. These will be installed by pip when # your project is installed. For an analysis of "install_requires" vs pip's