Skip to content

Remove torchvision test dependency #648

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 23, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/linux_wheel.yaml
Original file line number Diff line number Diff line change
@@ -104,7 +104,6 @@ jobs:

- name: Install test dependencies
run: |
python -m pip install --pre torchvision --index-url https://download.pytorch.org/whl/nightly/cpu
# Ideally we would find a way to get those dependencies from pyproject.toml
python -m pip install numpy pytest pillow

1 change: 0 additions & 1 deletion .github/workflows/macos_wheel.yaml
Original file line number Diff line number Diff line change
@@ -103,7 +103,6 @@ jobs:

- name: Install test dependencies
run: |
python -m pip install --pre torchvision --index-url https://download.pytorch.org/whl/nightly/cpu
python -m pip install numpy pytest pillow

- name: Delete the src/ folder just for fun
2 changes: 1 addition & 1 deletion .github/workflows/reference_resources.yaml
Original file line number Diff line number Diff line change
@@ -42,7 +42,7 @@ jobs:
run: |
# Note that we're installing stable - this is for running a script where we're a normal PyTorch
# user, not for building TorhCodec.
python -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
python -m pip install numpy pillow

- name: Check out repo
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@ pip install -e ".[dev]" --no-build-isolation -vv

### Running unit tests

To run python tests run (please make sure `torchvision` is installed):
To run python tests run:

```bash
pytest test -vvv
Loading