-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
mlflow
dependency prevents test requirements from installing on Windows
#3484
Comments
Can you try |
Same error (from git-bash)
|
Can you do |
I got it to work by deleting the |
Yes feel free to make both of those modifications and create a PR! Thank you |
I think we should also just delete |
The counterargument is that I've seen cases where dependencies of dependencies update and break the build or cause a test to mysteriously fail. |
Ah yeah makes sense |
Looks like not pinning won't work for 3.7 tests, it looks like Not to mention, 3.7 is EOL in June of this year |
Describe the bug
I want to run the
pytest
tests on Windows, but I can't install the requirements:Long story short, this is caused by an old version of the
docker
package pinning a version ofpywin32
that isn't compatible with Python 3.10 (and has security vulnerabilities!): docker/docker-py#2902...and this version of docker is added as a transitive dependency by
mlflow
:gradio/test/requirements.txt
Lines 65 to 66 in 19eaafb
...and
mlflow
later updated their dependencies to relax thedocker
version requirement butmlflow
hasn't been updated in gradio yet: mlflow/mlflow#6562So I think
mlflow
in the test requirements should be updated.Is there an existing issue for this?
Reproduction
pip install -r test/requirements.txt
on WindowsScreenshot
No response
Logs
System Info
Severity
blocking all usage of gradio
The text was updated successfully, but these errors were encountered: