Skip to content

Cpp python test failed #6400

Closed
Closed
@tuteng

Description

@tuteng

Describe the bug
Python test failed:

You should consider upgrading via the 'pip install --upgrade pip' command.
---- Running Python unit tests
/tmp /pulsar/pulsar-client-cpp/python /pulsar/pulsar-client-cpp
Traceback (most recent call last):
  File "pulsar_test.py", line 26, in <module>
    from pulsar import Client, MessageId, \
  File "/usr/local/lib/python2.7/dist-packages/pulsar/__init__.py", line 109, in <module>
    from pulsar import schema
  File "/usr/local/lib/python2.7/dist-packages/pulsar/schema/__init__.py", line 21, in <module>
    from .definition import *
  File "/usr/local/lib/python2.7/dist-packages/pulsar/schema/definition.py", line 21, in <module>
    from enum import Enum, EnumMeta
ImportError: No module named enum
##[error]Process completed with exit code 1.

To Reproduce
https://github.com/apache/pulsar/pull/6392/checks?check_run_id=461910053

Expected behavior
Test pass

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • Github action

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugThe PR fixed a bug or issue reported a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions