-
Notifications
You must be signed in to change notification settings - Fork 85
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
Fix the windows 3.7 nightlies #2516
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2516 +/- ##
=====================================
Coverage 99.7% 99.7%
=====================================
Files 283 283
Lines 25674 25674
=====================================
Hits 25573 25573
Misses 101 101 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Definitely odd, but the explanation makes sense. Thanks for looking into this!
Even more odd that I couldn't find anything on the graphviz side about this 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for hunting this down, definitely a weird bug!
@@ -6,7 +6,7 @@ xgboost>=1.4.2 | |||
catboost>=0.20 | |||
lightgbm>=2.3.1 | |||
matplotlib>=3.3.3 | |||
graphviz>=0.13 | |||
graphviz>=0.13;platform_system!='Windows' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is really cool!
Pull Request Description
Fix the windows 3.7 nightlies
Our windows ci installs graphviz with conda and then with pip when we run
pip install .
If you look at a successful 3.7 run from before last night, you should see
Requirement already satisfied: graphviz>=0.13 in c:\users\runneradmin\miniconda3\envs\curr_py\lib\site-packages (from evalml==0.28.0) (0.16)
If you look at the run that failed last night, you will see:
Collecting graphviz>=0.13 Downloading graphviz-0.17-py3-none-any.whl (18 kB)
.So for some reason, the pip version is starting to override the conda version. This only happens for 3.7! The logs for the successful 3.8 runs from last night say
Requirement already satisfied: graphviz>=0.13 in c:\users\runneradmin\miniconda3\envs\curr_py\lib\site-packages (from evalml==0.28.0) (0.16)
Not exactly sure why this is happening, but since conda is able to successfully install graphviz in a way that makes our unit tests pass I think we can avoid the problem if we skip the pip install for windows.
Our docs already tell users to install graphviz with windows so I think we're covered there.
After creating the pull request: in order to pass the release_notes_updated check you will need to update the "Future Release" section of
docs/source/release_notes.rst
to include this pull request by adding :pr:123
.