Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Resolver] [bug] pip dependency conflict error: pytest version conflict with openhands-resolver #5040

Closed
neubig opened this issue Nov 15, 2024 · 2 comments
Labels
bug Something isn't working resolver Related to OpenHands Resolver Stale Inactive for 30 days

Comments

@neubig
Copy link
Contributor

neubig commented Nov 15, 2024

Description:

Encountered a dependency resolution error when attempting to install packages listed in requirements.txt. The conflict arises due to incompatible versions of pytest required by openhands-resolver and pytest-mock.

Error Output:
See full logs here...

...
Collecting pandas<3.0.0,>=2.2.3 (from openhands-resolver==0.3.0->-r requirements.txt (line 7))
  Downloading pandas-2.2.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (89 kB)
INFO: pip is looking at multiple versions of openhands-resolver to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.txt (line 5), -r requirements.txt (line 7) and pytest==8.2.1 because these package versions have conflicting dependencies.

The conflict is caused by:
    - The user requested pytest==8.2.1
    - pytest-mock 3.14.0 depends on pytest>=6.2.5
    - openhands-resolver 0.3.0 depends on pytest<9.0.0 and >=8.3.3

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

Steps to Reproduce:

  1. Copy this workflow file
  2. Observe the dependency resolution error and conflicting package requirements after running OpenHands resolver from a GitHub issue.

Moved from All-Hands-AI/openhands-resolver#329

@mamoodi mamoodi added bug Something isn't working resolver Related to OpenHands Resolver labels Nov 15, 2024
Copy link
Contributor

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale Inactive for 30 days label Dec 17, 2024
Copy link
Contributor

This issue was closed because it has been stalled for over 30 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working resolver Related to OpenHands Resolver Stale Inactive for 30 days
Projects
None yet
Development

No branches or pull requests

2 participants