Skip to content

Commit 247ec09

Browse files
authored
Bump dev tools & require Python 3.10 (#120)
* Bump dev tools & require Python 3.10 Raise minimum Python to >=3.10 and update developer tooling: upgrade Black to 26.3.1 (including pre-commit hook), bump pytest to 9.0.3, add filelock 3.20.1 and related dev dependency updates. The Poetry lockfile was regenerated to reflect these dependency changes. * Update lint CI to test on Python 3.10–3.12 Bump the GitHub Actions lint workflow's Python matrix to [3.10, 3.11, 3.12], replacing 3.9. This adds CI coverage for Python 3.12 and removes older 3.9 testing (likely due to EOL/support updates). Only the matrix in .github/workflows/lint.yml was modified. * Add blank line after module docstrings Insert a single blank line after module-level docstrings in trt_base.py and generated protobuf files (header_pb2.py, image_pb2.py, time_pb2.py) to improve readability and satisfy style checks. This is a non-functional whitespace change only.
1 parent c399b64 commit 247ec09

8 files changed

Lines changed: 144 additions & 98 deletions

File tree

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
python-version: ["3.9", "3.10", "3.11"]
16+
python-version: ["3.10", "3.11", "3.12"]
1717

1818
steps:
1919
- name: Checkout code

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ repos:
2222
args: [--fix]
2323

2424
- repo: https://github.com/psf/black
25-
rev: 24.10.0
25+
rev: 26.3.1
2626
hooks:
2727
- id: black
2828

poetry.lock

Lines changed: 134 additions & 93 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ om1_tts = "om1_speech.audio.audio_output_stream:main"
1616
om_face_recog_stream = "om1_vlm.anonymizationSys.face_recog_stream.run:main"
1717

1818
[tool.poetry.dependencies]
19-
python = ">=3.9,<4.0"
19+
python = ">=3.10,<4.0"
2020
pyaudio = "^0.2.13"
2121
numpy = ">=1.26.4,<2"
2222
websockets = "^13.0"
@@ -32,16 +32,17 @@ torch = { version = ">=2.5.0", optional = true }
3232
av = "^15.1.0"
3333
vulture = "^2.14"
3434
openai= "1.60.1"
35+
filelock = "3.20.1"
3536

3637

3738
[tool.poetry.extras]
3839
realsense = ["pyrealsense2", "pyrealsense2-macosx"]
3940
jetson = ["torch"]
4041

4142
[tool.poetry.group.dev.dependencies]
42-
pytest = "^7.0"
43+
pytest = "9.0.3"
4344
pytest-asyncio = "^0.19.0"
44-
black = "^24.10.0"
45+
black = "26.3.1"
4546
isort = "^5.13.2"
4647
ruff = "^0.9.2"
4748
pre-commit = "^4.1.0"

src/om1_vlm/anonymizationSys/face_recog_stream/trt_base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
44
Replaces pycuda dependency with PyTorch — no extra install needed.
55
"""
6+
67
from __future__ import annotations
78

89
import os.path as osp

src/om1_vlm/gz/msgs/header_pb2.py

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/om1_vlm/gz/msgs/image_pb2.py

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/om1_vlm/gz/msgs/time_pb2.py

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)