Skip to content

Commit

Permalink
migrate to ptb-21 and converted to asyncio (#333)
Browse files Browse the repository at this point in the history
* migrate to ptb-21 and converte to asyncio
* rename base camera to opencv
* fix some memory leaks
* update dockerfile
  • Loading branch information
nlef authored Oct 18, 2024
1 parent 5c59bfb commit 95832ea
Show file tree
Hide file tree
Showing 13 changed files with 785 additions and 720 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: Pre-commit
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11']
python-version: ['3.9', '3.10', '3.11', '3.12']
runs-on: ubuntu-22.04
steps:
- name: Check out the repository
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM python:3.11.9-slim-bookworm
FROM python:3.12.7-slim-bookworm

RUN apt update \
&& apt install -y \
python3-dev python3-setuptools python3-virtualenv \
python3-cryptography python3-gevent python3-opencv \
python3-cryptography python3-opencv libuv1 \
ffmpeg x264 libx264-dev libwebp-dev \
libtiff5-dev libjpeg-dev libopenjp2-7-dev zlib1g-dev \
libtiff5-dev libjpeg*-turbo libjpeg*-turbo-dev libopenjp2-7-dev zlib1g-dev \
libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python3-tk \
libharfbuzz-dev libfribidi-dev libxcb1-dev \
&& apt clean \
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile_mjpeg
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM python:3.11.9-slim-bookworm
FROM python:3.12.7-slim-bookworm

RUN apt update \
&& apt install -y \
python3-dev python3-setuptools python3-virtualenv \
python3-cryptography python3-gevent python3-numpy \
python3-cryptography python3-numpy libuv1 \
ffmpeg x264 libx264-dev libwebp-dev \
libtiff5-dev libjpeg-dev libopenjp2-7-dev zlib1g-dev \
libtiff5-dev libjpeg*-turbo libjpeg*-turbo-dev libopenjp2-7-dev zlib1g-dev \
libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python3-tk \
libharfbuzz-dev libfribidi-dev libxcb1-dev \
&& apt clean \
Expand Down
Loading

0 comments on commit 95832ea

Please sign in to comment.