Skip to content

[BUG] flytekit 1.16.6 and flyteidl 1.16.1 are incompatible during registration #6699

@rdeaton

Description

@rdeaton

Flyte & Flytekit version

flytekit 1.16.6
flyteidl 1.16.1

Describe the bug

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/fn/lib/venv/lib/python3.12/site-packages/flytekit/__init__.py", line 119, in <module>
    from flytekit.core.array_node_map_task import map_task
  File "/fn/lib/venv/lib/python3.12/site-packages/flytekit/core/array_node_map_task.py", line 14, in <module>
    from flytekit.core.array_node import array_node
  File "/fn/lib/venv/lib/python3.12/site-packages/flytekit/core/array_node.py", line 12, in <module>
    from flytekit.core.launch_plan import LaunchPlan, ReferenceLaunchPlan
  File "/fn/lib/venv/lib/python3.12/site-packages/flytekit/core/launch_plan.py", line 17, in <module>
    from flytekit.models.concurrency import ConcurrencyPolicy
  File "/fn/lib/venv/lib/python3.12/site-packages/flytekit/models/concurrency.py", line 6, in <module>
    class ConcurrencyLimitBehavior(object):
  File "/fn/lib/venv/lib/python3.12/site-packages/flytekit/models/concurrency.py", line 7, in ConcurrencyLimitBehavior
    SKIP = _launch_plan_idl.CONCURRENCY_LIMIT_BEHAVIOR_SKIP
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'flyteidl.admin.launch_plan_pb2' has no attribute 'CONCURRENCY_LIMIT_BEHAVIOR_SKIP'

Expected behavior

...

Additional context to reproduce

No response

Screenshots

No response

Are you sure this issue hasn't been raised already?

  • Yes

Have you read the Code of Conduct?

  • Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinguntriagedThis issues has not yet been looked at by the Maintainers

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions