Skip to content

tests/benchmarks/test_e2e.py requires sudo #4199

Description

@sehoffmann

Zarr version

commit cb93ef8

Numcodecs version

Python Version

Operating System

Linux

Installation

uv

Description

tests/benchmarks/test_e2e.py asks for sudo permissions. This blocks the test suite for me and I have to exclude the test:

=============================================================== test session starts ===============================================================
platform linux -- Python 3.12.11, pytest-9.1.1, pluggy-1.6.0
codspeed: 5.0.3 (disabled, mode: walltime, callgraph: enabled, timer_resolution: 1.0ns)
hypothesis profile 'default' -> deadline=None, max_examples=300, verbosity=Verbosity.verbose, suppress_health_check=(HealthCheck.filter_too_much, HealthCheck.too_slow)
benchmark: 5.2.3 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: zarr-python
configfile: pyproject.toml
plugins: asyncio-1.4.0, cov-7.1.0, codspeed-5.0.3, xdist-3.8.0, hypothesis-6.155.7, benchmark-5.2.3, accept-0.3.0, zarr-0.1.dev2973+g80e00ae00
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=function, asyncio_default_test_loop_scope=function
collected 128 items                                                                                                                               

tests/benchmarks/test_e2e.py 
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

[sudo] password for  ...

Steps to reproduce

uv run pytest

or

uv run pytest tests/benchmarks/test_e2e.py

Additional output

No response

Metadata

Metadata

Assignees

Labels

bugPotential issues with the zarr-python library

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions