From 29b8a8f6ab42d3c10f3ec98a9b54bbe14a569c92 Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Tue, 29 Aug 2023 11:31:15 +0000 Subject: [PATCH] Correct location for syrupy. --- integration-tests/requirements.txt | 4 ++-- server/poetry.lock | 27 +-------------------------- server/pyproject.toml | 1 - server/requirements.txt | 7 ------- 4 files changed, 3 insertions(+), 36 deletions(-) diff --git a/integration-tests/requirements.txt b/integration-tests/requirements.txt index 2f36d5d6..3ab70759 100644 --- a/integration-tests/requirements.txt +++ b/integration-tests/requirements.txt @@ -1,5 +1,5 @@ -syrupy +syrupy==4.0.2 text-generation pytest pytest-asyncio==0.17.2 -docker \ No newline at end of file +docker diff --git a/server/poetry.lock b/server/poetry.lock index 98f6b3f5..fd4d427d 100644 --- a/server/poetry.lock +++ b/server/poetry.lock @@ -321,16 +321,6 @@ files = [ {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, ] -[[package]] -name = "colored" -version = "1.4.4" -description = "Simple library for color and formatting to terminal" -optional = false -python-versions = "*" -files = [ - {file = "colored-1.4.4.tar.gz", hash = "sha256:04ff4d4dd514274fe3b99a21bb52fb96f2688c01e93fba7bef37221e7cb56ce0"}, -] - [[package]] name = "datasets" version = "2.14.4" @@ -1965,21 +1955,6 @@ files = [ [package.dependencies] mpmath = ">=0.19" -[[package]] -name = "syrupy" -version = "4.0.2" -description = "Pytest Snapshot Test Utility" -optional = false -python-versions = ">=3.8.1,<4" -files = [ - {file = "syrupy-4.0.2-py3-none-any.whl", hash = "sha256:dfd1f0fad298eee753de4f2471d4346412c4435885c4b7beea648d4934c6620a"}, - {file = "syrupy-4.0.2.tar.gz", hash = "sha256:3c75ab6866580679b2cb9abe78e74c3e2011fffc6333651c6beb2a78a716ab80"}, -] - -[package.dependencies] -colored = ">=1.3.92,<2.0.0" -pytest = ">=7.0.0,<8.0.0" - [[package]] name = "texttable" version = "1.6.7" @@ -2530,4 +2505,4 @@ quantize = ["accelerate", "datasets", "texttable"] [metadata] lock-version = "2.0" python-versions = ">=3.9,<3.13" -content-hash = "d63895759eebb6b38e24ff173eb55ff519a620a4aaf7a0c3b7ddfd1fdf33f716" +content-hash = "f2ef5f41a172d14985367a385ad6ce844c8c05b2d68d9ddcc11b41f581921c96" diff --git a/server/pyproject.toml b/server/pyproject.toml index ff3c3e8d..1babf749 100644 --- a/server/pyproject.toml +++ b/server/pyproject.toml @@ -34,7 +34,6 @@ peft = "^0.4.0" torch = { version = "^2.0.1" } scipy = "^1.11.1" pillow = "^10.0.0" -syrupy = "4.0.2" [tool.poetry.extras] accelerate = ["accelerate"] diff --git a/server/requirements.txt b/server/requirements.txt index 5dc81271..1b038cca 100644 --- a/server/requirements.txt +++ b/server/requirements.txt @@ -9,12 +9,10 @@ certifi==2023.7.22 ; python_version >= "3.9" and python_version < "3.13" charset-normalizer==3.2.0 ; python_version >= "3.9" and python_version < "3.13" click==8.1.7 ; python_version >= "3.9" and python_version < "3.13" colorama==0.4.6 ; python_version >= "3.9" and python_version < "3.13" and (sys_platform == "win32" or platform_system == "Windows") -colored==1.4.4 ; python_version >= "3.9" and python_version < "3.13" datasets==2.14.4 ; python_version >= "3.9" and python_version < "3.13" deprecated==1.2.14 ; python_version >= "3.9" and python_version < "3.13" dill==0.3.7 ; python_version >= "3.9" and python_version < "3.13" einops==0.6.1 ; python_version >= "3.9" and python_version < "3.13" -exceptiongroup==1.1.3 ; python_version >= "3.9" and python_version < "3.11" filelock==3.12.3 ; python_version >= "3.9" and python_version < "3.13" frozenlist==1.4.0 ; python_version >= "3.9" and python_version < "3.13" fsspec==2023.6.0 ; python_version >= "3.9" and python_version < "3.13" @@ -27,7 +25,6 @@ grpcio==1.57.0 ; python_version >= "3.9" and python_version < "3.13" hf-transfer==0.1.3 ; python_version >= "3.9" and python_version < "3.13" huggingface-hub==0.16.4 ; python_version >= "3.9" and python_version < "3.13" idna==3.4 ; python_version >= "3.9" and python_version < "3.13" -iniconfig==2.0.0 ; python_version >= "3.9" and python_version < "3.13" jinja2==3.1.2 ; python_version >= "3.9" and python_version < "3.13" loguru==0.6.0 ; python_version >= "3.9" and python_version < "3.13" markupsafe==2.1.3 ; python_version >= "3.9" and python_version < "3.13" @@ -49,11 +46,9 @@ packaging==23.1 ; python_version >= "3.9" and python_version < "3.13" pandas==2.0.3 ; python_version >= "3.9" and python_version < "3.13" peft==0.4.0 ; python_version >= "3.9" and python_version < "3.13" pillow==10.0.0 ; python_version >= "3.9" and python_version < "3.13" -pluggy==1.3.0 ; python_version >= "3.9" and python_version < "3.13" protobuf==4.24.2 ; python_version >= "3.9" and python_version < "3.13" psutil==5.9.5 ; python_version >= "3.9" and python_version < "3.13" pyarrow==13.0.0 ; python_version >= "3.9" and python_version < "3.13" -pytest==7.4.0 ; python_version >= "3.9" and python_version < "3.13" python-dateutil==2.8.2 ; python_version >= "3.9" and python_version < "3.13" pytz==2023.3 ; python_version >= "3.9" and python_version < "3.13" pyyaml==6.0.1 ; python_version >= "3.9" and python_version < "3.13" @@ -65,10 +60,8 @@ sentencepiece==0.1.99 ; python_version >= "3.9" and python_version < "3.13" setuptools==68.1.2 ; python_version >= "3.9" and python_version < "3.13" six==1.16.0 ; python_version >= "3.9" and python_version < "3.13" sympy==1.12 ; python_version >= "3.9" and python_version < "3.13" -syrupy==4.0.2 ; python_version >= "3.9" and python_version < "3.13" texttable==1.6.7 ; python_version >= "3.9" and python_version < "3.13" tokenizers==0.13.3 ; python_version >= "3.9" and python_version < "3.13" -tomli==2.0.1 ; python_version >= "3.9" and python_version < "3.11" torch==2.0.1 ; python_version >= "3.9" and python_version < "3.13" tqdm==4.66.1 ; python_version >= "3.9" and python_version < "3.13" transformers==4.32.1 ; python_version >= "3.9" and python_version < "3.13"