diff --git a/.github/workflows/node-hub-ci-cd.yml b/.github/workflows/node-hub-ci-cd.yml index 2eb6b41b..dd02e714 100644 --- a/.github/workflows/node-hub-ci-cd.yml +++ b/.github/workflows/node-hub-ci-cd.yml @@ -86,7 +86,6 @@ jobs: run: | curl -LsSf https://astral.sh/uv/install.sh | sh echo "$HOME/.local/bin" >> $GITHUB_PATH - uv pip install ruff pytest - name: Set up Rust if: runner.os == 'Linux' || github.event_name == 'workflow_dispatch' || (github.event_name == 'release' && startsWith(github.ref, 'refs/tags/')) diff --git a/binaries/cli/src/template/python/__node-name__/pyproject.toml b/binaries/cli/src/template/python/__node-name__/pyproject.toml index 77249693..a4c85c93 100644 --- a/binaries/cli/src/template/python/__node-name__/pyproject.toml +++ b/binaries/cli/src/template/python/__node-name__/pyproject.toml @@ -10,7 +10,7 @@ readme = "README.md" dependencies = ["dora-rs >= 0.3.6", "numpy < 2.0.0", "pyarrow >= 15.0.0"] [dependency-groups] -dev = ["pytest >=8.1.1,<9", "ruff >=0.9.1"] +dev = ["pytest >=8.1.1", "ruff >=0.9.1"] [project.scripts] __node-name__ = "__node_name__.main:main" diff --git a/node-hub/dora-argotranslate/pyproject.toml b/node-hub/dora-argotranslate/pyproject.toml index 631fb6b4..c177aa72 100644 --- a/node-hub/dora-argotranslate/pyproject.toml +++ b/node-hub/dora-argotranslate/pyproject.toml @@ -12,6 +12,9 @@ authors = [ dependencies = ["dora-rs >= 0.3.6", "numpy < 2.0.0", "argostranslate >= 1.9.6"] +[dependency-groups] +dev = ["pytest >=8.1.1", "ruff >=0.9.1"] + [project.scripts] dora-argotranslate = "dora_argotranslate.main:main" diff --git a/node-hub/dora-distil-whisper/pyproject.toml b/node-hub/dora-distil-whisper/pyproject.toml index 85454e70..41ef580b 100644 --- a/node-hub/dora-distil-whisper/pyproject.toml +++ b/node-hub/dora-distil-whisper/pyproject.toml @@ -22,12 +22,12 @@ dependencies = [ ] -[project.scripts] -dora-distil-whisper = "dora_distil_whisper.main:main" - [dependency-groups] dev = ["pytest >=8.1.1", "ruff >=0.9.1"] +[project.scripts] +dora-distil-whisper = "dora_distil_whisper.main:main" + [build-system] requires = ["poetry-core>=1.8.0"] build-backend = "poetry.core.masonry.api" diff --git a/node-hub/dora-internvl/pyproject.toml b/node-hub/dora-internvl/pyproject.toml index 45d4a63d..bf37b48c 100644 --- a/node-hub/dora-internvl/pyproject.toml +++ b/node-hub/dora-internvl/pyproject.toml @@ -24,6 +24,9 @@ dependencies = [ "sentencepiece >= 0.1.99", ] +[dependency-groups] +dev = ["pytest >=8.1.1", "ruff >=0.9.1"] + [project.scripts] dora-internvl = "dora_internvl.main:main" diff --git a/node-hub/dora-keyboard/pyproject.toml b/node-hub/dora-keyboard/pyproject.toml index 9225edbf..cdf83d61 100644 --- a/node-hub/dora-keyboard/pyproject.toml +++ b/node-hub/dora-keyboard/pyproject.toml @@ -16,6 +16,9 @@ dependencies = [ ] +[dependency-groups] +dev = ["pytest >=8.1.1", "ruff >=0.9.1"] + [project.scripts] dora-keyboard = "dora_keyboard.main:main" diff --git a/node-hub/dora-microphone/pyproject.toml b/node-hub/dora-microphone/pyproject.toml index 9c71f31f..ee079098 100644 --- a/node-hub/dora-microphone/pyproject.toml +++ b/node-hub/dora-microphone/pyproject.toml @@ -16,6 +16,9 @@ dependencies = [ ] +[dependency-groups] +dev = ["pytest >=8.1.1", "ruff >=0.9.1"] + [project.scripts] dora-microphone = "dora_microphone.main:main" diff --git a/node-hub/dora-openai-server/pyproject.toml b/node-hub/dora-openai-server/pyproject.toml index 2e729164..8d3f2325 100644 --- a/node-hub/dora-openai-server/pyproject.toml +++ b/node-hub/dora-openai-server/pyproject.toml @@ -19,6 +19,9 @@ dependencies = [ "pydantic >= 2.9", ] +[dependency-groups] +dev = ["pytest >=8.1.1", "ruff >=0.9.1"] + [project.scripts] dora-openai-server = "dora_openai_server.main:main" diff --git a/node-hub/dora-opus/pyproject.toml b/node-hub/dora-opus/pyproject.toml index 080b356e..6f28033b 100644 --- a/node-hub/dora-opus/pyproject.toml +++ b/node-hub/dora-opus/pyproject.toml @@ -20,6 +20,9 @@ dependencies = [ "torch >= 2.2.0", ] +[dependency-groups] +dev = ["pytest >=8.1.1", "ruff >=0.9.1"] + [project.scripts] dora-opus = "dora_opus.main:main" diff --git a/node-hub/dora-outtetts/pyproject.toml b/node-hub/dora-outtetts/pyproject.toml index c8f0a087..c8980ae9 100644 --- a/node-hub/dora-outtetts/pyproject.toml +++ b/node-hub/dora-outtetts/pyproject.toml @@ -17,7 +17,7 @@ dependencies = [ ] [dependency-groups] -dev = ["pytest >=8.1.1,<9"] +dev = ["pytest >=8.1.1", "ruff >=0.9.1"] [project.scripts] dora-outtetts = "dora_outtetts.main:main" diff --git a/node-hub/dora-parler/pyproject.toml b/node-hub/dora-parler/pyproject.toml index 2fa4116a..30919bde 100644 --- a/node-hub/dora-parler/pyproject.toml +++ b/node-hub/dora-parler/pyproject.toml @@ -23,6 +23,9 @@ dependencies = [ [tool.uv.sources] parler_tts = { git = "https://github.com/huggingface/parler-tts.git" } +[dependency-groups] +dev = ["pytest >=8.1.1", "ruff >=0.9.1"] + [project.scripts] dora-parler = "dora_parler.main:main" diff --git a/node-hub/dora-pyaudio/pyproject.toml b/node-hub/dora-pyaudio/pyproject.toml index 7c61bda5..e622862c 100644 --- a/node-hub/dora-pyaudio/pyproject.toml +++ b/node-hub/dora-pyaudio/pyproject.toml @@ -15,8 +15,7 @@ dependencies = [ ] [dependency-groups] -dev = ["pytest >=8.1.1,<9"] - +dev = ["pytest >=8.1.1", "ruff >=0.9.1"] [project.scripts] dora-pyaudio = "dora_pyaudio.main:main" diff --git a/node-hub/dora-pyorbbecksdk/pyproject.toml b/node-hub/dora-pyorbbecksdk/pyproject.toml index b2033816..ea66c6bc 100644 --- a/node-hub/dora-pyorbbecksdk/pyproject.toml +++ b/node-hub/dora-pyorbbecksdk/pyproject.toml @@ -12,6 +12,9 @@ readme = "README.md" dependencies = ["dora-rs >= 0.3.6", "numpy < 2.0.0", "opencv-python >= 4.1.1"] +[dependency-groups] +dev = ["pytest >=8.1.1", "ruff >=0.9.1"] + [project.scripts] dora-pyorbbecksdk = "dora_pyorbbecksdk.main:main" diff --git a/node-hub/dora-pyrealsense/pyproject.toml b/node-hub/dora-pyrealsense/pyproject.toml index 189cb018..6903046b 100644 --- a/node-hub/dora-pyrealsense/pyproject.toml +++ b/node-hub/dora-pyrealsense/pyproject.toml @@ -14,6 +14,9 @@ dependencies = [ "pyrealsense2 = '2.54.1.5216'; sys_platform == 'linux'", "pyrealsense2 = '2.54.1.5216'; sys_platform == 'windows'", ] +[dependency-groups] +dev = ["pytest >=8.1.1", "ruff >=0.9.1"] + [project.scripts] dora-pyrealsense = "dora_pyrealsense.main:main" diff --git a/node-hub/dora-qwenvl/pyproject.toml b/node-hub/dora-qwenvl/pyproject.toml index ce496ae8..25d3d2a9 100644 --- a/node-hub/dora-qwenvl/pyproject.toml +++ b/node-hub/dora-qwenvl/pyproject.toml @@ -25,6 +25,9 @@ dependencies = [ # flash_attn = "^2.6.1" # Install using: pip install -U flash-attn --no-build-isolation +[dependency-groups] +dev = ["pytest >=8.1.1", "ruff >=0.9.1"] + [project.scripts] dora-qwenvl = "dora_qwenvl.main:main" diff --git a/node-hub/dora-rdt-1b/pyproject.toml b/node-hub/dora-rdt-1b/pyproject.toml index 94a85dd8..54182867 100644 --- a/node-hub/dora-rdt-1b/pyproject.toml +++ b/node-hub/dora-rdt-1b/pyproject.toml @@ -29,13 +29,13 @@ dependencies = [ # flash_attn = "^2.6.1" # Install using: pip install -U flash-attn --no-build-isolation -[dependency-groups] -dev = ["pytest >=8.1.1", "ruff >=0.9.1"] - [tool.black] extend-exclude = 'dora_rdt_1b/RoboticsDiffusionTransformer' +[dependency-groups] +dev = ["pytest >=8.1.1", "ruff >=0.9.1"] + [project.scripts] dora-rdt-1b = "dora_rdt_1b.main:main" diff --git a/node-hub/dora-ugv/pyproject.toml b/node-hub/dora-ugv/pyproject.toml index 4846ab58..86daff72 100644 --- a/node-hub/dora-ugv/pyproject.toml +++ b/node-hub/dora-ugv/pyproject.toml @@ -9,6 +9,9 @@ readme = "README.md" dependencies = ["dora-rs >= 0.3.6", "python >= 3.7"] +[dependency-groups] +dev = ["pytest >=8.1.1", "ruff >=0.9.1"] + [project.scripts] dora-ugv = "dora_ugv.main:main" diff --git a/node-hub/dora-vad/pyproject.toml b/node-hub/dora-vad/pyproject.toml index 06062f1d..044e53a4 100644 --- a/node-hub/dora-vad/pyproject.toml +++ b/node-hub/dora-vad/pyproject.toml @@ -9,6 +9,9 @@ authors = [{ name = "Haixuan Xavier Tao", email = "tao.xavier@outlook.com" }] dependencies = ["dora-rs >= 0.3.6", "numpy < 2.0.0", "silero-vad >= 5.1"] +[dependency-groups] +dev = ["pytest >=8.1.1", "ruff >=0.9.1"] + [project.scripts] dora-vad = "dora_vad.main:main" diff --git a/node-hub/dora-yolo/pyproject.toml b/node-hub/dora-yolo/pyproject.toml index 97c46d6f..e96cffc3 100644 --- a/node-hub/dora-yolo/pyproject.toml +++ b/node-hub/dora-yolo/pyproject.toml @@ -11,6 +11,9 @@ readme = "README.md" dependencies = ["dora-rs >= 0.3.6", "numpy < 2.0.0", "ultralytics >= 8.3.24"] +[dependency-groups] +dev = ["pytest >=8.1.1", "ruff >=0.9.1"] + [project.scripts] dora-yolo = "dora_yolo.main:main" diff --git a/node-hub/llama-factory-recorder/pyproject.toml b/node-hub/llama-factory-recorder/pyproject.toml index ac75cd43..4a2730bc 100644 --- a/node-hub/llama-factory-recorder/pyproject.toml +++ b/node-hub/llama-factory-recorder/pyproject.toml @@ -10,12 +10,14 @@ readme = "README.md" dependencies = [ - "dora-rs >= 0.3.6", "pillow >= 10.4.0", "opencv-python >= 4.1.1", ] +[dependency-groups] +dev = ["pytest >=8.1.1", "ruff >=0.9.1"] + [project.scripts] llama-factory-recorder = "llama_factory_recorder.main:main" diff --git a/node-hub/opencv-plot/pyproject.toml b/node-hub/opencv-plot/pyproject.toml index 599b97a4..c1a09542 100644 --- a/node-hub/opencv-plot/pyproject.toml +++ b/node-hub/opencv-plot/pyproject.toml @@ -11,6 +11,9 @@ readme = "README.md" dependencies = ["dora-rs >= 0.3.6", "numpy < 2.0.0", "opencv-python >= 4.1.1"] +[dependency-groups] +dev = ["pytest >=8.1.1", "ruff >=0.9.1"] + [project.scripts] opencv-plot = "opencv_plot.main:main" diff --git a/node-hub/opencv-video-capture/pyproject.toml b/node-hub/opencv-video-capture/pyproject.toml index c549ac83..e5e18a80 100644 --- a/node-hub/opencv-video-capture/pyproject.toml +++ b/node-hub/opencv-video-capture/pyproject.toml @@ -11,6 +11,9 @@ readme = "README.md" dependencies = ["dora-rs >= 0.3.6", "numpy < 2.0.0", "opencv-python >= 4.1.1"] +[dependency-groups] +dev = ["pytest >=8.1.1", "ruff >=0.9.1"] + [project.scripts] opencv-video-capture = "opencv_video_capture.main:main" diff --git a/node-hub/pyarrow-assert/pyproject.toml b/node-hub/pyarrow-assert/pyproject.toml index c25025eb..5ec2ef80 100644 --- a/node-hub/pyarrow-assert/pyproject.toml +++ b/node-hub/pyarrow-assert/pyproject.toml @@ -11,6 +11,9 @@ license = "MIT License" dependencies = ["dora-rs >= 0.3.6", "numpy < 2.0.0", "pyarrow >= 5.0.0"] +[dependency-groups] +dev = ["pytest >=8.1.1", "ruff >=0.9.1"] + [project.scripts] pyarrow-assert = "pyarrow_assert.main:main" diff --git a/node-hub/pyarrow-sender/pyproject.toml b/node-hub/pyarrow-sender/pyproject.toml index 73f6be05..d5ff5d31 100644 --- a/node-hub/pyarrow-sender/pyproject.toml +++ b/node-hub/pyarrow-sender/pyproject.toml @@ -12,6 +12,9 @@ readme = "README.md" dependencies = ["dora-rs >= 0.3.6", "numpy < 2.0.0", "pyarrow >= 5.0.0"] +[dependency-groups] +dev = ["pytest >=8.1.1", "ruff >=0.9.1"] + [project.scripts] pyarrow-sender = "pyarrow_sender.main:main" diff --git a/node-hub/terminal-input/pyproject.toml b/node-hub/terminal-input/pyproject.toml index 7a27c145..92ae02fb 100644 --- a/node-hub/terminal-input/pyproject.toml +++ b/node-hub/terminal-input/pyproject.toml @@ -12,6 +12,9 @@ readme = "README.md" dependencies = ["dora-rs >= 0.3.6", "numpy < 2.0.0", "pyarrow >= 5.0.0"] +[dependency-groups] +dev = ["pytest >=8.1.1", "ruff >=0.9.1"] + [project.scripts] terminal-input = "terminal_input.main:main"