diff --git a/.github/workflows/wheel.yaml b/.github/workflows/wheel.yaml index 00dc3da63..d33e725fe 100644 --- a/.github/workflows/wheel.yaml +++ b/.github/workflows/wheel.yaml @@ -59,7 +59,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.9'] + python-version: ['3.9', '3.10', '3.11', '3.12'] ffmpeg-version-for-tests: ['4.4.2', '5.1.2', '6.1.1', '7.0.1'] if: ${{ always() }} needs: build @@ -79,7 +79,7 @@ jobs: run: python -m pip install --upgrade pip - name: Install PyTorch run: | - python -m pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu + python -m pip install torch --index-url https://download.pytorch.org/whl/cpu - name: Install torchcodec from the wheel run: | wheel_path=`find pytorch/torchcodec/dist -type f -name "*.whl"` @@ -102,9 +102,10 @@ 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 torchvision --index-url https://download.pytorch.org/whl/cpu # Ideally we would find a way to get those dependencies from pyproject.toml python -m pip install numpy pytest pillow + python -c "import torch; print(f'{torch.__version__ = }')" - name: Delete the src/ folder just for fun run: | diff --git a/src/torchcodec/__init__.py b/src/torchcodec/__init__.py index a97c32ce0..f1bab42f8 100644 --- a/src/torchcodec/__init__.py +++ b/src/torchcodec/__init__.py @@ -6,4 +6,4 @@ from . import decoders # noqa -__version__ = "0.0.2.dev" +__version__ = "0.0.2"