Skip to content

Commit 7ccda99

Browse files
committed
test requirements: restrict adbutils to python < 3.10
The latest release of `adbutils` (1.2.11) explicitly pins `requests<2.16`, resulting in installation of `requests-2.15.1`, which is incompatible with python >= 3.10 due to use of `collections.Mapping` that was moved to `collections.abc`. Hence, the package is essentially incompatible with python >= 3.10, and we should not be testing it there.
1 parent 2994467 commit 7ccda99

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

requirements-test-libraries.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ importlib_resources==5.12.0; python_version < '3.9'
44
# ------------------ LIBRARIES ------------------ #
55
# TODO: Add most of the libraries we have hooks for, and write tests
66
av==10.0.0
7-
adbutils==1.2.9; sys_platform == 'darwin' or sys_platform == 'win32'
7+
# The latest release of adbutils (1.2.11) explicitly requires requests<2.16, which is incompatible with python >= 3.10.
8+
adbutils==1.2.11; (sys_platform == 'darwin' or sys_platform == 'win32') and python_version < '3.10'
89
APScheduler==3.10.1
910
backports.zoneinfo==0.2.1; python_version < '3.9'
1011
bokeh==3.1.1; python_version >= '3.8'

0 commit comments

Comments
 (0)