Open sweep-ai[bot] opened 9 months ago
sweep.yaml
✓
Check sweep.yaml with contents:
Ran GitHub Actions for c9f9ba8636067bd42d32540d12615180fafe1d81:
The command:
Run snok/install-poetry@v1
yielded the following error:
`##[error]The operation was canceled.
[36;1mpoetry install[0m shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} env: POETRY_VERSION: 1.6.1 pythonLocation: /opt/hostedtoolcache/Python/3.9.18/x64 PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.9.18/x64/lib/pkgconfig Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.18/x64 Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.18/x64 Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.18/x64 LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.9.18/x64/lib VENV: .venv/bin/activate
Poetry could not find a pyproject.toml file in /home/runner/work/dspy/dspy or its parents
Here are the logs:
##[group]Run $GITHUB_ACTION_PATH/main.sh
[36;1m$GITHUB_ACTION_PATH/main.sh[0m
shell: C:\Program Files\Git\bin\bash.EXE --noprofile --norc -e -o pipefail {0}
env:
POETRY_VERSION: 1.6.1
pythonLocation: C:\hostedtoolcache\windows\Python\3.9.13\x64
PKG_CONFIG_PATH: C:\hostedtoolcache\windows\Python\3.9.13\x64/lib/pkgconfig
Python_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.9.13\x64
Python2_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.9.13\x64
Python3_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.9.13\x64
VERSION: 1.6.1
VIRTUALENVS_CREATE: true
VIRTUALENVS_IN_PROJECT: false
VIRTUALENVS_PATH: {cache-dir}/virtualenvs
INSTALLER_PARALLEL: true
INSTALLATION_ARGUMENTS:
##[endgroup]
[33mSetting Poetry installation path as /c/Users/runneradmin/.local[0m
[33mInstalling Poetry 👷[0m
Done.
PR Feedback (click)
I created this PR to address this rule:
"Maintain modularity and declarative style as per DSPy's design philosophy."
Description
This PR addresses the issue of the 'branch' attribute in sweep.yaml being changed from a single string to a list of strings. This introduced ambiguity and complexity, which goes against DSPy's design philosophy of maintaining modularity and declarative style.
The 'branch' attribute has been reverted back to a single string indicating the branch that Sweep will develop from and make pull requests to. Specifically, the 'branch' attribute has been set to 'main'.
Summary of Changes