From e7f3fef33d449cfcbf81d656129138df1a34be27 Mon Sep 17 00:00:00 2001 From: Kristoffer Andersson Date: Tue, 9 Jan 2024 13:06:24 +0100 Subject: [PATCH] ci: update tests --- .github/workflows/ci.yml | 4 +- tests/requirements-test.txt | 116 ++++++++++++++++++++++++++++++++++++ 2 files changed, 118 insertions(+), 2 deletions(-) create mode 100644 tests/requirements-test.txt diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 94ed29d..e2beeea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -239,9 +239,9 @@ jobs: name: pypi_files path: dist - - run: rm -r src/json_streams + - run: rm -r src/sparv_bert_neighbour - run: pip install typing-extensions - - run: pip install -r tests/requirements.txt + - run: pip install -r tests/requirements-test.txt - run: pip install sparv-bert-neighbour-plugin --no-index --no-deps --find-links dist --force-reinstall - run: pytest diff --git a/tests/requirements-test.txt b/tests/requirements-test.txt new file mode 100644 index 0000000..52fe560 --- /dev/null +++ b/tests/requirements-test.txt @@ -0,0 +1,116 @@ +# generated by rye +# use `rye lock` or `rye sync` to update this lockfile +# +# last locked with the following flags: +# pre: false +# features: [] +# all-features: false + +-e file:. +appdirs==1.4.4 +argcomplete==3.1.6 +attrs==23.2.0 +black==23.12.1 +certifi==2023.11.17 +cffi==1.16.0 +charset-normalizer==3.3.2 +click==8.1.7 +configargparse==1.7 +connection-pool==0.0.3 +cryptography==41.0.7 +datrie==0.8.2 +docutils==0.20.1 +docx2python==1.27.1 +dpath==2.1.6 +emoji==2.9.0 +fastjsonschema==2.19.1 +filelock==3.13.1 +fsspec==2023.12.2 +gitdb==4.0.11 +gitpython==3.1.40 +huggingface-hub==0.20.2 +humanfriendly==10.0 +idna==3.6 +importlib-metadata==6.8.0 +iniconfig==2.0.0 +jinja2==3.1.2 +joblib==1.3.2 +jsonschema==4.20.0 +jsonschema-specifications==2023.12.1 +jupyter-core==5.7.1 +markdown-it-py==3.0.0 +markupsafe==2.1.3 +mdurl==0.1.2 +mpmath==1.3.0 +mypy==1.8.0 +mypy-extensions==1.0.0 +nbformat==5.9.2 +networkx==3.2.1 +nltk==3.8.1 +numpy==1.26.3 +nvidia-cublas-cu12==12.1.3.1 +nvidia-cuda-cupti-cu12==12.1.105 +nvidia-cuda-nvrtc-cu12==12.1.105 +nvidia-cuda-runtime-cu12==12.1.105 +nvidia-cudnn-cu12==8.9.2.26 +nvidia-cufft-cu12==11.0.2.54 +nvidia-curand-cu12==10.3.2.106 +nvidia-cusolver-cu12==11.4.5.107 +nvidia-cusparse-cu12==12.1.0.106 +nvidia-nccl-cu12==2.18.1 +nvidia-nvjitlink-cu12==12.3.101 +nvidia-nvtx-cu12==12.1.105 +packaging==23.2 +pathspec==0.12.1 +pdfminer-six==20221105 +pdfplumber==0.10.3 +pillow==10.2.0 +plac==1.4.2 +platformdirs==4.1.0 +pluggy==1.3.0 +prompt-toolkit==3.0.43 +protobuf==3.20.3 +psutil==5.9.7 +pulp==2.7.0 +pycountry==22.3.5 +pycparser==2.21 +pygments==2.17.2 +pypdfium2==4.25.0 +pytest==7.4.4 +python-dateutil==2.8.2 +python-json-logger==2.0.7 +pyyaml==6.0.1 +questionary==1.10.0 +referencing==0.32.1 +regex==2023.12.25 +requests==2.31.0 +reretry==0.11.8 +rich==13.7.0 +rpds-py==0.16.2 +safetensors==0.4.1 +six==1.16.0 +smart-open==6.4.0 +smmap==5.0.1 +snakemake==7.32.3 +sparv-pipeline==5.2.0 +stanza==1.5.1 +stopit==1.1.2 +sympy==1.12 +tabulate==0.9.0 +throttler==1.2.2 +tokenizers==0.15.0 +toposort==1.10 +torch==2.1.2 +tqdm==4.66.1 +traitlets==5.14.1 +transformers==4.36.2 +triton==2.1.0 +typing-extensions==4.9.0 +typing-inspect==0.9.0 +urllib3==2.1.0 +wcwidth==0.2.13 +wrapt==1.16.0 +yte==1.5.4 +zipp==3.17.0 +# The following packages are considered to be unsafe in a requirements file: +setuptools==69.0.3