From 5205102ab31989df7953ac30c9f414fed9f039dd Mon Sep 17 00:00:00 2001 From: haixuantao Date: Fri, 17 Jan 2025 16:07:35 +0100 Subject: [PATCH] Remove poetry build system --- .gitignore | 2 +- .../cli/src/template/python/__node-name__/pyproject.toml | 4 ---- node-hub/README.md | 6 ------ node-hub/dora-argotranslate/pyproject.toml | 4 ---- node-hub/dora-distil-whisper/pyproject.toml | 4 ---- node-hub/dora-echo/pyproject.toml | 4 ---- node-hub/dora-internvl/pyproject.toml | 4 ---- node-hub/dora-keyboard/pyproject.toml | 4 ---- node-hub/dora-microphone/pyproject.toml | 4 ---- node-hub/dora-openai-server/pyproject.toml | 3 --- node-hub/dora-opus/pyproject.toml | 4 ---- node-hub/dora-outtetts/pyproject.toml | 4 ---- node-hub/dora-parler/pyproject.toml | 4 ---- node-hub/dora-piper/pyproject.toml | 4 ---- node-hub/dora-pyorbbecksdk/pyproject.toml | 4 ---- node-hub/dora-pyrealsense/pyproject.toml | 4 ---- node-hub/dora-qwenvl/pyproject.toml | 4 ---- node-hub/dora-rdt-1b/pyproject.toml | 3 --- node-hub/dora-ugv/pyproject.toml | 4 ---- node-hub/dora-vad/pyproject.toml | 4 ---- node-hub/dora-yolo/pyproject.toml | 4 ---- node-hub/llama-factory-recorder/pyproject.toml | 4 ---- node-hub/opencv-plot/pyproject.toml | 4 ---- node-hub/opencv-video-capture/pyproject.toml | 4 ---- node-hub/pyarrow-assert/pyproject.toml | 4 ---- node-hub/pyarrow-sender/pyproject.toml | 4 ---- node-hub/terminal-input/pyproject.toml | 4 ---- 27 files changed, 1 insertion(+), 105 deletions(-) diff --git a/.gitignore b/.gitignore index a1bb9947..fd4fd7a6 100644 --- a/.gitignore +++ b/.gitignore @@ -129,7 +129,7 @@ ipython_config.py # PEP 582; used by e.g. github.com/David-OConnor/pyflow __pypackages__/ - +.ruff_cache # Celery stuff celerybeat-schedule celerybeat.pid diff --git a/binaries/cli/src/template/python/__node-name__/pyproject.toml b/binaries/cli/src/template/python/__node-name__/pyproject.toml index 65779370..90c388c6 100644 --- a/binaries/cli/src/template/python/__node-name__/pyproject.toml +++ b/binaries/cli/src/template/python/__node-name__/pyproject.toml @@ -14,7 +14,3 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"] [project.scripts] __node-name__ = "__node_name__.main:main" - -[build-system] -requires = ["poetry-core>=1.8.0"] -build-backend = "poetry.core.masonry.api" diff --git a/node-hub/README.md b/node-hub/README.md index da969eaf..f8e5e25a 100644 --- a/node-hub/README.md +++ b/node-hub/README.md @@ -45,9 +45,6 @@ dependencies = [ [project.scripts] [name of the node with '-' to replace spaces] = "[name of the node with '_' to replace spaces].main:main" -[build-system] -requires = ["poetry-core>=1.0.0"] -build-backend = "poetry.core.masonry.api" ``` Finally, the README.md file should explicit all inputs/outputs of the node and how to configure it in the YAML file. @@ -76,9 +73,6 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"] [project.scripts] opencv-plot = "opencv_plot.main:main" -[build-system] -requires = ["poetry-core>=1.0.0"] -build-backend = "poetry.core.masonry.api" ``` ## License diff --git a/node-hub/dora-argotranslate/pyproject.toml b/node-hub/dora-argotranslate/pyproject.toml index 3e360cb5..9dd712f6 100644 --- a/node-hub/dora-argotranslate/pyproject.toml +++ b/node-hub/dora-argotranslate/pyproject.toml @@ -18,7 +18,3 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"] [project.scripts] dora-argotranslate = "dora_argotranslate.main:main" - -[build-system] -requires = ["poetry-core>=1.8.0"] -build-backend = "poetry.core.masonry.api" diff --git a/node-hub/dora-distil-whisper/pyproject.toml b/node-hub/dora-distil-whisper/pyproject.toml index 472759b0..f2fd138a 100644 --- a/node-hub/dora-distil-whisper/pyproject.toml +++ b/node-hub/dora-distil-whisper/pyproject.toml @@ -27,7 +27,3 @@ 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-echo/pyproject.toml b/node-hub/dora-echo/pyproject.toml index 356d42b5..8ba6c9d3 100644 --- a/node-hub/dora-echo/pyproject.toml +++ b/node-hub/dora-echo/pyproject.toml @@ -17,7 +17,3 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"] [project.scripts] dora-echo = "dora_echo.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 8e8b3740..444cfe93 100644 --- a/node-hub/dora-internvl/pyproject.toml +++ b/node-hub/dora-internvl/pyproject.toml @@ -30,7 +30,3 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"] [project.scripts] dora-internvl = "dora_internvl.main:main" - -[build-system] -requires = ["poetry-core>=1.8.0"] -build-backend = "poetry.core.masonry.api" diff --git a/node-hub/dora-keyboard/pyproject.toml b/node-hub/dora-keyboard/pyproject.toml index f7f7d813..6eac8259 100644 --- a/node-hub/dora-keyboard/pyproject.toml +++ b/node-hub/dora-keyboard/pyproject.toml @@ -23,7 +23,3 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"] [project.scripts] dora-keyboard = "dora_keyboard.main:main" - -[build-system] -requires = ["poetry-core>=1.8.0"] -build-backend = "poetry.core.masonry.api" diff --git a/node-hub/dora-microphone/pyproject.toml b/node-hub/dora-microphone/pyproject.toml index 1fb11987..a701fe6d 100644 --- a/node-hub/dora-microphone/pyproject.toml +++ b/node-hub/dora-microphone/pyproject.toml @@ -23,7 +23,3 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"] [project.scripts] dora-microphone = "dora_microphone.main:main" - -[build-system] -requires = ["poetry-core>=1.8.0"] -build-backend = "poetry.core.masonry.api" diff --git a/node-hub/dora-openai-server/pyproject.toml b/node-hub/dora-openai-server/pyproject.toml index 6d29f2f7..c828f859 100644 --- a/node-hub/dora-openai-server/pyproject.toml +++ b/node-hub/dora-openai-server/pyproject.toml @@ -27,9 +27,6 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"] [project.scripts] dora-openai-server = "dora_openai_server.main:main" -[build-system] -requires = ["poetry-core>=1.8.0"] -build-backend = "poetry.core.masonry.api" [tool.ruff.lint] extend-select = ["I"] diff --git a/node-hub/dora-opus/pyproject.toml b/node-hub/dora-opus/pyproject.toml index 70e4c50c..98bc6d54 100644 --- a/node-hub/dora-opus/pyproject.toml +++ b/node-hub/dora-opus/pyproject.toml @@ -27,7 +27,3 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"] [project.scripts] dora-opus = "dora_opus.main:main" - -[build-system] -requires = ["poetry-core>=1.8.0"] -build-backend = "poetry.core.masonry.api" diff --git a/node-hub/dora-outtetts/pyproject.toml b/node-hub/dora-outtetts/pyproject.toml index e216e9d8..6ca297b9 100644 --- a/node-hub/dora-outtetts/pyproject.toml +++ b/node-hub/dora-outtetts/pyproject.toml @@ -20,7 +20,3 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"] [project.scripts] dora-outtetts = "dora_outtetts.main:main" - -[build-system] -requires = ["poetry-core>=1.8.0"] -build-backend = "poetry.core.masonry.api" diff --git a/node-hub/dora-parler/pyproject.toml b/node-hub/dora-parler/pyproject.toml index 1434055d..06331db4 100644 --- a/node-hub/dora-parler/pyproject.toml +++ b/node-hub/dora-parler/pyproject.toml @@ -29,7 +29,3 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"] [project.scripts] dora-parler = "dora_parler.main:main" - -[build-system] -requires = ["poetry-core>=1.8.0"] -build-backend = "poetry.core.masonry.api" diff --git a/node-hub/dora-piper/pyproject.toml b/node-hub/dora-piper/pyproject.toml index 809b40c8..b5722091 100644 --- a/node-hub/dora-piper/pyproject.toml +++ b/node-hub/dora-piper/pyproject.toml @@ -14,7 +14,3 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"] [project.scripts] dora-piper = "dora_piper.main:main" - -[build-system] -requires = ["poetry-core>=1.8.0"] -build-backend = "poetry.core.masonry.api" diff --git a/node-hub/dora-pyorbbecksdk/pyproject.toml b/node-hub/dora-pyorbbecksdk/pyproject.toml index 1042cbf0..471d064b 100644 --- a/node-hub/dora-pyorbbecksdk/pyproject.toml +++ b/node-hub/dora-pyorbbecksdk/pyproject.toml @@ -18,7 +18,3 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"] [project.scripts] dora-pyorbbecksdk = "dora_pyorbbecksdk.main:main" - -[build-system] -requires = ["poetry-core>=1.8.0"] -build-backend = "poetry.core.masonry.api" diff --git a/node-hub/dora-pyrealsense/pyproject.toml b/node-hub/dora-pyrealsense/pyproject.toml index d1fc525a..1409ba08 100644 --- a/node-hub/dora-pyrealsense/pyproject.toml +++ b/node-hub/dora-pyrealsense/pyproject.toml @@ -20,7 +20,3 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"] [project.scripts] dora-pyrealsense = "dora_pyrealsense.main:main" - -[build-system] -requires = ["poetry-core>=1.8.0"] -build-backend = "poetry.core.masonry.api" diff --git a/node-hub/dora-qwenvl/pyproject.toml b/node-hub/dora-qwenvl/pyproject.toml index 71adba7d..9b95ac23 100644 --- a/node-hub/dora-qwenvl/pyproject.toml +++ b/node-hub/dora-qwenvl/pyproject.toml @@ -31,7 +31,3 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"] [project.scripts] dora-qwenvl = "dora_qwenvl.main:main" - -[build-system] -requires = ["poetry-core>=1.8.0"] -build-backend = "poetry.core.masonry.api" diff --git a/node-hub/dora-rdt-1b/pyproject.toml b/node-hub/dora-rdt-1b/pyproject.toml index 56d21b6b..73c20189 100644 --- a/node-hub/dora-rdt-1b/pyproject.toml +++ b/node-hub/dora-rdt-1b/pyproject.toml @@ -40,9 +40,6 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"] [project.scripts] dora-rdt-1b = "dora_rdt_1b.main:main" -[build-system] -requires = ["poetry-core>=1.8.0"] -build-backend = "poetry.core.masonry.api" [tool.ruff] exclude = ["dora_rdt_1b/RoboticsDiffusionTransformer"] diff --git a/node-hub/dora-ugv/pyproject.toml b/node-hub/dora-ugv/pyproject.toml index 00f4fd7c..25fb99f1 100644 --- a/node-hub/dora-ugv/pyproject.toml +++ b/node-hub/dora-ugv/pyproject.toml @@ -15,7 +15,3 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"] [project.scripts] dora-ugv = "dora_ugv.main:main" - -[build-system] -requires = ["poetry-core>=1.8.0"] -build-backend = "poetry.core.masonry.api" diff --git a/node-hub/dora-vad/pyproject.toml b/node-hub/dora-vad/pyproject.toml index 993b7e8b..17fa4da4 100644 --- a/node-hub/dora-vad/pyproject.toml +++ b/node-hub/dora-vad/pyproject.toml @@ -15,7 +15,3 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"] [project.scripts] dora-vad = "dora_vad.main:main" - -[build-system] -requires = ["poetry-core>=1.8.0"] -build-backend = "poetry.core.masonry.api" diff --git a/node-hub/dora-yolo/pyproject.toml b/node-hub/dora-yolo/pyproject.toml index bf55a1b4..84e2022e 100644 --- a/node-hub/dora-yolo/pyproject.toml +++ b/node-hub/dora-yolo/pyproject.toml @@ -17,7 +17,3 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"] [project.scripts] dora-yolo = "dora_yolo.main:main" - -[build-system] -requires = ["poetry-core>=1.8.0"] -build-backend = "poetry.core.masonry.api" diff --git a/node-hub/llama-factory-recorder/pyproject.toml b/node-hub/llama-factory-recorder/pyproject.toml index 11fb5f06..6fc48834 100644 --- a/node-hub/llama-factory-recorder/pyproject.toml +++ b/node-hub/llama-factory-recorder/pyproject.toml @@ -21,7 +21,3 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"] [project.scripts] llama-factory-recorder = "llama_factory_recorder.main:main" - -[build-system] -requires = ["poetry-core>=1.8.0"] -build-backend = "poetry.core.masonry.api" diff --git a/node-hub/opencv-plot/pyproject.toml b/node-hub/opencv-plot/pyproject.toml index 13545fbe..7d56b925 100644 --- a/node-hub/opencv-plot/pyproject.toml +++ b/node-hub/opencv-plot/pyproject.toml @@ -17,7 +17,3 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"] [project.scripts] opencv-plot = "opencv_plot.main:main" - -[build-system] -requires = ["poetry-core>=1.8.0"] -build-backend = "poetry.core.masonry.api" diff --git a/node-hub/opencv-video-capture/pyproject.toml b/node-hub/opencv-video-capture/pyproject.toml index d79dc084..fe294882 100644 --- a/node-hub/opencv-video-capture/pyproject.toml +++ b/node-hub/opencv-video-capture/pyproject.toml @@ -17,7 +17,3 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"] [project.scripts] opencv-video-capture = "opencv_video_capture.main:main" - -[build-system] -requires = ["poetry-core>=1.8.0"] -build-backend = "poetry.core.masonry.api" diff --git a/node-hub/pyarrow-assert/pyproject.toml b/node-hub/pyarrow-assert/pyproject.toml index 964a4e38..c6914607 100644 --- a/node-hub/pyarrow-assert/pyproject.toml +++ b/node-hub/pyarrow-assert/pyproject.toml @@ -18,7 +18,3 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"] [project.scripts] pyarrow-assert = "pyarrow_assert.main:main" - -[build-system] -requires = ["poetry-core>=1.8.0"] -build-backend = "poetry.core.masonry.api" diff --git a/node-hub/pyarrow-sender/pyproject.toml b/node-hub/pyarrow-sender/pyproject.toml index 1f8efd43..0e97033e 100644 --- a/node-hub/pyarrow-sender/pyproject.toml +++ b/node-hub/pyarrow-sender/pyproject.toml @@ -19,7 +19,3 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"] [project.scripts] pyarrow-sender = "pyarrow_sender.main:main" - -[build-system] -requires = ["poetry-core>=1.8.0"] -build-backend = "poetry.core.masonry.api" diff --git a/node-hub/terminal-input/pyproject.toml b/node-hub/terminal-input/pyproject.toml index 87cee72d..60a3a3a4 100644 --- a/node-hub/terminal-input/pyproject.toml +++ b/node-hub/terminal-input/pyproject.toml @@ -19,7 +19,3 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"] [project.scripts] terminal-input = "terminal_input.main:main" - -[build-system] -requires = ["poetry-core>=1.8.0"] -build-backend = "poetry.core.masonry.api"