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

Downgrade filelock version #1686

Merged
merged 7 commits into from
May 8, 2024
Merged

Conversation

KumoLiu
Copy link
Contributor

@KumoLiu KumoLiu commented May 7, 2024

Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com>
Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com>
Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com>
Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com>
@SachidanandAlle
Copy link
Collaborator

CI job fails for packaging (it runs integration tests) with an error for cv2

@tangy5
Copy link
Collaborator

tangy5 commented May 7, 2024

Hi @KumoLiu , it looks like the proposal to remove opencv-python-headless is not working. Can we try another package instead, do you have idea on which package can replace opencv-python-headless

Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com>
Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com>
@SachidanandAlle
Copy link
Collaborator

lets go one simple PR first to fix filelock==3.11.0 version.. and opencv issue can be fixed in another PR accordingly

Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com>
@KumoLiu KumoLiu changed the title Use opencv and downgrade filelock version Downgrade filelock version May 7, 2024
requirements.txt Outdated
@@ -28,13 +28,12 @@ pydicom==2.4.4
pydicom-seg==0.4.1
pynetdicom==2.0.2
pynrrd==1.0.0
opencv-python-headless==4.9.0.80
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is opencv a direct dependency installed by monai.. monailabel needs this as a direct dependency

requirements.txt Outdated
passlib==1.7.4
python-jose[cryptography]==3.3.0
bcrypt==4.1.2
shapely==2.0.4
requests==2.31.0
requests-toolbelt==1.0.0
urllib3==2.2.1
opencv
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

opencv and opencv-python-headless both?

setup.cfg Outdated
@@ -54,13 +54,12 @@ install_requires =
pydicom-seg==0.4.1
pynetdicom==2.0.2
pynrrd==1.0.0
opencv-python-headless==4.9.0.80
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removing this will not help open source monailabel users to do pip-install and run monailabel

@SachidanandAlle SachidanandAlle enabled auto-merge (squash) May 7, 2024 23:53
@SachidanandAlle SachidanandAlle merged commit ea2d7c2 into Project-MONAI:main May 8, 2024
24 checks passed
@KumoLiu KumoLiu deleted the opencv branch August 13, 2024 12:25
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.

3 participants