All-Hands-AI / openhands-resolver

A system that tries to resolve all issues on a github repo with OpenHands.
MIT License
85 stars 20 forks source link

Fix issue #329: [bug] pip dependency conflict error: pytest version conflict with openhands-resolver #330

Closed openhands-agent closed 3 days ago

openhands-agent commented 3 days ago

This pull request fixes #329.

The issue has been successfully resolved. The AI agent correctly identified and addressed the core dependency conflict by:

  1. Moving pytest to test dependencies (where it belongs) instead of main dependencies
  2. Setting explicit version constraints that satisfy all requirements:
    • pytest >=8.3.3,<9.0.0 (satisfies openhands-resolver's requirement)
    • pytest-mock >=3.14.0 (which is compatible with the pytest version)

The solution was verified through practical tests:

For a GitHub review, this would be summarized as: "This PR resolves the dependency conflict by properly scoping pytest as a test dependency and setting version constraints that satisfy all package requirements. The changes have been verified through successful installation and test execution. The solution maintains compatibility with openhands-resolver while ensuring proper dependency management practices."

Automatic fix generated by OpenHands 🙌

neubig commented 3 days ago

@openhands-agent the pandas version requirement is still very stringent. could this be loosened as well?

github-actions[bot] commented 3 days ago

OpenHands started fixing the issue! You can monitor the progress here.

github-actions[bot] commented 3 days ago

OpenHands started fixing the pr! You can monitor the progress here.

github-actions[bot] commented 3 days ago

The workflow to fix this issue encountered an error. Openhands failed to create any code changes.

neubig commented 3 days ago

Let's close this and re-open.