-
Notifications
You must be signed in to change notification settings - Fork 496
Update DLP to use new RC of tensorframes (v0.2.9-rc3) #45
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
Conversation
|
…ion', 'library' fields from comparison)
Codecov Report
@@ Coverage Diff @@
## master #45 +/- ##
=======================================
Coverage 85.06% 85.06%
=======================================
Files 19 19
Lines 991 991
Branches 5 5
=======================================
Hits 843 843
Misses 148 148 Continue to review full report at Codecov.
|
Looks like Travis had some issue downloading certain Keras models from GitHub. |
LGTM! |
@phi-dbq Thanks for the reviews/debugging help on this! The build still seems weird, since pandas fails to install as a wheel but is then successfully installed via setup.py. Looking at the logs and (how pip installs from requirements files) I think the following is happening once the Cython dependency is added:
I'm going to try updating the pandas dependency to 0.19.1 as suggested here: pandas-dev/pandas#14204 |
Finally found the required dependencies for tensorflow |
How did it work before and fail now with an upgrade? Are they depending on more packages now with the latest release? Let's copy this file and keep a comment so that we know what to look for when we update again. |
The issue might be the way pandas and numpy dependencies are being specified (in my fork of spark-deep-learning), rather than an issue with the tensorflow dependencies. In the failing build (Python 3.6):
In the successful builds (Python 2.7, 3.5), no wheel for pandas is built:
|
@thunterdb It looks like the combination |
TL;DR We hit issues because pip lacks a dependency resolver. We may want to standardize how we write/maintain pip requirements files (this blog post has some ideas) to avoid similar issues moving forward. Since the tensorframes RC depends on pandas, spark-deep-learning now depends on both pandas and numpy. However, pandas itself depends on numpy, and so downloads/builds against the latest numpy (1.13.1). Our build then uninstalls numpy 1.13.1 so that it can reinstall the version required by spark-deep-learning (1.11.2), resulting in errors when we try to import pandas in tests. |
Modifying requirements.txt to specify minimum versions of each dependency rather than exact versions would probably help. |
of exact requirements
@smurching thank you very much. I am merging this PR so that @phi-dbq can try it out in #39. |
This PR is intended to QA the new RC of tensorframes, checking that packages that depend on it (e.g. deep learning pipelines) still work.