From 7dfd01751f757b6bb8dd9795e0ae2df480f846bd Mon Sep 17 00:00:00 2001 From: Sergey Fedoseev Date: Wed, 27 Nov 2024 18:10:07 +0100 Subject: [PATCH] transcode --- lambdas/transcode/.python-version | 2 +- lambdas/transcode/requirements.txt | 28 +++++++++++++++++++++---- lambdas/transcode/setup.py | 7 +++++++ lambdas/transcode/test-requirements.in | 3 +++ lambdas/transcode/test-requirements.txt | 27 +++++++++++++++++------- 5 files changed, 55 insertions(+), 12 deletions(-) create mode 100644 lambdas/transcode/test-requirements.in diff --git a/lambdas/transcode/.python-version b/lambdas/transcode/.python-version index cc1923a40b1..2c0733315e4 100644 --- a/lambdas/transcode/.python-version +++ b/lambdas/transcode/.python-version @@ -1 +1 @@ -3.8 +3.11 diff --git a/lambdas/transcode/requirements.txt b/lambdas/transcode/requirements.txt index d8a4e21246c..66440e4b671 100644 --- a/lambdas/transcode/requirements.txt +++ b/lambdas/transcode/requirements.txt @@ -1,4 +1,24 @@ -attrs==21.2.0 -jsonschema==3.2.0 -pyrsistent==0.18.0 -six==1.16.0 +# +# This file is autogenerated by pip-compile with Python 3.11 +# by the following command: +# +# pip-compile +# +attrs==24.2.0 + # via + # jsonschema + # referencing +jsonschema==4.23.0 + # via t4-lambda-shared +jsonschema-specifications==2024.10.1 + # via jsonschema +referencing==0.35.1 + # via + # jsonschema + # jsonschema-specifications +rpds-py==0.21.0 + # via + # jsonschema + # referencing +t4-lambda-shared @ https://github.com/quiltdata/quilt/archive/f45d8ab51f2d60e98efda7510322f94d822e4eb4.zip#subdirectory=lambdas/shared + # via t4_lambda_transcode (setup.py) diff --git a/lambdas/transcode/setup.py b/lambdas/transcode/setup.py index ba2d05a4ca8..df4033d1708 100644 --- a/lambdas/transcode/setup.py +++ b/lambdas/transcode/setup.py @@ -4,4 +4,11 @@ name='t4_lambda_transcode', version='0.0.1', py_modules=['index'], + install_requires=[ + ( + "t4_lambda_shared @ https://github.com/quiltdata/quilt/archive/" + "f45d8ab51f2d60e98efda7510322f94d822e4eb4.zip" + "#subdirectory=lambdas/shared" + ), + ], ) diff --git a/lambdas/transcode/test-requirements.in b/lambdas/transcode/test-requirements.in new file mode 100644 index 00000000000..46c6cbd16d0 --- /dev/null +++ b/lambdas/transcode/test-requirements.in @@ -0,0 +1,3 @@ +-c requirements.txt +pytest ~= 8.0 +pytest-cov ~= 6.0 diff --git a/lambdas/transcode/test-requirements.txt b/lambdas/transcode/test-requirements.txt index 28115a45291..04ebefd290c 100644 --- a/lambdas/transcode/test-requirements.txt +++ b/lambdas/transcode/test-requirements.txt @@ -1,7 +1,20 @@ -atomicwrites==1.3.0 -more-itertools==6.0.0 -pluggy==0.9.0 -py==1.10.0 -pytest==4.3.0 -pytest-cov==2.6.1 -pytest-raises==0.10 +# +# 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