From be82fa015d48a4d99e6eaaa8e2bd8d2a20e2f442 Mon Sep 17 00:00:00 2001 From: vmoens Date: Thu, 1 Feb 2024 10:07:12 +0000 Subject: [PATCH] init --- .github/scripts/m1_script.sh | 2 +- .github/workflows/wheels.yml | 8 ++++---- setup.py | 2 +- version.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/scripts/m1_script.sh b/.github/scripts/m1_script.sh index 8e929443ef6..6d2f194e3bc 100644 --- a/.github/scripts/m1_script.sh +++ b/.github/scripts/m1_script.sh @@ -1,5 +1,5 @@ #!/bin/bash -export BUILD_VERSION=0.3.0 +export BUILD_VERSION=0.4.0 ${CONDA_RUN} pip install git+https://github.com/pytorch/tensordict.git -U diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 47c1b0c6fec..e910ba4201b 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -4,7 +4,7 @@ on: types: [opened, synchronize, reopened] push: branches: - - release/0.3.0 + - release/0.4.0 concurrency: # Documentation suggests ${{ github.head_ref }}, but that's only available on pull_request/pull_request_target triggers, so using ${{ github.ref }}. @@ -32,7 +32,7 @@ jobs: run: | export PATH="/opt/python/${{ matrix.python_version[1] }}/bin:$PATH" python3 -mpip install wheel - BUILD_VERSION=0.3.0 python3 setup.py bdist_wheel + BUILD_VERSION=0.4.0 python3 setup.py bdist_wheel # NB: wheels have the linux_x86_64 tag so we rename to manylinux1 # find . -name 'dist/*whl' -exec bash -c ' mv $0 ${0/linux/manylinux1}' {} \; # pytorch/pytorch binaries are also manylinux_2_17 compliant but they @@ -72,7 +72,7 @@ jobs: run: | export CC=clang CXX=clang++ python3 -mpip install wheel - BUILD_VERSION=0.3.0 python3 setup.py bdist_wheel + BUILD_VERSION=0.4.0 python3 setup.py bdist_wheel - name: Upload wheel for the test-wheel job uses: actions/upload-artifact@v2 with: @@ -104,7 +104,7 @@ jobs: shell: bash run: | python3 -mpip install wheel - BUILD_VERSION=0.3.0 python3 setup.py bdist_wheel + BUILD_VERSION=0.4.0 python3 setup.py bdist_wheel - name: Upload wheel for the test-wheel job uses: actions/upload-artifact@v2 with: diff --git a/setup.py b/setup.py index f31a2ed9f5c..44e772528a7 100644 --- a/setup.py +++ b/setup.py @@ -170,7 +170,7 @@ def _main(argv): if is_nightly: tensordict_dep = "tensordict-nightly" else: - tensordict_dep = "tensordict>=0.3.0" + tensordict_dep = "tensordict>=0.4.0" if is_nightly: version = get_nightly_version() diff --git a/version.txt b/version.txt index 0d91a54c7d4..1d0ba9ea182 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.3.0 +0.4.0