From c5f1b06bf04fb641df6e31595a44c24e9cda5b77 Mon Sep 17 00:00:00 2001 From: Julia Dark <24235303+jp-dark@users.noreply.github.com> Date: Wed, 1 May 2024 15:15:01 -0400 Subject: [PATCH] Stage requirements.txt into its own file. (#2501) Co-authored-by: Paul Fisher --- .github/workflows/python-so-copying.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-so-copying.yml b/.github/workflows/python-so-copying.yml index cfe9638995..cdbf668723 100644 --- a/.github/workflows/python-so-copying.yml +++ b/.github/workflows/python-so-copying.yml @@ -309,6 +309,8 @@ jobs: otool -L ./venv-soma/lib/python*/site-packages/tiledbsoma/pytiledbsoma.*.so otool -l ./venv-soma/lib/python*/site-packages/tiledbsoma/pytiledbsoma.*.so - name: Install runtime dependencies - run: ./venv-soma/bin/python -m pip install --prefer-binary `grep -v '^\[' apis/python/src/tiledbsoma.egg-info/requires.txt` + run: | + grep -v '^\[' apis/python/src/tiledbsoma.egg-info/requires.txt >/tmp/filtered-requirements.txt + ./venv-soma/bin/pip install --prefer-binary -r /tmp/filtered-requirements.txt - name: Runtime test run: ./venv-soma/bin/python -c "import tiledbsoma; print(tiledbsoma.pytiledbsoma.version())"