Skip to content

Commit 1a85228

Browse files
committed
fix: adjust integration tests for openai client dep
1 parent 619521f commit 1a85228

File tree

3 files changed

+260
-51
lines changed

3 files changed

+260
-51
lines changed

integration-tests/pyproject.toml

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
1-
[tool.poetry]
1+
[project]
22
name = "text-generation-integration-tests"
33
version = "2.0.1"
44
description = "Text Generation Inference integration tests"
55
authors = ["Nicolas Patry <[email protected]>"]
6+
requires-python = ">=3.10,<3.13"
67

7-
[tool.poetry.dependencies]
8-
pydantic = "> 2, < 3"
9-
python = ">=3.10,<3.13"
10-
syrupy = "^4.7.1"
11-
text-generation = "^0.6.0"
12-
pytest = "^7.4.0"
13-
pytest-asyncio = "^0.21.1"
14-
docker = "^7"
15-
numpy = "^1.20"
16-
openai = "^1.60.0"
17-
18-
[tool.isort]
19-
profile = "black"
8+
dependencies = [
9+
"pydantic>2,< 3",
10+
"syrupy>=4.8.0",
11+
"text-generation>=0.6.0",
12+
"pytest>=8.3.0",
13+
"pytest-asyncio>=0.23.1",
14+
"docker>=7",
15+
"numpy>=2.0",
16+
"openai>=1.60.0",
17+
]

integration-tests/requirements.txt

Lines changed: 112 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,112 @@
1-
aiohappyeyeballs==2.4.0 ; python_version >= "3.10" and python_version < "3.13"
2-
aiohttp==3.10.5 ; python_version >= "3.10" and python_version < "3.13"
3-
aiosignal==1.3.1 ; python_version >= "3.10" and python_version < "3.13"
4-
annotated-types==0.7.0 ; python_version >= "3.10" and python_version < "3.13"
5-
async-timeout==4.0.3 ; python_version >= "3.10" and python_version < "3.11"
6-
attrs==24.2.0 ; python_version >= "3.10" and python_version < "3.13"
7-
certifi==2024.8.30 ; python_version >= "3.10" and python_version < "3.13"
8-
charset-normalizer==3.3.2 ; python_version >= "3.10" and python_version < "3.13"
9-
colorama==0.4.6 ; python_version >= "3.10" and python_version < "3.13" and (sys_platform == "win32" or platform_system == "Windows")
10-
docker==7.1.0 ; python_version >= "3.10" and python_version < "3.13"
11-
exceptiongroup==1.2.2 ; python_version >= "3.10" and python_version < "3.11"
12-
filelock==3.16.0 ; python_version >= "3.10" and python_version < "3.13"
13-
frozenlist==1.4.1 ; python_version >= "3.10" and python_version < "3.13"
14-
fsspec==2024.9.0 ; python_version >= "3.10" and python_version < "3.13"
15-
huggingface-hub==0.24.6 ; python_version >= "3.10" and python_version < "3.13"
16-
idna==3.8 ; python_version >= "3.10" and python_version < "3.13"
17-
iniconfig==2.0.0 ; python_version >= "3.10" and python_version < "3.13"
18-
multidict==6.1.0 ; python_version >= "3.10" and python_version < "3.13"
19-
numpy==1.26.4 ; python_version >= "3.10" and python_version < "3.13"
20-
packaging==24.1 ; python_version >= "3.10" and python_version < "3.13"
21-
pluggy==1.5.0 ; python_version >= "3.10" and python_version < "3.13"
22-
pydantic-core==2.23.3 ; python_version >= "3.10" and python_version < "3.13"
23-
pydantic==2.9.1 ; python_version >= "3.10" and python_version < "3.13"
24-
pytest-asyncio==0.21.2 ; python_version >= "3.10" and python_version < "3.13"
25-
pytest==7.4.4 ; python_version >= "3.10" and python_version < "3.13"
26-
pywin32==306 ; python_version >= "3.10" and python_version < "3.13" and sys_platform == "win32"
27-
pyyaml==6.0.2 ; python_version >= "3.10" and python_version < "3.13"
28-
requests==2.32.3 ; python_version >= "3.10" and python_version < "3.13"
29-
syrupy==4.7.1 ; python_version >= "3.10" and python_version < "3.13"
30-
text-generation==0.6.1 ; python_version >= "3.10" and python_version < "3.13"
31-
tomli==2.0.1 ; python_version >= "3.10" and python_version < "3.11"
32-
tqdm==4.66.5 ; python_version >= "3.10" and python_version < "3.13"
33-
typing-extensions==4.12.2 ; python_version >= "3.10" and python_version < "3.13"
34-
urllib3==2.2.2 ; python_version >= "3.10" and python_version < "3.13"
35-
yarl==1.11.1 ; python_version >= "3.10" and python_version < "3.13"
36-
openai==1.60.0 ; python_version >= "3.10" and python_version < "3.13"
1+
# This file was autogenerated by uv via the following command:
2+
# uv pip compile pyproject.toml --output-file requirements.txt
3+
aiohappyeyeballs==2.4.0
4+
# via aiohttp
5+
aiohttp==3.10.5
6+
# via text-generation
7+
aiosignal==1.3.1
8+
# via aiohttp
9+
annotated-types==0.7.0
10+
# via pydantic
11+
anyio==4.8.0
12+
# via
13+
# httpx
14+
# openai
15+
attrs==24.2.0
16+
# via aiohttp
17+
certifi==2024.8.30
18+
# via
19+
# httpcore
20+
# httpx
21+
# requests
22+
charset-normalizer==3.3.2
23+
# via requests
24+
distro==1.9.0
25+
# via openai
26+
docker==7.1.0
27+
# via text-generation-integration-tests (pyproject.toml)
28+
filelock==3.16.0
29+
# via huggingface-hub
30+
frozenlist==1.4.1
31+
# via
32+
# aiohttp
33+
# aiosignal
34+
fsspec==2024.9.0
35+
# via huggingface-hub
36+
h11==0.14.0
37+
# via httpcore
38+
httpcore==1.0.7
39+
# via httpx
40+
httpx==0.28.1
41+
# via openai
42+
huggingface-hub==0.24.6
43+
# via text-generation
44+
idna==3.8
45+
# via
46+
# anyio
47+
# httpx
48+
# requests
49+
# yarl
50+
iniconfig==2.0.0
51+
# via pytest
52+
jiter==0.8.2
53+
# via openai
54+
multidict==6.1.0
55+
# via
56+
# aiohttp
57+
# yarl
58+
numpy==2.2.3
59+
# via text-generation-integration-tests (pyproject.toml)
60+
openai==1.60.0
61+
# via text-generation-integration-tests (pyproject.toml)
62+
packaging==24.1
63+
# via
64+
# huggingface-hub
65+
# pytest
66+
pluggy==1.5.0
67+
# via pytest
68+
pydantic==2.9.1
69+
# via
70+
# text-generation-integration-tests (pyproject.toml)
71+
# openai
72+
# text-generation
73+
pydantic-core==2.23.3
74+
# via pydantic
75+
pytest==8.3.4
76+
# via
77+
# text-generation-integration-tests (pyproject.toml)
78+
# pytest-asyncio
79+
# syrupy
80+
pytest-asyncio==0.25.3
81+
# via text-generation-integration-tests (pyproject.toml)
82+
pyyaml==6.0.2
83+
# via huggingface-hub
84+
requests==2.32.3
85+
# via
86+
# docker
87+
# huggingface-hub
88+
sniffio==1.3.1
89+
# via
90+
# anyio
91+
# openai
92+
syrupy==4.8.1
93+
# via text-generation-integration-tests (pyproject.toml)
94+
text-generation==0.6.1
95+
# via text-generation-integration-tests (pyproject.toml)
96+
tqdm==4.66.5
97+
# via
98+
# huggingface-hub
99+
# openai
100+
typing-extensions==4.12.2
101+
# via
102+
# anyio
103+
# huggingface-hub
104+
# openai
105+
# pydantic
106+
# pydantic-core
107+
urllib3==2.2.2
108+
# via
109+
# docker
110+
# requests
111+
yarl==1.11.1
112+
# via aiohttp

0 commit comments

Comments
 (0)