Skip to content

fix: update requirements with version pins and add opencv-python#12364

Open
omrode1 wants to merge 2 commits intoopen-mmlab:mainfrom
omrode1:fix/update-requirements-versions
Open

fix: update requirements with version pins and add opencv-python#12364
omrode1 wants to merge 2 commits intoopen-mmlab:mainfrom
omrode1:fix/update-requirements-versions

Conversation

@omrode1
Copy link
Copy Markdown

@omrode1 omrode1 commented May 21, 2025

Description

This PR updates the requirements files with version pins and adds missing dependencies to improve installation reliability and consistency.

Changes

  1. Added version pins to all dependencies in requirements/runtime.txt
  2. Added opencv-python to runtime requirements as it's commonly used
  3. Added version pins to all dependencies in requirements/optional.txt

Benefits

  • Prevents dependency conflicts
  • Makes the installation process more reliable
  • Ensures consistent behavior across different environments
  • Makes it easier for new contributors to set up their development environment

Testing

The changes have been tested by:

  • Verifying all version pins are valid and available on PyPI
  • Ensuring the added dependencies are compatible with the existing codebase

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented May 21, 2025

CLA assistant check
All committers have signed the CLA.

@lauriebax
Copy link
Copy Markdown

Hey 👋 We've updated 7 core repos (MMDetection, MMSegmentation, and others) to work with the latest PyTorch and made them production-ready for our AI platform.

We're committed to maintaining these repos going forward and encourage you to contribute features through pull requests.

Check them out if you need PyTorch (or other) compatibility: https://github.com/VBTI-development —feedback welcome!

This includes updating versions of most dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants