nifi icon indicating copy to clipboard operation
nifi copied to clipboard

NIFI-13824 Install processor dependencies in one go

Open fgerlits opened this issue 1 year ago • 1 comments

Summary

NIFI-13824

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

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 main branch
  • [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 LICENSE and NOTICE files

Documentation

  • [ ] Documentation formatting appears as expected in rendered files

fgerlits avatar Oct 21 '24 15:10 fgerlits

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

fgerlits avatar Oct 22 '24 11:10 fgerlits