diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7aaac68c7..11cff2cc9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,10 +62,10 @@ jobs: - name: "Check" run: cargo check --all - - name: "Build (Without Python node as it is build with maturin)" - run: cargo build --all --exclude dora-node-api-python + - name: "Build (Without Python dep as it is build with maturin)" + run: cargo build --all --exclude dora-node-api-python --exclude dora-operator-api-python --exclude dora-ros2-bridge-python - name: "Test" - run: cargo test --all --exclude dora-ros2-bridge-python + run: cargo test --all --exclude dora-node-api-python --exclude dora-operator-api-python --exclude dora-ros2-bridge-python # Run examples as separate job because otherwise we will exhaust the disk # space of the GitHub action runners. @@ -295,6 +295,10 @@ jobs: dora stop --name ci-rust-dynamic --grace-duration 5s dora destroy + - uses: actions/setup-python@v2 + with: + # TODO: Support Python 3.13 when https://github.com/pytorch/pytorch/issues/130249 is fixed + python-version: "3.12" - name: "Test CLI (Python)" timeout-minutes: 30 # fail-fast by using bash shell explictly diff --git a/.github/workflows/node-hub-ci-cd.yml b/.github/workflows/node-hub-ci-cd.yml index 52ea0f219..40624f7e3 100644 --- a/.github/workflows/node-hub-ci-cd.yml +++ b/.github/workflows/node-hub-ci-cd.yml @@ -17,6 +17,22 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v2 + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + if: runner.os == 'Linux' + with: + # this might remove tools that are actually needed, + # if set to "true" but frees about 6 GB + tool-cache: true + + # all of these default to true, but feel free to set to + # "false" if necessary for your workflow + android: true + dotnet: true + haskell: true + large-packages: false + docker-images: true + swap-storage: true - name: Set up Python uses: actions/setup-python@v2 @@ -48,6 +64,22 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v2 + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + if: runner.os == 'Linux' + with: + # this might remove tools that are actually needed, + # if set to "true" but frees about 6 GB + tool-cache: true + + # all of these default to true, but feel free to set to + # "false" if necessary for your workflow + android: true + dotnet: true + haskell: true + large-packages: false + docker-images: true + swap-storage: true - name: Set up Python uses: actions/setup-python@v2 diff --git a/node-hub/dora-yolo/pyproject.toml b/node-hub/dora-yolo/pyproject.toml index fe103d53c..d6771cadb 100644 --- a/node-hub/dora-yolo/pyproject.toml +++ b/node-hub/dora-yolo/pyproject.toml @@ -13,7 +13,7 @@ packages = [{ include = "dora_yolo" }] [tool.poetry.dependencies] dora-rs = "^0.3.6" numpy = "< 2.0.0" -ultralytics = "<= 8.2.52" +ultralytics = "^8.3.24" python = "^3.7" [tool.poetry.scripts]