Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client failing to initialize in Python 3.12 #263

Closed
ricardoV94 opened this issue Jul 15, 2024 · 2 comments
Closed

Client failing to initialize in Python 3.12 #263

ricardoV94 opened this issue Jul 15, 2024 · 2 comments

Comments

@ricardoV94
Copy link

ricardoV94 commented Jul 15, 2024

py.test-benchmark
Traceback (most recent call last):
  File "/home/.../bin/py.test-benchmark", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/.../lib/python3.12/site-packages/pytest_benchmark/cli.py", line 143, in main
    hook = HookDispatch(mode=args.importmode, root=pathlib.Path('.'))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/.../lib/python3.12/site-packages/pytest_benchmark/cli.py", line 125, in __init__
    self.conftest = pathlib.import_path(conftest_file, **kwargs)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: import_path() missing 1 required keyword-only argument: 'consider_namespace_packages'
@callegar
Copy link

callegar commented Sep 8, 2024

There is mention about support for python 3.12 in the most recent commits, but not a tagged version with them. Is it to be expected?

@cryptix
Copy link

cryptix commented Oct 16, 2024

I'm seeing this on 3.11.9, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants