Skip to content

Tests failing because of compatibility issues of custom versions and nipyapi #814

Open
@labrenbe

Description

@labrenbe

The iceberg and upgrade integration tests are failing:

running command: [sh -c kubectl exec -n $NAMESPACE test-nifi-0 -- sh -c "python /tmp/flow.py -e https://test-nifi-node-default-0.test-nifi-node-default-headless.$NAMESPACE.svc.cluster.local:8443 run template /tmp/generate-and-log-flowfiles.xml > /tmp/old_input"]

Traceback (most recent call last):
  File "/tmp/flow.py", line 208, in <module>
    main()
  File "/tmp/flow.py", line 197, in main
    schedule(pg_id, True)  # start
    ^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/flow.py", line 101, in schedule
    for controller in list_all_controllers(pg_id):
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/nipyapi/canvas.py", line 1128, in list_all_controllers
    if nipyapi.utils.check_version('1.2.0') >= 0:
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/nipyapi/utils.py", line 522, in check_version
    ver_b = version.parse(
            ^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/packaging/version.py", line 56, in parse
    return Version(version)
          ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/packaging/version.py", line 202, in __init__
    raise InvalidVersion(f"Invalid version: {version!r}")
packaging.version.InvalidVersion: Invalid version: '1.27.0-stackable0.0.0-dev'
command terminated with exit code 1

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Refinement: In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions