From 90356cc4c72ce561691d6ec88e52c012d35482b4 Mon Sep 17 00:00:00 2001 From: Oliver Sanders Date: Thu, 22 Feb 2024 14:00:08 +0000 Subject: [PATCH] setup: exclude urwid versions that break Tui (#5992) --- conda-environment.yml | 2 +- setup.cfg | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/conda-environment.yml b/conda-environment.yml index 248e4dd21c0..6348e2dc114 100644 --- a/conda-environment.yml +++ b/conda-environment.yml @@ -17,7 +17,7 @@ dependencies: - pyzmq >=22 - setuptools >=49,!=67.* - importlib_metadata # [py<3.8] - - urwid >=2,<3 + - urwid >=2,<3,!=2.6.2,!=2.6.3 - tomli >=2 # [py<3.11] # optional dependencies diff --git a/setup.cfg b/setup.cfg index dfeb55189d0..645648c8081 100644 --- a/setup.cfg +++ b/setup.cfg @@ -75,7 +75,8 @@ install_requires = # https://github.com/pypa/setuptools/issues/3802 setuptools>=49,!=67.* importlib_metadata; python_version < "3.8" - urwid==2.* + # NOTE: exclude two urwid versions that were not compatible with Tui + urwid==2.*,!=2.6.2,!=2.6.3 # unpinned transient dependencies used for type checking rx promise