Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
feae138
Switch wheel uploading to AK
Jun 11, 2026
21068f0
Pin down the windows runner
Jun 11, 2026
e67594a
Merge uploading to a single job
Jun 11, 2026
ec31d1b
Fix RPI building
Jun 11, 2026
431ad09
Fix bookworm
Jun 12, 2026
59da657
Merge pull request #1123 from luxonis/feat/migrate_to_ak
moratom Jun 12, 2026
8095217
Bump core
Jun 12, 2026
d24685c
Bump core
Jun 12, 2026
3d423ab
Bump core
Jun 12, 2026
217a45f
Bump core
MaticTonin Jul 13, 2026
27dda9e
Bump Core
MaticTonin Jul 16, 2026
08dab4d
Bump core
MaticTonin Jul 20, 2026
e955a9d
Bump core
banulucian Jul 22, 2026
1fbdf7f
Merge remote-tracking branch 'origin/tof_fix_lower_fps' into feature/…
MaticTonin Aug 28, 2026
fba2dd1
Fix pyproject.toml
MaticTonin Aug 28, 2026
e7fc17d
Merge pull request #1124 from luxonis/feature/ToF_improvements
MaticTonin Aug 28, 2026
b27e783
Deprecate ARM Builds inside of workflows
aljazdu Oct 12, 2026
bc95c70
Update docker dependencies
aljazdu Oct 13, 2026
2ef49c5
Merge pull request #1130 from luxonis/feat/deprecate_arm_builds
aljazdu Oct 20, 2026
11e809c
Merge remote-tracking branch 'origin/main' into release_2.34.0
aljazkonec1 Nov 17, 2026
a34adf5
CI: use ubuntu-24.04 and macos-15 runners
aljazkonec1 Nov 17, 2026
8250b6d
CI: build with -Dfdopen=fdopen on macOS 15 (zlib 1.2.11)
aljazkonec1 Nov 17, 2026
8f98404
CI: set SDKROOT on macOS 15 (OpenSSL link)
aljazkonec1 Nov 17, 2026
f43cc3d
CI: pass -Wl,-syslibroot on macOS 15 (Hunter OpenSSL link)
aljazkonec1 Nov 17, 2026
0a511c0
CI: put -isysroot before -Dfdopen=fdopen on macOS 15 (Hunter OpenSSL …
Nov 17, 2026
91f4874
CI: remove Homebrew libpsl on macOS 15 (CURL used Homebrew OpenSSL he…
aljazkonec1 Nov 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .github/workflows/docker-hub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, [Linux, ARM], ubuntu-24.04-arm]
os: [ubuntu-latest, ubuntu-24.04-arm]
include:
- os: ubuntu-latest
arch: amd64
- os: [Linux, ARM]
arch: armv7
- os: ubuntu-24.04-arm
arch: armv8
steps:
Expand Down Expand Up @@ -77,7 +75,6 @@ jobs:
docker manifest create \
luxonis/depthai-library:${{ github.sha}} \
--amend luxonis/depthai-library:${{ github.sha }}-amd64 \
--amend luxonis/depthai-library:${{ github.sha }}-armv7 \
--amend luxonis/depthai-library:${{ github.sha }}-armv8
# Push
docker manifest push luxonis/depthai-library:${{ github.sha }}
Expand All @@ -88,7 +85,6 @@ jobs:
docker manifest create \
luxonis/depthai-library:${{ steps.vars.outputs.short_ref }} \
--amend luxonis/depthai-library:${{ steps.vars.outputs.short_ref }}-amd64 \
--amend luxonis/depthai-library:${{ steps.vars.outputs.short_ref }}-armv7 \
--amend luxonis/depthai-library:${{ steps.vars.outputs.short_ref }}-armv8
# Push
docker manifest push luxonis/depthai-library:${{ steps.vars.outputs.short_ref }}
86 changes: 27 additions & 59 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ jobs:

# Job which builds docstrings for the rest of the wheel builds
build-docstrings:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Cache .hunter folder
uses: actions/cache@v4
with:
path: ~/.hunter
key: hunter-ubuntu-latest
key: hunter-ubuntu-24.04
- name: List .hunter cache directory
run: ls -a -l ~/.hunter/_Base/ || true
- uses: actions/checkout@v4
Expand Down Expand Up @@ -67,13 +67,13 @@ jobs:
needs: build-docstrings
strategy:
matrix:
os: [ubuntu-latest, windows-2022, macos-14]
os: [ubuntu-24.04, windows-2022, macos-15]
runs-on: ${{ matrix.os }}
steps:
- name: Print home directory
run: echo Home directory inside container $HOME
- name: Setup cmake
if: matrix.os == 'macos-14'
if: matrix.os == 'macos-15'
uses: jwlawson/actions-setup-cmake@v1.13
with:
cmake-version: '3.29.x'
Expand Down Expand Up @@ -107,16 +107,22 @@ jobs:
python-version: "3.10"

- name: Install dependencies (Ubuntu)
if: matrix.os == 'ubuntu-latest'
if: matrix.os == 'ubuntu-24.04'
run: |
python -m pip install --upgrade pip
sudo apt install libusb-1.0-0-dev

- name: Install dependencies (MacOS)
if: matrix.os == 'macos-14'
if: matrix.os == 'macos-15'
run: |
python -m pip install --upgrade pip
brew install libusb
brew uninstall --ignore-dependencies libpsl || true
# -Dfdopen=fdopen: zlib 1.2.11 defines fdopen() as a macro on macOS, which breaks the macOS 15 SDK.
# -isysroot must come first: Hunter passes all C flags to OpenSSL Configure as one argument,
# and an argument that starts with -D is used only to compile, so the dylib links lose the SDK
# (ld: library 'System' not found).
echo "CFLAGS=-isysroot $(xcrun --sdk macosx --show-sdk-path) -Dfdopen=fdopen" >> $GITHUB_ENV

- name: Install pytest
run: |
Expand All @@ -131,48 +137,6 @@ jobs:
cmake --build build --target pytest --config Release


# This job builds wheels for armhf arch (RPi)
build-linux-armhf:
needs: build-docstrings
strategy:
matrix:
include:
- rpi-os: rpi-bullseye
auditwheel-plat: manylinux_2_31_armv7l
- rpi-os: rpi-bookworm
auditwheel-plat: linux_armv7l
runs-on: ${{ matrix.rpi-os }}
steps:
- name: Print home directory
run: echo Home directory inside container $HOME
- uses: actions/checkout@v4
with:
submodules: 'recursive'

- uses: actions/download-artifact@v4
with:
name: 'docstrings'
path: docstrings
- name: Specify docstring to use while building the wheel
run: echo "DEPTHAI_PYTHON_DOCSTRINGS_INPUT=$PWD/docstrings/depthai_python_docstring.hpp" >> $GITHUB_ENV

- name: Append build hash if not a tagged commit
if: startsWith(github.ref, 'refs/tags/v') != true
run: echo "BUILD_COMMIT_HASH=${{github.sha}}" >> $GITHUB_ENV
- name: Building wheel
run: CMAKE_ARGS='-DDEPTHAI_ENABLE_CURL=OFF' python3 -m pip wheel . -w ./wheelhouse/ --verbose
- name: Auditing wheels and adding armv6l tag (Running on RPi, binaries compiled as armv6l)
run: |
# python3 -m pip install -U wheel auditwheel # Called once when setting up the runner
for whl in wheelhouse/*.whl; do auditwheel repair "$whl" --plat ${{ matrix.auditwheel-plat }} -w wheelhouse/preaudited/; done
for whl in wheelhouse/preaudited/*.whl; do python3 -m wheel tags --platform-tag +linux_armv6l "$whl"; done
mkdir -p wheelhouse/audited/
for whl in wheelhouse/preaudited/*linux_armv6l*.whl; do cp "$whl" wheelhouse/audited/$(basename $whl); done
- name: Archive wheel artifacts
uses: actions/upload-artifact@v4
with:
name: audited-wheels-${{ matrix.rpi-os }}
path: wheelhouse/audited/
# This job builds wheels for Windows x86_64 arch
build-windows-x86_64:
needs: build-docstrings
Expand Down Expand Up @@ -233,7 +197,7 @@ jobs:
strategy:
matrix:
python-version: [3.9, '3.10', '3.11', '3.12', '3.13', '3.14']
os: [macos-14] # macos-14 is arm64 (macos-15-intel could be added later, once compilation on clang that on that image is fixed))
os: [macos-15] # macos-15 is arm64 (macos-15-intel could be added later, once compilation on clang that on that image is fixed))
runs-on: ${{ matrix.os }}
steps:
- name: Cache .hunter folder
Expand Down Expand Up @@ -268,9 +232,13 @@ jobs:
run: |
python -m pip install --upgrade pip
brew install libusb
brew uninstall --ignore-dependencies libpsl || true
python -m pip install delocate wheel
- name: Set macos deployment target
run: echo "MACOSX_DEPLOYMENT_TARGET=10.9" >> $GITHUB_ENV
run: |
echo "MACOSX_DEPLOYMENT_TARGET=10.9" >> $GITHUB_ENV
# See the pytest job: -isysroot must come before -Dfdopen=fdopen (Hunter OpenSSL link).
echo "CFLAGS=-isysroot $(xcrun --sdk macosx --show-sdk-path) -Dfdopen=fdopen" >> $GITHUB_ENV
- name: Building wheels
run: python -m pip wheel . -w ./wheelhouse/ --verbose
- name: Auditing wheels
Expand All @@ -283,7 +251,7 @@ jobs:
# This job builds wheels for x86_64 arch
build-linux-x86_64:
needs: build-docstrings
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
container:
image: quay.io/pypa/manylinux_2_28_x86_64:2025.11.10-2
env:
Expand Down Expand Up @@ -388,8 +356,8 @@ jobs:
path: wheelhouse/audited/
upload-wheels-to-ak:
if: (github.event_name == 'workflow_dispatch' || github.event_name == 'push') && !startsWith(github.ref, 'refs/tags/v')
needs: [build-linux-armhf, build-windows-x86_64, build-macos, build-linux-x86_64, build-linux-arm64]
runs-on: ubuntu-latest
needs: [build-windows-x86_64, build-macos, build-linux-x86_64, build-linux-arm64]
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -407,8 +375,8 @@ jobs:

release:
if: startsWith(github.ref, 'refs/tags/v')
needs: [pytest, build-linux-armhf, build-windows-x86_64, build-macos, build-linux-x86_64, build-linux-arm64]
runs-on: ubuntu-latest
needs: [pytest, build-windows-x86_64, build-macos, build-linux-x86_64, build-linux-arm64]
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -444,7 +412,7 @@ jobs:
deploy:
if: startsWith(github.ref, 'refs/tags/v')
needs: [release]
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -471,7 +439,7 @@ jobs:

# notify_hil_workflow_linux_x86_64:
# needs: [build-linux-x86_64]
# runs-on: ubuntu-latest
# runs-on: ubuntu-24.04
# steps:
# - name: Repository Dispatch
# uses: peter-evans/repository-dispatch@v2
Expand All @@ -482,8 +450,8 @@ jobs:
# client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'

notify_hil_workflow:
needs: [build-linux-armhf, build-linux-x86_64]
runs-on: ubuntu-latest
needs: [build-linux-x86_64]
runs-on: ubuntu-24.04
steps:
- name: Dispatch an action and get the run ID
uses: codex-/return-dispatch@v1
Expand Down
14 changes: 0 additions & 14 deletions .gitlab-ci.yml

This file was deleted.

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Documentation is available over at [Luxonis DepthAI API](https://docs.luxonis.co

## Installation

Automated ARM32 (ARMv6/ARMv7) builds have been discontinued for DepthAI v2. Prebuilt ARM wheels and Docker images are provided for ARM64.

Prebuilt wheels are available in [Luxonis repository](https://artifacts.luxonis.com/artifactory/luxonis-python-snapshot-local/)
Make sure pip is upgraded
```
Expand Down
6 changes: 3 additions & 3 deletions ci/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM python:3.9-bullseye
FROM python:3.11-bookworm

RUN apt-get update && apt-get install -y wget build-essential cmake pkg-config libjpeg-dev libtiff5-dev libavcodec-dev libavformat-dev libswscale-dev libv4l-dev libxvidcore-dev libx264-dev libgtk2.0-dev libgtk-3-dev libatlas-base-dev gfortran git libopencv-dev
RUN apt-get update && apt-get install -y wget build-essential cmake pkg-config libjpeg-dev libtiff-dev libavcodec-dev libavformat-dev libswscale-dev libv4l-dev libxvidcore-dev libx264-dev libgtk2.0-dev libgtk-3-dev libatlas-base-dev gfortran git libopencv-dev

ADD ci/docker_dependencies.sh .
RUN ./docker_dependencies.sh
Expand All @@ -15,4 +15,4 @@ RUN cmake -S /depthai-python/depthai-core -B /build -D CMAKE_BUILD_TYPE=Release
RUN cmake --build /build --parallel 4 --config Relase --target install

# Install Python library
RUN cd /depthai-python && python3 -m pip install .
RUN cd /depthai-python && python3 -m pip install .
6 changes: 3 additions & 3 deletions ci/docker_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ readonly ubuntu_pkgs=(
libavcodec-dev
libavformat-dev
libswscale-dev
libtbb2
libtbb12
libtbb-dev
libjpeg-dev
libpng-dev
libtiff-dev
libdc1394-22-dev
libdc1394-dev
# https://stackoverflow.com/questions/55313610
ffmpeg
libsm6
Expand All @@ -37,7 +37,7 @@ readonly ubuntu_arm_pkgs=(
libhdf5-dev
libatlas-base-dev
# https://github.com/EdjeElectronics/TensorFlow-Object-Detection-on-the-Raspberry-Pi/issues/18#issuecomment-433953426
libilmbase-dev
libimath-dev
libopenexr-dev
libgstreamer1.0-dev
)
Expand Down
2 changes: 1 addition & 1 deletion depthai-core
Loading