Skip to content

fix: Update nipyapi to 0.22.0 to work with custom nifi versions #1205

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions nifi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,13 @@ COPY --chown=${STACKABLE_USER_UID}:0 nifi/stackable/bin /stackable/bin
COPY --chown=${STACKABLE_USER_UID}:0 nifi/licenses /licenses
COPY --chown=${STACKABLE_USER_UID}:0 nifi/python /stackable/python

# The nipyapi is required until NiFi 2.0.x for the ReportingTaskJob
# This can be removed once the 1.x.x line is removed
# Note: Keep this in sync with the version installed in testing-tools! (See the requirements.txt file)
# Find the latest version here: https://pypi.org/project/nipyapi/
# renovate: datasource=pypi packageName=nipyapi
ENV NIPYAPI_VERSION=0.22.0

RUN <<EOF
microdnf update

Expand All @@ -217,10 +224,8 @@ microdnf install \
microdnf clean all
rm -rf /var/cache/yum

# The nipyapi is required until NiFi 2.0.x for the ReportingTaskJob
# This can be removed once the 1.x.x line is removed
pip install --no-cache-dir \
nipyapi==0.19.1
nipyapi==${NIPYAPI_VERSION}

# For backwards compatibility we create a softlink in /bin where the jar used to be as long as we are root
# This can be removed once older versions / operators using this are no longer supported
Expand Down
7 changes: 6 additions & 1 deletion testing-tools/python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,17 @@ requests==2.32.3
charset-normalizer==3.3.2 #
hive-metastore-client==1.0.9
kafka-python3==3.0.0
nipyapi==0.20.0

# Used in the NiFi integration tests
nipyapi==0.22.0

pandas==2.2.3
trino==0.329.0

# gssapi/kerberos/pure-sasl are needed for using the python metastore client with kerberos.
gssapi==1.8.3
kerberos==1.3.1
pure-sasl==0.6.2

pytest==8.3.3 # Needed to execute Python unit-tests
#thrift==0.13.0 # Installed as deb package because it fails to build from source with pip. Needs to match the version from hive-metastore-client