logic-star-ai / swt-bench

Evaluation harness for SWT-Bench, a benchmark for evaluating LLM repository-level test-generation
https://arxiv.org/abs/2406.12952
MIT License
11 stars 2 forks source link

Installation failure due to incorrect pep 508 format. #3

Open zyone1991 opened 3 hours ago

zyone1991 commented 3 hours ago

Describe the bug

pip install fails with the following error:

× Getting requirements to build editable did not run successfully. │ exit code: 1 ╰─> [50 lines of output] configuration error: project.optional-dependencies.figures[3] must be pep508 DESCRIPTION: Project dependency specification according to PEP 508 GIVEN VALUE: "git+https://github.com/nielstron/venny4py.git" OFFENDING RULE: 'format' DEFINITION: { "$id": "#/definitions/dependency", "title": "Dependency", "type": "string", "format": "pep508" }

This error is occurring because the package specification in your pyproject.toml file doesn't follow PEP 508 format for dependency specifications.

To fix this, consider changing in pyproject.toml "git+https://github.com/nielstron/venny4py.git" -> "venny4py @ git+https://github.com/nielstron/venny4py.git"

Steps/Code to Reproduce

pip install -e .

Expected Results

install successfully

Actual Results

installation failed

System Information

No response

nielstron commented 3 hours ago

Thanks for reporting this issue! I'll fix it asap. Meanwhile you may remove the package from the requirements, and proceed. The package is only needed to reproduce figures from the paper.