Skip to content

Configure Sweep - #27

Closed
sweep-ai-deprecated[bot] wants to merge 25 commits into
mainfrom
sweep/add-sweep-config
Closed

sweep-ai-deprecated[bot] wants to merge 25 commits into
mainfrom
sweep/add-sweep-config

Conversation

@sweep-ai-deprecated

Copy link
Copy Markdown

🎉 Thank you for installing Sweep! We're thrilled to announce the latest update for Sweep, your trusty AI junior developer on GitHub. This PR creates a sweep.yaml config file, allowing you to personalize Sweep's performance according to your project requirements.

What's new?

  • Sweep is now configurable.
  • To configure Sweep, simply edit the sweep.yaml file in the root of your repository.
  • If you need help, check out the Sweep Default Config or Join Our Discord for help.

If you would like me to stop creating this PR, go to issues and say "Sweep: create an empty sweep.yaml file".
Thank you for using Sweep! 🧹

@sweep-ai-deprecated

Copy link
Copy Markdown
Author

GitHub actions yielded the following error.

The relevant lines from the logs corresponding to the error are:

##[group]Run pip install -r requirements.txt
�[36;1mpip install -r requirements.txt�[0m
shell: /usr/bin/bash -e {0}
env:
OPENAI_API_KEY: ***
ANTHROPIC_API_KEY: ***
AZURE_API_BASE: ***
AZURE_API_VERSION: ***
AZURE_API_KEY: ***
REPLICATE_API_TOKEN: ***
COHERE_API_KEY: ***
POSTHOG_API_KEY: ***
POSTHOG_API_URL: ***
SLACK_API_TOKEN: ***
SLACK_API_SECRET: ***
SLACK_API_CHANNEL: ***
SENTRY_API_URL: ***
SENTRY_API_TRACE_RATE: ***
pythonLocation: /opt/hostedtoolcache/Python/3.8.17/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.8.17/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.17/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.17/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.17/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.8.17/x64/lib
##[endgroup]

The command that failed is pip install -r requirements.txt.

There are a lot of errors. This is likely a larger issue with the PR and not a small linting/type-checking issue.

This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files.

@sweep-ai-deprecated

Copy link
Copy Markdown
Author

GitHub actions yielded the following error.

The command that failed is pip install -r requirements.txt. Here are the relevant lines from the logs:

Downloading openai-0.27.0-py3-none-any.whl (70 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.1/70.1 kB 1.5 MB/s eta 0:00:00
ERROR: Could not find a version that satisfies the requirement cohere==0.1.2 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.10, 0.0.11, 0.0.12, 0.0.13, ***.0, ***.1, ***.2, 1.***, 1.2.0, 1.2.1, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.3.6, 1.3.7, 1.3.8, 1.3.9, 1.3.10, 2.0.0, 2.***, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.3.0, 2.4.0, 2.4.1, 2.4.2, 2.5.0, 2.6.0, 2.6.1, 2.7.0, 2.8.0, 2.9.0, 2.9.1, 3.0.0, 3.0.1, 3.1.1, 3.1.2, 3.1.3, 3.1.4, 3.1.5, 3.1.6, 3.1.8, 3.1.9, 3.2.0, 3.2.1, 3.2.2, 3.2.3, 3.2.4, 3.2.5, 3.2.6, 3.3.0, 3.3.1, 3.3.2, 3.3.3, 3.3.4, 3.4.0, 3.5.0, 3.6.0, 3.6.1, 3.6.2, 3.7.0, 3.8.0, 3.9.0, 3.9.1, 3.10.0, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.5, 4.0.6, 4.***, 4.1.1, 4.1.2, 4.1.3, 4.1.4, 4.1.5, 4.1.6, 4.1.7, 4.2.0, 4.2.1, 4.3.0, 4.3.1, 4.4.0, 4.4.1, 4.4.2, 4.5.0, 4.5.1, 4.6.0, 4.6.1, 4.7.0, 4.8.0, 4.9.0, 4.9.1, 4.10.0, 4.1***, 4.11.1, 4.11.2, 4.12.0, 4.12.1, 4.13.0, 4.13.1, 4.14.0, 4.15.0, 4.16.0, 4.17.0, 4.18.0)
ERROR: No matching distribution found for cohere==0.1.2

Please note that some parts of the log have been replaced with *** for privacy reasons.

This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files.

1 similar comment
@sweep-ai-deprecated

Copy link
Copy Markdown
Author

GitHub actions yielded the following error.

The command that failed is pip install -r requirements.txt. Here are the relevant lines from the logs:

Downloading openai-0.27.0-py3-none-any.whl (70 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.1/70.1 kB 1.5 MB/s eta 0:00:00
ERROR: Could not find a version that satisfies the requirement cohere==0.1.2 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.10, 0.0.11, 0.0.12, 0.0.13, ***.0, ***.1, ***.2, 1.***, 1.2.0, 1.2.1, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.3.6, 1.3.7, 1.3.8, 1.3.9, 1.3.10, 2.0.0, 2.***, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.3.0, 2.4.0, 2.4.1, 2.4.2, 2.5.0, 2.6.0, 2.6.1, 2.7.0, 2.8.0, 2.9.0, 2.9.1, 3.0.0, 3.0.1, 3.1.1, 3.1.2, 3.1.3, 3.1.4, 3.1.5, 3.1.6, 3.1.8, 3.1.9, 3.2.0, 3.2.1, 3.2.2, 3.2.3, 3.2.4, 3.2.5, 3.2.6, 3.3.0, 3.3.1, 3.3.2, 3.3.3, 3.3.4, 3.4.0, 3.5.0, 3.6.0, 3.6.1, 3.6.2, 3.7.0, 3.8.0, 3.9.0, 3.9.1, 3.10.0, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.5, 4.0.6, 4.***, 4.1.1, 4.1.2, 4.1.3, 4.1.4, 4.1.5, 4.1.6, 4.1.7, 4.2.0, 4.2.1, 4.3.0, 4.3.1, 4.4.0, 4.4.1, 4.4.2, 4.5.0, 4.5.1, 4.6.0, 4.6.1, 4.7.0, 4.8.0, 4.9.0, 4.9.1, 4.10.0, 4.1***, 4.11.1, 4.11.2, 4.12.0, 4.12.1, 4.13.0, 4.13.1, 4.14.0, 4.15.0, 4.16.0, 4.17.0, 4.18.0)
ERROR: No matching distribution found for cohere==0.1.2

Please note that some parts of the log have been replaced with *** for privacy reasons.

This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files.

@sweep-ai-deprecated

Copy link
Copy Markdown
Author

GitHub actions yielded the following error.

The command that failed is pip install -r requirements.txt. Here are the relevant lines from the logs:

Downloading openai-0.27.0-py3-none-any.whl (70 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.1/70.1 kB 1.4 MB/s eta 0:00:00
Obtaining dependency information for cohere==4.18.0 from https://files.pythonhosted.org/packages/24/cf/bc3b4da1af86f41c835e9e3aaa406cad97e10a228dd2e8213dfae60e10e2/cohere-4.18.0-py3-none-any.whl.metadata
Downloading cohere-4.18.0-py3-none-any.whl.metadata (5.2 kB)
Downloading func_timeout-4.3.5.tar.gz (44 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.3/44.3 kB 8.2 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
ERROR: Could not find a version that satisfies the requirement anthropic==***.0 (from versions: 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9, 0.2.10, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7)
ERROR: No matching distribution found for anthropic==***.0

Please note that I have replaced sensitive information with *** for security purposes.

There are a lot of errors. This is likely a larger issue with the PR and not a small linting/type-checking issue.

This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files.

@sweep-ai-deprecated

Copy link
Copy Markdown
Author

GitHub actions yielded the following error.

The command that failed is pip install -r requirements.txt. Here are the relevant lines from the logs:

Downloading openai-0.27.0-py3-none-any.whl (70 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.1/70.1 kB 2.1 MB/s eta 0:00:00
Obtaining dependency information for cohere==4.18.0 from https://files.pythonhosted.org/packages/24/cf/bc3b4da1af86f41c835e9e3aaa406cad97e10a228dd2e8213dfae60e10e2/cohere-4.18.0-py3-none-any.whl.metadata
Downloading cohere-4.18.0-py3-none-any.whl.metadata (5.2 kB)
Downloading func_timeout-4.3.5.tar.gz (44 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.3/44.3 kB 5.8 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
ERROR: Could not find a version that satisfies the requirement anthropic==***.0 (from versions: 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9, 0.2.10, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7)
ERROR: No matching distribution found for anthropic==***.0

Please note that I have replaced sensitive information with *** for security purposes.

There are a lot of errors. This is likely a larger issue with the PR and not a small linting/type-checking issue.

This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files.

@sweep-ai-deprecated

Copy link
Copy Markdown
Author

GitHub actions yielded the following error.

The relevant lines from the logs corresponding to the error are:

Downloading openai-0.27.0-py3-none-any.whl (70 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.1/70.1 kB 2.6 MB/s eta 0:00:00
Obtaining dependency information for cohere==4.18.0 from https://files.pythonhosted.org/packages/24/cf/bc3b4da1af86f41c835e9e3aaa406cad97e10a228dd2e8213dfae60e10e2/cohere-4.18.0-py3-none-any.whl.metadata
Downloading cohere-4.18.0-py3-none-any.whl.metadata (5.2 kB)
Downloading func_timeout-4.3.5.tar.gz (44 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.3/44.3 kB 9.4 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Obtaining dependency information for anthropic==0.3.7 from https://files.pythonhosted.org/packages/98/2a/90da0bacc44d628adc4ea61f8c46a5ae18fa984a57647749d94e1b45ff1d/anthropic-0.3.7-py3-none-any.whl.metadata
Downloading anthropic-0.3.7-py3-none-any.whl.metadata (10 kB)
ERROR: Could not find a version that satisfies the requirement replicate==0.4.1 (from versions: 0.0.1a1, 0.0.1a2, 0.0.1a3, 0.0.1a4, 0.0.1a5, 0.0.1a6, 0.0.1a7, 0.0.1a8, 0.0.1a9, 0.0.1a10, 0.0.1a11, 0.0.1a12, 0.0.1a13, 0.0.1a14, 0.0.1a15, 0.0.1a16, 0.4.0, 0.5.0, 0.5.1, 0.5.2, 0.6.0, 0.6.1, 0.7.0, 0.8.0, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.9.0, 0.10.0)
ERROR: No matching distribution found for replicate==0.4.1

The command that failed is pip install -r requirements.txt.

There are a lot of errors. This is likely a larger issue with the PR and not a small linting/type-checking issue.

This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files.

@sweep-ai-deprecated

Copy link
Copy Markdown
Author

GitHub actions yielded the following error.

The relevant lines from the logs corresponding to the error are:

Downloading openai-0.27.0-py3-none-any.whl (70 kB)
Downloading cohere-4.18.0-py3-none-any.whl.metadata (5.2 kB)
Downloading func_timeout-4.3.5.tar.gz (44 kB)
Downloading anthropic-0.3.7-py3-none-any.whl.metadata (10 kB)
Downloading replicate-0.10.0-py3-none-any.whl.metadata (18 kB)
Downloading pytest-6.2.5-py3-none-any.whl (280 kB)
Downloading python_dotenv-0.19.1-py2.py3-none-any.whl (17 kB)
Downloading requests-2.3***-py3-none-any.whl.metadata (4.6 kB)
Downloading tqdm-4.65.0-py3-none-any.whl (77 kB)
Downloading aiohttp-3.8.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.7 kB)
Downloading backoff-2.2.1-py3-none-any.whl (15 kB)
Downloading fastavro-1.7.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB)
Downloading importlib_metadata-6.8.0-py3-none-any.whl.metadata (5.1 kB)
Downloading urllib3-2.0.4-py3-none-any.whl.metadata (6.6 kB)
Downloading anyio-3.7.1-py3-none-any.whl.metadata (4.7 kB)
Downloading distro-1.8.0-py3-none-any.whl (20 kB)
Downloading httpx-0.24.1-py3-none-any.whl.metadata (7.4 kB)
Downloading pydantic-1.10.12-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (149 kB)
Downloading tokenizers-0.13.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.8 MB)
Downloading typing_extensions-4.7.1-py3-none-any.whl.metadata (3.1 kB)
Downloading packaging-23.1-py3-none-any.whl (48 kB)
Downloading attrs-23.***-py3-none-any.whl (61 kB)
Downloading iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Downloading pluggy-1.2.0-py3-none-any.whl.metadata (4.4 kB)
Downloading py-1.1***-py2.py3-none-any.whl (98 kB)
Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
Downloading numpy-1.24.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.6 kB)
Downloading pandas-2.0.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (18 kB)
Downloading pandas_stubs-2.0.2.230605-py3-none-any.whl.metadata (9.7 kB)
Downloading openpyxl-3.1.2-py2.py3-none-any.whl (249 kB)
Downloading charset_normalizer-3.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (31 kB)
Downloading multidict-6.0.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (121 kB)
Downloading async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
Downloading yarl-1.9.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (266 kB)
Downloading frozenlist-1.4.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.2 kB)
Downloading aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Downloading idna-3.4-py3-none-any.whl (61 kB)
Downloading sniffio-1.3.0-py3-none-any.whl (10 kB)
Downloading exceptiongroup-1.1.2-py3-none-any.whl.metadata (6.1 kB)
Downloading certifi-2023.7.22-py3-none-any.whl.metadata (2.2 kB)
Downloading httpcore-0.17.3-py3-none-any.whl.metadata (18 kB)
Downloading zipp-3.16.2-py3-none-any.whl.metadata (3.7 kB)
Downloading et_xmlfile-1.***-py3-none-any.whl (4.7 kB)
Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Downloading pytz-2023.3-py2.py3-none-any.whl (502 kB)
Downloading tzdata-2023.3-py2.py3-none-any.whl (341 kB)
Downloading types_pytz-2023.3.0.0-py3-none-any.whl (4.7 kB)
Downloading h11-0.14.0-py3-none-any.whl (58 kB)
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)

The command that failed is pip install -r requirements.txt.

There are a lot of errors. This is likely a larger issue with the PR and not a small linting/type-checking issue.

This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files.

@sweep-ai-deprecated

Copy link
Copy Markdown
Author

GitHub actions yielded the following error.

The command that failed is pip install -r requirements.txt. Here are the relevant lines from the logs:

ERROR: Could not find a version that satisfies the requirement openai==new_version (from versions: 0.0.2, 0.***, 0.1.1, 0.1.2, 0.1.3, 0.2.0, 0.2.1, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.3.0, 0.4.0, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.7.0, 0.8.0, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.10.0, 0.10.1, 0.10.2, 0.10.3, 0.10.4, 0.10.5, 0.1***, 0.11.1, 0.11.2, 0.11.3, 0.11.4, 0.11.5, 0.11.6, 0.12.0, 0.13.0, 0.14.0, 0.15.0, 0.16.0, 0.18.0, 0.18.1, 0.19.0, 0.20.0, 0.22.0, 0.22.1, 0.23.0, 0.23.1, 0.24.0, 0.25.0, 0.26.0, 0.26.1, 0.26.2, 0.26.3, 0.26.4, 0.26.5, 0.27.0, 0.27.1, 0.27.2, 0.27.3, 0.27.4, 0.27.5, 0.27.6, 0.27.7, 0.27.8)
ERROR: No matching distribution found for openai==new_version

Please note that the actual version numbers and the error message may vary.

This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files.

@sweep-ai-deprecated

Copy link
Copy Markdown
Author

GitHub actions yielded the following error.

The command that failed is pip install -r requirements.txt. Here are the relevant lines from the logs:

ERROR: Could not find a version that satisfies the requirement openai==new_version (from versions: 0.0.2, 0.***, 0.1.1, 0.1.2, 0.1.3, 0.2.0, 0.2.1, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.3.0, 0.4.0, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.7.0, 0.8.0, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.10.0, 0.10.1, 0.10.2, 0.10.3, 0.10.4, 0.10.5, 0.1***, 0.11.1, 0.11.2, 0.11.3, 0.11.4, 0.11.5, 0.11.6, 0.12.0, 0.13.0, 0.14.0, 0.15.0, 0.16.0, 0.18.0, 0.18.1, 0.19.0, 0.20.0, 0.22.0, 0.22.1, 0.23.0, 0.23.1, 0.24.0, 0.25.0, 0.26.0, 0.26.1, 0.26.2, 0.26.3, 0.26.4, 0.26.5, 0.27.0, 0.27.1, 0.27.2, 0.27.3, 0.27.4, 0.27.5, 0.27.6, 0.27.7, 0.27.8)
ERROR: No matching distribution found for openai==new_version

Please note that the version new_version is not available for the openai package.

This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files.

@sweep-ai-deprecated

Copy link
Copy Markdown
Author

GitHub actions yielded the following error.

The relevant lines from the logs corresponding to the error are:

Downloading openai-0.27.8-py3-none-any.whl.metadata (13 kB)
Downloading cohere-4.18.0-py3-none-any.whl.metadata (5.2 kB)
Downloading func_timeout-4.3.5.tar.gz (44 kB)
ERROR: Cannot install openai==0.27.8 and openai[datalib]==0.27.0 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested openai==0.27.8
openai[datalib] 0.27.0 depends on openai 0.27.0 (from https://files.pythonhosted.org/packages/2f/15/b29ed5ad2eed1f49b8b3e2067fbbbb63cfbfc496ca2a27b772bcf0907ad8/openai-0.27.0-py3-none-any.whl (from https://pypi.org/simple/openai/) (requires-python:>=3.7.1))
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

The command that failed is pip install -r requirements.txt.

This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files.

1 similar comment
@sweep-ai-deprecated

Copy link
Copy Markdown
Author

GitHub actions yielded the following error.

The relevant lines from the logs corresponding to the error are:

Downloading openai-0.27.8-py3-none-any.whl.metadata (13 kB)
Downloading cohere-4.18.0-py3-none-any.whl.metadata (5.2 kB)
Downloading func_timeout-4.3.5.tar.gz (44 kB)
ERROR: Cannot install openai==0.27.8 and openai[datalib]==0.27.0 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested openai==0.27.8
openai[datalib] 0.27.0 depends on openai 0.27.0 (from https://files.pythonhosted.org/packages/2f/15/b29ed5ad2eed1f49b8b3e2067fbbbb63cfbfc496ca2a27b772bcf0907ad8/openai-0.27.0-py3-none-any.whl (from https://pypi.org/simple/openai/) (requires-python:>=3.7.1))
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

The command that failed is pip install -r requirements.txt.

This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files.

@sweep-ai-deprecated

Copy link
Copy Markdown
Author

GitHub actions yielded the following error.

The relevant lines from the logs corresponding to the error are:

##[group]Run pip install -r requirements.txt
�[36;1mpip install -r requirements.txt�[0m
shell: /usr/bin/bash -e {0}
env:
OPENAI_API_KEY: ***
ANTHROPIC_API_KEY: ***
AZURE_API_BASE: ***
AZURE_API_VERSION: ***
AZURE_API_KEY: ***
REPLICATE_API_TOKEN: ***
COHERE_API_KEY: ***
POSTHOG_API_KEY: ***
POSTHOG_API_URL: ***
SLACK_API_TOKEN: ***
SLACK_API_SECRET: ***
SLACK_API_CHANNEL: ***
SENTRY_API_URL: ***
SENTRY_API_TRACE_RATE: ***
pythonLocation: /opt/hostedtoolcache/Python/3.8.17/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.8.17/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.17/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.17/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.17/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.8.17/x64/lib
##[endgroup]
Obtaining dependency information for openai==0.27.8 from https://files.pythonhosted.org/packages/67/78/7588a047e458cb8075a4089d721d7af5e143ff85a2388d4a28c530be0494/openai-0.27.8-py3-none-any.whl.metadata
Downloading openai-0.27.8-py3-none-any.whl.metadata (13 kB)
Obtaining dependency information for cohere==4.18.0 from https://files.pythonhosted.org/packages/24/cf/bc3b4da1af86f41c835e9e3aaa406cad97e10a228dd2e8213dfae60e10e2/cohere-4.18.0-py3-none-any.whl.metadata
Downloading cohere-4.18.0-py3-none-any.whl.metadata (5.2 kB)
Downloading func_timeout-4.3.5.tar.gz (44 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.3/44.3 kB 2.6 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Obtaining dependency information for anthropic==0.3.7 from https://files.pythonhosted.org/packages/98/2a/90da0bacc44d628adc4ea61f8c46a5ae18fa984a57647749d94e1b45ff1d/anthropic-0.3.7-py3-none-any.whl.metadata
Downloading anthropic-0.3.7-py3-none-any.whl.metadata (10 kB)
Obtaining dependency information for replicate==0.10.0 from https://files.pythonhosted.org/packages/5b/73/f94cbd9f8aeab60abf949d816d5da33504fd583e2d53468e708311e8035e/replicate-0.10.0-py3-none-any.whl.metadata
Downloading replicate-0.10.0-py3-none-any.whl.metadata (18 kB)
Downloading pytest-6.2.5-py3-none-any.whl (280 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 280.7/280.7 kB 7.9 MB/s eta 0:00:00
Downloading python_dotenv-0.19.1-py2.py3-none-any.whl (17 kB)
Downloading openai-0.27.0-py3-none-any.whl (70 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.1/70.1 kB 7.5 MB/s eta 0:00:00
Obtaining dependency information for requests>=2.20 from https://files.pythonhosted.org/packages/70/8e/0e2d847013cb52cd35b38c009bb167a1a26b2ce6cd6965bf26b47bc0bf44/requests-2.3***-py3-none-any.whl.metadata
Downloading requests-2.3***-py3-none-any.whl.metadata (4.6 kB)
Downloading tqdm-4.65.0-py3-none-any.whl (77 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.1/77.1 kB 7.6 MB/s eta 0:00:00
Obtaining dependency information for aiohttp from https://files.pythonhosted.org/packages/84/22/20c41a698eb5435ff7cd3bc6884542d2a40f3c91a221f713d77217facc39/aiohttp-3.8.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Downloading aiohttp-3.8.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.7 kB)
Downloading backoff-2.2.1-py3-none-any.whl (15 kB)
Downloading fastavro-1.7.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.7/2.7 MB 13.6 MB/s eta 0:00:00
Obtaining dependency information for importlib_metadata<7.0,>=6.0 from https://files.pythonhosted.org/packages/cc/37/db7ba97e676af155f5fcb1a35466f446eadc9104e25b83366e8088c9c926/importlib_metadata-6.8.0-py3-none-any.whl.metadata
Downloading importlib_metadata-6.8.0-py3-none-any.whl.metadata (5.1 kB)
Obtaining dependency information for urllib3<3,>=1.26 from https://files.pythonhosted.org/packages/9b/81/62fd61001fa4b9d0df6e31d47ff49cfa9de4af03adecf339c7bc30656b37/urllib3-2.0.4-py3-none-any.whl.metadata
Downloading urllib3-2.0.4-py3-none-any.whl.metadata (6.6 kB)
Obtaining dependency information for anyio<4,>=3.5.0 from https://files.pythonhosted.org/packages/19/24/44299477fe7dcc9cb58d0a57d5a7588d6af2ff403fdd2d47a246c91a3246/anyio-3.7.1-py3-none-any.whl.metadata
Downloading anyio-3.7.1-py3-none-any.whl.metadata (4.7 kB)
Downloading distro-1.8.0-py3-none-any.whl (20 kB)
Obtaining dependency information for httpx<1,>=0.23.0 from https://files.pythonhosted.org/packages/ec/91/e41f64f03d2a13aee7e8c819d82ee3aa7cdc484d18c0ae859742597d5aa0/httpx-0.24.1-py3-none-any.whl.metadata
Downloading httpx-0.24.1-py3-none-any.whl.metadata (7.4 kB)
Obtaining dependency information for pydantic<2.0.0,>=1.9.0 from https://files.pythonhosted.org/packages/5d/68/7a0c5f8b854d3fad9cd82a6312205025597481e46b4ec36f6dea4f1fb93b/pydantic-1.10.12-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Downloading pydantic-1.10.12-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (149 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 149.3/149.3 kB 22.9 MB/s eta 0:00:00
Downloading tokenizers-0.13.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.8/7.8 MB 32.7 MB/s eta 0:00:00
Obtaining dependency information for typing-extensions<5,>=4.1.1 from https://files.pythonhosted.org/packages/ec/6b/63cc3df74987c36fe26157ee12e09e8f9db4de771e0f3404263117e75b95/typing_extensions-4.7.1-py3-none-any.whl.metadata
Downloading typing_extensions-4.7.1-py3-none-any.whl.metadata (3.1 kB)
Downloading packaging-23.1-py3-none-any.whl (48 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 13.1 MB/s eta 0:00:00
Downloading attrs-23.***-py3-none-any.whl (61 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 16.4 MB/s eta 0:00:00
Downloading iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Obtaining dependency information for pluggy<2.0,>=0.12 from https://files.pythonhosted.org/packages/51/32/4a79112b8b87b21450b066e102d6608907f4c885ed7b04c3fdb085d4d6ae/pluggy-1.2.0-py3-none-any.whl.metadata
Downloading pluggy-1.2.0-py3-none-any.whl.metadata (4.4 kB)
Downloading py-1.1***-py2.py3-none-any.whl (98 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.7/98.7 kB 24.3 MB/s eta 0:00:00
Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
INFO: pip is looking at multiple versions of openai[datalib] to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install openai==0.27.8 and openai[datalib]==0.27.0 because these package versions have conflicting dependencies.

The conflict is caused by:
The user requested openai==0.27.8
openai[datalib] 0.27.0 depends on openai 0.27.0 (from https://files.pythonhosted.org/packages/2f/15/b29ed5ad2eed1f49b8b3e2067fbbbb63cfbfc496ca2a27b772bcf0907ad8/openai-0.27.0-py3-none-any.whl (from https://pypi.org/simple/openai/) (requires-python:>=3.7.1))

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

[notice] A new release of pip is available: 23.0.1 -> 23.2.1
[notice] To update, run: pip install --upgrade pip
##[error]Process completed with exit code 1.

The command that failed is pip install -r requirements.txt.

There are a lot of errors. This is likely a larger issue with the PR and not a small linting/type-checking issue.

This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files.

1 similar comment
@sweep-ai-deprecated

Copy link
Copy Markdown
Author

GitHub actions yielded the following error.

The relevant lines from the logs corresponding to the error are:

##[group]Run pip install -r requirements.txt
�[36;1mpip install -r requirements.txt�[0m
shell: /usr/bin/bash -e {0}
env:
OPENAI_API_KEY: ***
ANTHROPIC_API_KEY: ***
AZURE_API_BASE: ***
AZURE_API_VERSION: ***
AZURE_API_KEY: ***
REPLICATE_API_TOKEN: ***
COHERE_API_KEY: ***
POSTHOG_API_KEY: ***
POSTHOG_API_URL: ***
SLACK_API_TOKEN: ***
SLACK_API_SECRET: ***
SLACK_API_CHANNEL: ***
SENTRY_API_URL: ***
SENTRY_API_TRACE_RATE: ***
pythonLocation: /opt/hostedtoolcache/Python/3.8.17/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.8.17/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.17/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.17/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.17/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.8.17/x64/lib
##[endgroup]
Obtaining dependency information for openai==0.27.8 from https://files.pythonhosted.org/packages/67/78/7588a047e458cb8075a4089d721d7af5e143ff85a2388d4a28c530be0494/openai-0.27.8-py3-none-any.whl.metadata
Downloading openai-0.27.8-py3-none-any.whl.metadata (13 kB)
Obtaining dependency information for cohere==4.18.0 from https://files.pythonhosted.org/packages/24/cf/bc3b4da1af86f41c835e9e3aaa406cad97e10a228dd2e8213dfae60e10e2/cohere-4.18.0-py3-none-any.whl.metadata
Downloading cohere-4.18.0-py3-none-any.whl.metadata (5.2 kB)
Downloading func_timeout-4.3.5.tar.gz (44 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.3/44.3 kB 2.6 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Obtaining dependency information for anthropic==0.3.7 from https://files.pythonhosted.org/packages/98/2a/90da0bacc44d628adc4ea61f8c46a5ae18fa984a57647749d94e1b45ff1d/anthropic-0.3.7-py3-none-any.whl.metadata
Downloading anthropic-0.3.7-py3-none-any.whl.metadata (10 kB)
Obtaining dependency information for replicate==0.10.0 from https://files.pythonhosted.org/packages/5b/73/f94cbd9f8aeab60abf949d816d5da33504fd583e2d53468e708311e8035e/replicate-0.10.0-py3-none-any.whl.metadata
Downloading replicate-0.10.0-py3-none-any.whl.metadata (18 kB)
Downloading pytest-6.2.5-py3-none-any.whl (280 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 280.7/280.7 kB 7.9 MB/s eta 0:00:00
Downloading python_dotenv-0.19.1-py2.py3-none-any.whl (17 kB)
Downloading openai-0.27.0-py3-none-any.whl (70 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.1/70.1 kB 7.5 MB/s eta 0:00:00
Obtaining dependency information for requests>=2.20 from https://files.pythonhosted.org/packages/70/8e/0e2d847013cb52cd35b38c009bb167a1a26b2ce6cd6965bf26b47bc0bf44/requests-2.3***-py3-none-any.whl.metadata
Downloading requests-2.3***-py3-none-any.whl.metadata (4.6 kB)
Downloading tqdm-4.65.0-py3-none-any.whl (77 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.1/77.1 kB 7.6 MB/s eta 0:00:00
Obtaining dependency information for aiohttp from https://files.pythonhosted.org/packages/84/22/20c41a698eb5435ff7cd3bc6884542d2a40f3c91a221f713d77217facc39/aiohttp-3.8.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Downloading aiohttp-3.8.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.7 kB)
Downloading backoff-2.2.1-py3-none-any.whl (15 kB)
Downloading fastavro-1.7.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.7/2.7 MB 13.6 MB/s eta 0:00:00
Obtaining dependency information for importlib_metadata<7.0,>=6.0 from https://files.pythonhosted.org/packages/cc/37/db7ba97e676af155f5fcb1a35466f446eadc9104e25b83366e8088c9c926/importlib_metadata-6.8.0-py3-none-any.whl.metadata
Downloading importlib_metadata-6.8.0-py3-none-any.whl.metadata (5.1 kB)
Obtaining dependency information for urllib3<3,>=1.26 from https://files.pythonhosted.org/packages/9b/81/62fd61001fa4b9d0df6e31d47ff49cfa9de4af03adecf339c7bc30656b37/urllib3-2.0.4-py3-none-any.whl.metadata
Downloading urllib3-2.0.4-py3-none-any.whl.metadata (6.6 kB)
Obtaining dependency information for anyio<4,>=3.5.0 from https://files.pythonhosted.org/packages/19/24/44299477fe7dcc9cb58d0a57d5a7588d6af2ff403fdd2d47a246c91a3246/anyio-3.7.1-py3-none-any.whl.metadata
Downloading anyio-3.7.1-py3-none-any.whl.metadata (4.7 kB)
Downloading distro-1.8.0-py3-none-any.whl (20 kB)
Obtaining dependency information for httpx<1,>=0.23.0 from https://files.pythonhosted.org/packages/ec/91/e41f64f03d2a13aee7e8c819d82ee3aa7cdc484d18c0ae859742597d5aa0/httpx-0.24.1-py3-none-any.whl.metadata
Downloading httpx-0.24.1-py3-none-any.whl.metadata (7.4 kB)
Obtaining dependency information for pydantic<2.0.0,>=1.9.0 from https://files.pythonhosted.org/packages/5d/68/7a0c5f8b854d3fad9cd82a6312205025597481e46b4ec36f6dea4f1fb93b/pydantic-1.10.12-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Downloading pydantic-1.10.12-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (149 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 149.3/149.3 kB 22.9 MB/s eta 0:00:00
Downloading tokenizers-0.13.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.8/7.8 MB 32.7 MB/s eta 0:00:00
Obtaining dependency information for typing-extensions<5,>=4.1.1 from https://files.pythonhosted.org/packages/ec/6b/63cc3df74987c36fe26157ee12e09e8f9db4de771e0f3404263117e75b95/typing_extensions-4.7.1-py3-none-any.whl.metadata
Downloading typing_extensions-4.7.1-py3-none-any.whl.metadata (3.1 kB)
Downloading packaging-23.1-py3-none-any.whl (48 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 13.1 MB/s eta 0:00:00
Downloading attrs-23.***-py3-none-any.whl (61 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 16.4 MB/s eta 0:00:00
Downloading iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Obtaining dependency information for pluggy<2.0,>=0.12 from https://files.pythonhosted.org/packages/51/32/4a79112b8b87b21450b066e102d6608907f4c885ed7b04c3fdb085d4d6ae/pluggy-1.2.0-py3-none-any.whl.metadata
Downloading pluggy-1.2.0-py3-none-any.whl.metadata (4.4 kB)
Downloading py-1.1***-py2.py3-none-any.whl (98 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.7/98.7 kB 24.3 MB/s eta 0:00:00
Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
INFO: pip is looking at multiple versions of openai[datalib] to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install openai==0.27.8 and openai[datalib]==0.27.0 because these package versions have conflicting dependencies.

The conflict is caused by:
The user requested openai==0.27.8
openai[datalib] 0.27.0 depends on openai 0.27.0 (from https://files.pythonhosted.org/packages/2f/15/b29ed5ad2eed1f49b8b3e2067fbbbb63cfbfc496ca2a27b772bcf0907ad8/openai-0.27.0-py3-none-any.whl (from https://pypi.org/simple/openai/) (requires-python:>=3.7.1))

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

[notice] A new release of pip is available: 23.0.1 -> 23.2.1
[notice] To update, run: pip install --upgrade pip
##[error]Process completed with exit code 1.

The command that failed is pip install -r requirements.txt.

There are a lot of errors. This is likely a larger issue with the PR and not a small linting/type-checking issue.

This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files.

@ghost ghost closed this Aug 1, 2023
jasonpnnl pushed a commit to jasonpnnl/litellm that referenced this pull request Sep 25, 2025
…ailed' into 'main'

Resolve "LiteLLM stops working with All connection attempts failed"

Closes BerriAI#28 and BerriAI#27

See merge request ai-exploration/api-endpoint-litellm!20
@ghost
ghost deleted the sweep/add-sweep-config branch March 26, 2026 21:56
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sweep Assigns Sweep to an issue or pull request.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants