Skip to content

Commit 6231955

Browse files
committed
pybind/mgr: pin cheroot version in requirements-required.txt
With python 3.10 (didn't seem to happen with python 3.12) the pybind/mgr/cephadm/tests/test_node_proxy.py test times out. This appears to be related to a new release of the cheroot package and a github issues describing the same problem we're seeing has been opened by another user cherrypy/cheroot#769 It is worth noting that the workaround described in that issue does also work for us. If you add ``` import cheroot cheroot.server.HTTPServer._serve_unservicable = lambda: None ``` after the existing imports in test_node_proxy.py the test hanging issue also disappears. Also worth noting the particular pin of cheroot~=10.0 was chosen as it matches the existing pin being used in pybind/mgr/dashboard/constraints.txt Signed-off-by: Adam King <[email protected]>
1 parent 7d15784 commit 6231955

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pybind/mgr/requirements-required.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ scipy
1515
werkzeug
1616
natsort
1717
bcrypt
18+
cheroot~=10.0

0 commit comments

Comments
 (0)