From 60fedbc5679ec8f74b696faf50348171f9237cc9 Mon Sep 17 00:00:00 2001 From: Nicolas Hug Date: Thu, 8 Aug 2024 11:27:51 +0100 Subject: [PATCH 1/3] 0.0.2 release --- .github/workflows/wheel.yaml | 4 ++-- src/torchcodec/__init__.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/wheel.yaml b/.github/workflows/wheel.yaml index 00dc3da63..a033f2479 100644 --- a/.github/workflows/wheel.yaml +++ b/.github/workflows/wheel.yaml @@ -1,4 +1,4 @@ -name: Build and test Linux wheels +t name: Build and test Linux wheels on: pull_request: @@ -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 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" From 56eddd88ddd85988210b8e465570ea92582ea0e3 Mon Sep 17 00:00:00 2001 From: Nicolas Hug Date: Thu, 8 Aug 2024 11:28:30 +0100 Subject: [PATCH 2/3] typo --- .github/workflows/wheel.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/wheel.yaml b/.github/workflows/wheel.yaml index a033f2479..421b04b31 100644 --- a/.github/workflows/wheel.yaml +++ b/.github/workflows/wheel.yaml @@ -1,4 +1,4 @@ -t name: Build and test Linux wheels +name: Build and test Linux wheels on: pull_request: From 57f14eb4c815d34c4bc2d156304bb841368dc0e1 Mon Sep 17 00:00:00 2001 From: Nicolas Hug Date: Thu, 8 Aug 2024 11:40:33 +0100 Subject: [PATCH 3/3] test against stable --- .github/workflows/wheel.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/wheel.yaml b/.github/workflows/wheel.yaml index 421b04b31..d33e725fe 100644 --- a/.github/workflows/wheel.yaml +++ b/.github/workflows/wheel.yaml @@ -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: |