Skip to content

Cpp python test failed #6400

Closed
Closed

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.

Activity

  1. added
    type/bugThe PR fixed a bug or issue reported a bug
    on Feb 23, 2020
  2. added a commit that references this issue on Feb 24, 2020
  3. added a commit that references this issue on Mar 10, 2020
  4. added a commit that references this issue on Mar 13, 2020
  5. added a commit that references this issue on Mar 21, 2020
  6. added a commit that references this issue on Apr 6, 2020
  7. added a commit that references this issue on Apr 13, 2020
  8. added a commit that references this issue on Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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