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

Fix the windows 3.7 nightlies #2516

Merged
merged 8 commits into from
Jul 15, 2021
Merged

Fix the windows 3.7 nightlies #2516

merged 8 commits into from
Jul 15, 2021

Conversation

freddyaboulton
Copy link
Contributor

@freddyaboulton freddyaboulton commented Jul 15, 2021

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.

@codecov
Copy link

codecov bot commented Jul 15, 2021

Codecov Report

Merging #2516 (809fec5) into main (1cd2d77) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1cd2d77...809fec5. Read the comment docs.

@freddyaboulton freddyaboulton changed the title Run nightlies to debug Fix the windows 3.7 nightlies Jul 15, 2021
Copy link
Contributor

@angela97lin angela97lin left a 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 🤔

Copy link
Contributor

@bchen1116 bchen1116 left a 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'
Copy link
Contributor

Choose a reason for hiding this comment

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

This is really cool!

@freddyaboulton freddyaboulton merged commit 71b683a into main Jul 15, 2021
@freddyaboulton freddyaboulton deleted the fix-windows-37-nightlies branch July 15, 2021 20:41
@chukarsten chukarsten mentioned this pull request Jul 22, 2021
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.

None yet

3 participants