nifi
nifi copied to clipboard
NIFI-13824 Install processor dependencies in one go
Summary
If a Python processor defines dependencies both inline and in a requirements.txt file, then we need to install the two groups of dependencies in a single pip install command, otherwise pip is not able to resolve the web of dependencies correctly.
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking
- [x] Apache NiFi Jira issue created
Pull Request Tracking
- [x] Pull Request title starts with Apache NiFi Jira issue number, such as
NIFI-00000 - [x] Pull Request commit message starts with Apache NiFi Jira issue number, as such
NIFI-00000
Pull Request Formatting
- [x] Pull Request based on current revision of the
mainbranch - [x] Pull Request refers to a feature branch with one commit containing changes
Verification
Please indicate the verification steps performed prior to pull request creation.
Build
- [ ] Build completed using
./mvnw clean install -P contrib-check- [ ] JDK 21
Licensing
- [ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
- [ ] New dependencies are documented in applicable
LICENSEandNOTICEfiles
Documentation
- [ ] Documentation formatting appears as expected in rendered files
the new Python unit test is failing on both macOS and Ubuntu Linux
This was because we need to set PYTHON_CMD for some of the Python code to work; fixed in 3889d12beb6162172ca5ee70c7ec9a47a9450210