-
Notifications
You must be signed in to change notification settings - Fork 858
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
Update build to support Python 3.8 #1628
Conversation
5f9c05d
to
65ffc6b
Compare
a0d135c
to
bc89b06
Compare
For information, the issue not a Cython dependency, but that for python 3.8 users are trying to build scikit-learn 0.22 from sources since binary wheels do not exist for that Python version. And there yes, it looks like Cython should have been declared a build dependency but it wasn't. |
BTW, if you want to auto-close the associate issue the PR description needs to say "Fixes #1620" (there is a formatting issue currently). |
8b5db26
to
cede1ea
Compare
Building Cython doesn't actually fix the problem, however. |
4ae9dce
to
b46b835
Compare
Co-authored-by: Roman Yurchak <[email protected]>
b46b835
to
1b81a20
Compare
You shouldn't need Cython to install a recent version of scikit-learn . What issue are you experiencing? If I install this branch of snorkel on Python 3.8
it works fine for me:
|
56d5057
to
1c00242
Compare
Codecov Report
@@ Coverage Diff @@
## master #1628 +/- ##
=======================================
Coverage 97.21% 97.21%
=======================================
Files 68 68
Lines 2151 2151
Branches 345 345
=======================================
Hits 2091 2091
Misses 31 31
Partials 29 29 |
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! @brahmaneya can you take a look now since I made some changes?
As a note: we turned on weekly cron builds to detect issues from changing dependency on an ongoing basis |
@henryre thanks! |
* Bump scikit-learn version * Update setup.py Co-authored-by: Roman Yurchak <[email protected]> * Update build environment * Update build environment * Update build environment * Update build environment * Update requirements * Add Python 3.8 build * Reduce required build steps for non-3.6 versions Co-authored-by: Roman Yurchak <[email protected]> Co-authored-by: Henry Ehrenberg <[email protected]>
Description of proposed changes
Build config updates:
Package version updates:
Fixes #1627
Test plan
Checklist
Need help on these? Just ask!
tox -e complex
and/ortox -e spark
if appropriate.