Skip to content

perftest doesn't work with python 3.12  #2208

Description

@wrmay

Here is the error. It occurs when running "perftest --help"

Traceback (most recent call last):
File "/Users/rmay/Documents/projects/hazelcast-simulator/bin/../src/perftest_cli.py", line 6, in
from simulator.perftest import PerftestCreateCli, PerftestCloneCli, PerftestRunCli,
File "/Users/rmay/Documents/projects/hazelcast-simulator/src/simulator/perftest.py", line 19, in
import simulator.util
File "/Users/rmay/Documents/projects/hazelcast-simulator/src/simulator/util.py", line 11, in
import pkg_resources
File "/Users/rmay/Documents/projects/hazelcast-simulator/venv/lib/python3.12/site-packages/pkg_resources/init.py", line 2191, in
register_finder(pkgutil.ImpImporter, find_on_path)
^^^^^^^^^^^^^^^^^^^
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?

I haven't had time to dig for the root cause but it works with python 3.11.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions