File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed
tests/tests_app/components/serve Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 1
- lightning-cloud>=0.5.31
1
+ lightning-cloud>=0.5.33
2
2
packaging
3
3
typing-extensions>=4.0.0, <=4.4.0
4
4
deepdiff>=5.7.0, <6.2.4
@@ -12,15 +12,16 @@ beautifulsoup4>=4.8.0, <4.11.2
12
12
inquirer>=2.10.0, <=3.1.2
13
13
psutil<5.9.5
14
14
click<=8.1.3
15
- fastapi<0.89.0 # strict; TODO: broken serializations
15
+
16
+ fastapi>=0.69.0,<0.89.0 # strict; TODO: broken serializations
17
+ starlette # https://fastapi.tiangolo.com/deployment/versions/#about-starlette
18
+ pydantic>=1.7.4,<2.0.0 # https://fastapi.tiangolo.com/deployment/versions/#about-pydantic
16
19
17
20
dateutils<=0.6.12
18
21
Jinja2<=3.1.2
19
- pydantic<=1.10.4
20
22
PyYAML<=6.0
21
23
requests<2.28.3
22
24
rich >=12.3.0, <=13.0.1
23
- starlette<0.24.0
24
25
urllib3<=1.26.13
25
26
uvicorn<=0.17.6
26
27
websocket-client<1.5.2
Original file line number Diff line number Diff line change @@ -6,9 +6,8 @@ pytest-doctestplus>=0.9.0
6
6
pytest-asyncio==0.20.3
7
7
playwright==1.30.0
8
8
httpx
9
- trio<0.22.0
9
+ trio<0.22.0 # strict https://github.com/python-trio/trio/pull/2213
10
10
pympler
11
11
psutil
12
12
setuptools<67.7.0
13
- sqlmodel
14
13
requests-mock
Original file line number Diff line number Diff line change 6
6
import pytest
7
7
8
8
from lightning .app .components .serve import serve
9
+ from lightning .app .testing .helpers import _RunIf
9
10
from lightning .app .utilities .imports import _is_numpy_available , _is_torch_available
10
11
from lightning .app .utilities .network import _configure_session , find_free_network_port
11
12
from tests_app import _PROJECT_ROOT
@@ -33,6 +34,9 @@ def target_fn(port, workers):
33
34
34
35
@pytest .mark .skipif (not (_is_torch_available () and _is_numpy_available ()), reason = "Missing torch and numpy" )
35
36
@pytest .mark .parametrize ("workers" , [0 ])
37
+ # avoid the error: Failed to establish a new connection: [WinError 10061] No connection could be made because the
38
+ # target machine actively refused it
39
+ @_RunIf (skip_windows = True )
36
40
def test_model_inference_api (workers ):
37
41
38
42
port = find_free_network_port ()
You can’t perform that action at this time.
0 commit comments