Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Commands fail if --manifest is a relative path.

Offen
#125 2 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@ericsnowcurrently arbeitet bereits daran.

Seit 20.1.2022.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

$ # python3 -m pyperformance list --manifest pyperformance/data-files/benchmarks/MANIFEST
$ python3 -m pyperformance list --manifest ./pyperformance/data-files/benchmarks/MANIFEST
switching to a venv.
...

Traceback (most recent call last):
  File "<py-install>/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "<py-install>/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "<pyperformance-root>/pyperformance/__main__.py", line 2, in <module>
    pyperformance.cli.main()
  File "<pyperformance-root>/pyperformance/cli.py", line 308, in main
    _main()
  File "<pyperformance-root>/pyperformance/cli.py", line 294, in _main
    benchmarks = _benchmarks_from_options(options)
  File "<pyperformance-root>/pyperformance/cli.py", line 224, in _benchmarks_from_options
    manifest = _manifest_from_options(options)
  File "<pyperformance-root>/pyperformance/cli.py", line 218, in _manifest_from_options
    return _manifest.load_manifest(options.manifest)
  File "<pyperformance-root>/pyperformance/_manifest.py", line 28, in load_manifest
    return BenchmarksManifest._from_sections(sections, resolve, filename)
  File "<pyperformance-root>/pyperformance/_manifest.py", line 69, in _from_sections
    self._add_sections(sections, resolve)
  File "<pyperformance-root>/pyperformance/_manifest.py", line 113, in _add_sections
    for filename, section, data in sections:
  File "<pyperformance-root>/pyperformance/_manifest.py", line 279, in _parse_manifest_file
    filename = _utils.resolve_file(filename, relroot)
  File "<pyperformance-root>/pyperformance/_utils.py", line 64, in resolve_file
    raise NotImplementedError(relroot)
NotImplementedError: ./pyperformance/data-files/benchmarks
Vorherrschende Sprache
Python
Sterne
1k
Forks
203
Ø Merge
1 Std. 20 Min.
Gemergte PRs (30 T.)
2

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus python/pyperformance

Alle Issues in python/pyperformance

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.