Skip to content

tox #9

Open
Open
tox#9
@danielmlow

Description

@danielmlow

Tox fails:
https://github.com/danielmlow/construct-tracker/actions/runs/10891445951/job/30222362900

This passes when run locally, but fails due to installing too many heavy dependencies. I tried to avoid installing them by using the following in here: https://github.com/danielmlow/construct-tracker/blob/main/.github/workflows/build_and_install_test.yaml

    - name: Free up space
      run: |
        sudo apt-get clean
        sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache

    - name: Install PyTorch
      run: pip install torch==2.4.1 --index-url https://download.pytorch.org/whl/cpu

    - name: Install project dependencies
      run: |
        poetry lock --no-update
        poetry install --only main -v

And also this in the pyproject.toml file:

"sentence-transformers" = {version = "~=2.7", extras = []}

And I'm running one test (3.9, 3.10, 3.11) at a time and it clears space before running the next.

But it didn't work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions