This is an automated email from the ASF dual-hosted git repository. martinzink pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git
commit d3aa81c971b21c662f4bf5b8068829c3fd3ce15b Author: Gabor Gyimesi <[email protected]> AuthorDate: Mon Sep 22 16:53:44 2025 +0200 MINIFICPP-2633 Improve logging for python initialization when no dependencies are installed Closes #2032 Signed-off-by: Martin Zink <[email protected]> --- .../nifi_python_processors/utils/dependency_installer.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/extensions/python/pythonprocessors/nifi_python_processors/utils/dependency_installer.py b/extensions/python/pythonprocessors/nifi_python_processors/utils/dependency_installer.py index d0b2e5cdc..2109539a4 100644 --- a/extensions/python/pythonprocessors/nifi_python_processors/utils/dependency_installer.py +++ b/extensions/python/pythonprocessors/nifi_python_processors/utils/dependency_installer.py @@ -45,7 +45,7 @@ if __name__ == '__main__': if len(sys.argv) < 2: sys.exit(1) - print("Installing dependencies for MiNiFi python processors...") + print("Checking dependencies for MiNiFi python processors...") # --no-cache-dir is used to be in line with NiFi's dependency install behavior command = [sys.executable, "-m", "pip", "install", "--no-cache-dir", "--progress-bar", "off"] @@ -69,3 +69,5 @@ if __name__ == '__main__': except subprocess.CalledProcessError as e: print("Error occurred while installing dependencies: {}".format(e)) sys.exit(1) + else: + print("No dependencies were found for MiNiFi python processors. No python packages were installed.")
