Skip to content

Commit c1fe859

Browse files
committed
More jobs, set version
1 parent b3a8f3f commit c1fe859

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

.github/workflows/linux_cuda_wheel.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ jobs:
6666
# PR.
6767
# For the actual release we should add that label and change this to
6868
# include more python versions.
69-
python-version: ['3.9']
69+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
7070
cuda-version: ['11.8', '12.6', '12.8']
7171
# TODO: put back ffmpeg 5 https://github.com/pytorch/torchcodec/issues/325
72-
ffmpeg-version-for-tests: ['4.4.2', '6', '7']
72+
ffmpeg-version-for-tests: ['4.4.2', '5', '6', '7']
7373

7474
container:
7575
image: "pytorch/manylinux2_28-builder:cuda${{ matrix.cuda-version }}"

.github/workflows/linux_wheel.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
strategy:
6363
fail-fast: false
6464
matrix:
65-
python-version: ['3.9']
65+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
6666
ffmpeg-version-for-tests: ['4.4.2', '5.1.2', '6.1.1', '7.0.1']
6767
needs: build
6868
steps:

.github/workflows/macos_wheel.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
strategy:
6464
fail-fast: false
6565
matrix:
66-
python-version: ['3.9']
66+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
6767
ffmpeg-version-for-tests: ['4.4.2', '5.1.2', '6.1.1', '7.0.1']
6868
needs: build
6969
steps:

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,12 +184,14 @@ def _write_version_files():
184184
# the content of `version.txt` plus some suffix like "+cpu" or "+cu112".
185185
# See
186186
# https://github.com/pytorch/test-infra/blob/61e6da7a6557152eb9879e461a26ad667c15f0fd/tools/pkg-helpers/pytorch_pkg_helpers/version.py#L113
187+
version = version.replace("+cpu", "")
187188
with open(_ROOT_DIR / "version.txt", "w") as f:
188189
f.write(f"{version}")
189190
else:
190191
with open(_ROOT_DIR / "version.txt") as f:
191192
version = f.readline().strip()
192193
try:
194+
version = version.replace("+cpu", "")
193195
sha = (
194196
subprocess.check_output(
195197
["git", "rev-parse", "HEAD"], cwd=str(_ROOT_DIR)

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.3.0a0
1+
0.3.0

0 commit comments

Comments
 (0)