Skip to content

Commit

Permalink
fix: adjust integration tests for openai client dep
Browse files Browse the repository at this point in the history
  • Loading branch information
drbh committed Feb 19, 2025
1 parent 3dd0128 commit c42d71b
Show file tree
Hide file tree
Showing 3 changed files with 260 additions and 51 deletions.
26 changes: 12 additions & 14 deletions integration-tests/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
[tool.poetry]
[project]
name = "text-generation-integration-tests"
version = "2.0.1"
description = "Text Generation Inference integration tests"
authors = ["Nicolas Patry <[email protected]>"]
requires-python = ">=3.10,<3.13"

[tool.poetry.dependencies]
pydantic = "> 2, < 3"
python = ">=3.10,<3.13"
syrupy = "^4.7.1"
text-generation = "^0.6.0"
pytest = "^7.4.0"
pytest-asyncio = "^0.21.1"
docker = "^7"
numpy = "^1.20"
openai = "^1.60.0"

[tool.isort]
profile = "black"
dependencies = [
"pydantic>2,< 3",
"syrupy>=4.8.0",
"text-generation>=0.6.0",
"pytest>=8.3.0",
"pytest-asyncio>=0.23.1",
"docker>=7",
"numpy>=2.0",
"openai>=1.60.0",
]
148 changes: 112 additions & 36 deletions integration-tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,36 +1,112 @@
aiohappyeyeballs==2.4.0 ; python_version >= "3.10" and python_version < "3.13"
aiohttp==3.10.5 ; python_version >= "3.10" and python_version < "3.13"
aiosignal==1.3.1 ; python_version >= "3.10" and python_version < "3.13"
annotated-types==0.7.0 ; python_version >= "3.10" and python_version < "3.13"
async-timeout==4.0.3 ; python_version >= "3.10" and python_version < "3.11"
attrs==24.2.0 ; python_version >= "3.10" and python_version < "3.13"
certifi==2024.8.30 ; python_version >= "3.10" and python_version < "3.13"
charset-normalizer==3.3.2 ; python_version >= "3.10" and python_version < "3.13"
colorama==0.4.6 ; python_version >= "3.10" and python_version < "3.13" and (sys_platform == "win32" or platform_system == "Windows")
docker==7.1.0 ; python_version >= "3.10" and python_version < "3.13"
exceptiongroup==1.2.2 ; python_version >= "3.10" and python_version < "3.11"
filelock==3.16.0 ; python_version >= "3.10" and python_version < "3.13"
frozenlist==1.4.1 ; python_version >= "3.10" and python_version < "3.13"
fsspec==2024.9.0 ; python_version >= "3.10" and python_version < "3.13"
huggingface-hub==0.24.6 ; python_version >= "3.10" and python_version < "3.13"
idna==3.8 ; python_version >= "3.10" and python_version < "3.13"
iniconfig==2.0.0 ; python_version >= "3.10" and python_version < "3.13"
multidict==6.1.0 ; python_version >= "3.10" and python_version < "3.13"
numpy==1.26.4 ; python_version >= "3.10" and python_version < "3.13"
packaging==24.1 ; python_version >= "3.10" and python_version < "3.13"
pluggy==1.5.0 ; python_version >= "3.10" and python_version < "3.13"
pydantic-core==2.23.3 ; python_version >= "3.10" and python_version < "3.13"
pydantic==2.9.1 ; python_version >= "3.10" and python_version < "3.13"
pytest-asyncio==0.21.2 ; python_version >= "3.10" and python_version < "3.13"
pytest==7.4.4 ; python_version >= "3.10" and python_version < "3.13"
pywin32==306 ; python_version >= "3.10" and python_version < "3.13" and sys_platform == "win32"
pyyaml==6.0.2 ; python_version >= "3.10" and python_version < "3.13"
requests==2.32.3 ; python_version >= "3.10" and python_version < "3.13"
syrupy==4.7.1 ; python_version >= "3.10" and python_version < "3.13"
text-generation==0.6.1 ; python_version >= "3.10" and python_version < "3.13"
tomli==2.0.1 ; python_version >= "3.10" and python_version < "3.11"
tqdm==4.66.5 ; python_version >= "3.10" and python_version < "3.13"
typing-extensions==4.12.2 ; python_version >= "3.10" and python_version < "3.13"
urllib3==2.2.2 ; python_version >= "3.10" and python_version < "3.13"
yarl==1.11.1 ; python_version >= "3.10" and python_version < "3.13"
openai==1.60.0 ; python_version >= "3.10" and python_version < "3.13"
# This file was autogenerated by uv via the following command:
# uv pip compile pyproject.toml --output-file requirements.txt
aiohappyeyeballs==2.4.0
# via aiohttp
aiohttp==3.10.5
# via text-generation
aiosignal==1.3.1
# via aiohttp
annotated-types==0.7.0
# via pydantic
anyio==4.8.0
# via
# httpx
# openai
attrs==24.2.0
# via aiohttp
certifi==2024.8.30
# via
# httpcore
# httpx
# requests
charset-normalizer==3.3.2
# via requests
distro==1.9.0
# via openai
docker==7.1.0
# via text-generation-integration-tests (pyproject.toml)
filelock==3.16.0
# via huggingface-hub
frozenlist==1.4.1
# via
# aiohttp
# aiosignal
fsspec==2024.9.0
# via huggingface-hub
h11==0.14.0
# via httpcore
httpcore==1.0.7
# via httpx
httpx==0.28.1
# via openai
huggingface-hub==0.24.6
# via text-generation
idna==3.8
# via
# anyio
# httpx
# requests
# yarl
iniconfig==2.0.0
# via pytest
jiter==0.8.2
# via openai
multidict==6.1.0
# via
# aiohttp
# yarl
numpy==2.2.3
# via text-generation-integration-tests (pyproject.toml)
openai==1.60.0
# via text-generation-integration-tests (pyproject.toml)
packaging==24.1
# via
# huggingface-hub
# pytest
pluggy==1.5.0
# via pytest
pydantic==2.9.1
# via
# text-generation-integration-tests (pyproject.toml)
# openai
# text-generation
pydantic-core==2.23.3
# via pydantic
pytest==8.3.4
# via
# text-generation-integration-tests (pyproject.toml)
# pytest-asyncio
# syrupy
pytest-asyncio==0.25.3
# via text-generation-integration-tests (pyproject.toml)
pyyaml==6.0.2
# via huggingface-hub
requests==2.32.3
# via
# docker
# huggingface-hub
sniffio==1.3.1
# via
# anyio
# openai
syrupy==4.8.1
# via text-generation-integration-tests (pyproject.toml)
text-generation==0.6.1
# via text-generation-integration-tests (pyproject.toml)
tqdm==4.66.5
# via
# huggingface-hub
# openai
typing-extensions==4.12.2
# via
# anyio
# huggingface-hub
# openai
# pydantic
# pydantic-core
urllib3==2.2.2
# via
# docker
# requests
yarl==1.11.1
# via aiohttp
Loading

0 comments on commit c42d71b

Please sign in to comment.