Ferenc Gerlits created NIFI-13824:
-------------------------------------
Summary: Install Python processor dependencies in one go
Key: NIFI-13824
URL: https://issues.apache.org/jira/browse/NIFI-13824
Project: Apache NiFi
Issue Type: Bug
Reporter: Ferenc Gerlits
Assignee: Ferenc Gerlits
Dependencies for Python processors are defined in two places: the
{{requirements.txt}} file in the package directory and the
{{ProcessorDetails.dependencies}} field in the processor class. Currently,
NiFi first installs the dependencies defined in the former, and then separately
those defined in the latter.
This is a problem, because a dependency in the second batch may depend on e.g.,
{{somepackage<2.0}} and if the first batch has already installed version
{{2.3}} of {{somepackage}}, then the installation will fail.
In almost all cases, {{pip}} can find dependency versions which satisfy both
sets of dependencies, but only if they are all listed in a single {{pip
install}} command. So we need to merge the two sets dependencies and install
them in one go.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)