Skip to content

Commit 877a691

Browse files
committed
CI again
1 parent 31136b1 commit 877a691

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/CI.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,22 +41,24 @@ jobs:
4141
- uses: actions/setup-python@v5
4242
with:
4343
python-version: 3.x
44+
- name: Install stuff
45+
run: sudo apt-get install -y libclang-14-dev libusb-1.0-0-dev libudev-dev
4446
- name: Build wheels
4547
uses: PyO3/maturin-action@v1
4648
with:
4749
target: ${{ matrix.platform.target }}
4850
args: --release --out dist
4951
sccache: 'true'
5052
manylinux: auto
51-
before-script-linux: apt-get install -y libclang-14-dev libusb-1.0-0-dev libudev-dev
53+
container: off
5254
- name: Build free-threaded wheels
5355
uses: PyO3/maturin-action@v1
5456
with:
5557
target: ${{ matrix.platform.target }}
5658
args: --release --out dist -i python3.13t
5759
sccache: 'true'
5860
manylinux: auto
59-
before-script-linux: apt-get install -y libclang-14-dev libusb-1.0-0-dev libudev-dev
61+
container: off
6062
- name: Upload wheels
6163
uses: actions/upload-artifact@v4
6264
with:

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ impl Camera {
257257
Some(frame) => Ok(Some((
258258
frame.width(),
259259
frame.height(),
260-
PyBytes::new_bound(py, frame).into(),
260+
PyBytes::new(py, frame).into(),
261261
))),
262262
None => Ok(None),
263263
}

0 commit comments

Comments
 (0)