From 5ef57444b715a65b69acb77dc7ff3cee7202d874 Mon Sep 17 00:00:00 2001 From: Sergey Fedoseev Date: Wed, 27 Nov 2024 17:54:44 +0100 Subject: [PATCH] tabular_preview --- lambdas/tabular_preview/.python-version | 2 +- lambdas/tabular_preview/requirements.txt | 89 +++++++++---------- lambdas/tabular_preview/setup.py | 15 ++-- lambdas/tabular_preview/test-requirements.in | 3 + lambdas/tabular_preview/test-requirements.txt | 21 ++++- 5 files changed, 76 insertions(+), 54 deletions(-) create mode 100644 lambdas/tabular_preview/test-requirements.in diff --git a/lambdas/tabular_preview/.python-version b/lambdas/tabular_preview/.python-version index cc1923a40b1..2c0733315e4 100644 --- a/lambdas/tabular_preview/.python-version +++ b/lambdas/tabular_preview/.python-version @@ -1 +1 @@ -3.8 +3.11 diff --git a/lambdas/tabular_preview/requirements.txt b/lambdas/tabular_preview/requirements.txt index b10ea779083..72f0c5c8d88 100644 --- a/lambdas/tabular_preview/requirements.txt +++ b/lambdas/tabular_preview/requirements.txt @@ -1,74 +1,69 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # -# pip-compile --output-file=requirements.txt ../shared/setup.py setup.py +# pip-compile # -aiohttp==3.10.11 - # via fsspec -aiosignal==1.2.0 +aiohappyeyeballs==2.4.3 # via aiohttp -async-timeout==4.0.2 +aiohttp==3.11.7 + # via fsspec +aiosignal==1.3.1 # via aiohttp -attrs==21.4.0 +attrs==24.2.0 # via # aiohttp # jsonschema -certifi==2024.7.4 - # via requests -charset-normalizer==2.0.12 - # via - # aiohttp - # requests -et-xmlfile==1.1.0 + # referencing +et-xmlfile==2.0.0 # via openpyxl -frozenlist==1.3.0 +frozenlist==1.5.0 # via # aiohttp # aiosignal -fsspec[http]==2022.1.0 - # via - # fsspec - # t4_lambda_tabular_preview (setup.py) -idna==3.7 - # via - # requests - # yarl -importlib-resources==6.1.1 +fsspec[http]==2024.10.0 + # via t4_lambda_tabular_preview (setup.py) +idna==3.10 + # via yarl +jsonschema==4.23.0 + # via t4-lambda-shared +jsonschema-specifications==2024.10.1 # via jsonschema -jsonschema==4.17.3 - # via t4-lambda-shared (../shared/setup.py) -multidict==6.0.2 +multidict==6.1.0 # via # aiohttp # yarl -numpy==1.22.0 - # via - # pandas - # pyarrow -openpyxl==3.0.9 +numpy==2.1.3 + # via pandas +openpyxl==3.1.5 # via t4_lambda_tabular_preview (setup.py) -pandas==1.3.5 +pandas==2.2.3 # via t4_lambda_tabular_preview (setup.py) -pkgutil-resolve-name==1.3.10 - # via jsonschema -pyarrow==14.0.1 +propcache==0.2.0 + # via + # aiohttp + # yarl +pyarrow==18.1.0 # via t4_lambda_tabular_preview (setup.py) -pyrsistent==0.20.0 - # via jsonschema -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 # via pandas -pytz==2021.3 +pytz==2024.2 # via pandas -requests==2.32.2 - # via fsspec +referencing==0.35.1 + # via + # jsonschema + # jsonschema-specifications +rpds-py==0.21.0 + # via + # jsonschema + # referencing six==1.16.0 # via python-dateutil -urllib3==1.26.19 - # via requests +t4-lambda-shared @ https://github.com/quiltdata/quilt/archive/f45d8ab51f2d60e98efda7510322f94d822e4eb4.zip#subdirectory=lambdas/shared + # via t4_lambda_tabular_preview (setup.py) +tzdata==2024.2 + # via pandas xlrd==2.0.1 # via t4_lambda_tabular_preview (setup.py) -yarl==1.7.2 +yarl==1.18.0 # via aiohttp -zipp==3.19.1 - # via importlib-resources diff --git a/lambdas/tabular_preview/setup.py b/lambdas/tabular_preview/setup.py index 645756f3c3c..e0fbe2ec70f 100644 --- a/lambdas/tabular_preview/setup.py +++ b/lambdas/tabular_preview/setup.py @@ -6,10 +6,15 @@ packages=find_packages(where="src"), package_dir={"": "src"}, install_requires=[ - "pyarrow>=7,<15", - "pandas>=1.3,<1.4", - "xlrd>=2,<3", - "openpyxl>=3,<4", - "fsspec[http]>=2022.1.0", + "pyarrow ~= 18.0", + "pandas ~= 2.2", + "xlrd >=2,< 3", + "openpyxl >=3,<4 ", + "fsspec[http] >= 2022.1.0", + ( + "t4_lambda_shared @ https://github.com/quiltdata/quilt/archive/" + "f45d8ab51f2d60e98efda7510322f94d822e4eb4.zip" + "#subdirectory=lambdas/shared" + ), ], ) diff --git a/lambdas/tabular_preview/test-requirements.in b/lambdas/tabular_preview/test-requirements.in new file mode 100644 index 00000000000..46c6cbd16d0 --- /dev/null +++ b/lambdas/tabular_preview/test-requirements.in @@ -0,0 +1,3 @@ +-c requirements.txt +pytest ~= 8.0 +pytest-cov ~= 6.0 diff --git a/lambdas/tabular_preview/test-requirements.txt b/lambdas/tabular_preview/test-requirements.txt index 927094516e6..04ebefd290c 100644 --- a/lambdas/tabular_preview/test-requirements.txt +++ b/lambdas/tabular_preview/test-requirements.txt @@ -1 +1,20 @@ -pytest==6.2.5 +# +# This file is autogenerated by pip-compile with Python 3.11 +# by the following command: +# +# pip-compile test-requirements.in +# +coverage[toml]==7.6.8 + # via pytest-cov +iniconfig==2.0.0 + # via pytest +packaging==24.2 + # via pytest +pluggy==1.5.0 + # via pytest +pytest==8.3.3 + # via + # -r test-requirements.in + # pytest-cov +pytest-cov==6.0.0 + # via -r test-requirements.in