Skip to content

pyperformance networkx* benchmarks fail with func.__argmap__ missing #561

@timfel

Description

@timfel

Seen in https://github.com/maurycy/pyperformance/actions/runs/18823779289/job/53703296682 run in the context of python/pyperformance#434

[54/94] networkx...
# /home/runner/work/pyperformance/pyperformance/venv/graalpy3.12-ef544f031b55-compat-e4c535002f27/bin/python -u /home/runner/work/pyperformance/pyperformance/pyperformance/data-files/benchmarks/bm_networkx/run_benchmark.py shortest_path --debug-single-value --output /tmp/tmpyt_fuvx5 --inherit-environ PYPERFORMANCE_RUNID
Traceback (most recent call last):
  File "/home/runner/work/pyperformance/pyperformance/pyperformance/data-files/benchmarks/bm_networkx/run_benchmark.py", line 24, in <module>
    graph = networkx.read_adjlist(DATA_FILE)
  File "/home/runner/work/pyperformance/pyperformance/venv/graalpy3.12-ef544f031b55-compat-e4c535002f27/lib/python3.12/site-packages/networkx/utils/decorators.py", line 788, in func
    return argmap._lazy_compile(__wrapper)(*args, **kwargs)
  File "/home/runner/work/pyperformance/pyperformance/venv/graalpy3.12-ef544f031b55-compat-e4c535002f27/lib/python3.12/site-packages/networkx/utils/decorators.py", line 760, in _lazy_compile
    real_func = func.__argmap__.compile(func.__wrapped__)
AttributeError: 'NoneType' object has no attribute '__argmap__'
Command failed with exit code 1
ERROR: Benchmark networkx failed: Benchmark died

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions