-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Remove pip from scripts and use only conda #3993
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3993 +/- ##
==========================================
- Coverage 86.79% 86.56% -0.24%
==========================================
Files 88 88
Lines 14143 14020 -123
==========================================
- Hits 12276 12136 -140
- Misses 1867 1884 +17
|
This is ready for review. |
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.
Looks good, except for the removal of black_nbconvert
in dev requirements. I suppose you did that because it can't be installed through any other channel than pip?
It seems to me that we should be able to require packages that are only installable via pip though. Thoughts?
@@ -1,4 +1,3 @@ | |||
black_nbconvert |
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.
Seems like you removed black_nbconvert
? It's needed for NB styling
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.
Now that Travis cache issue is resolved, couldn't you add back black_nbconvert
to the file?
Ah that's where the black_nbconvert is coming from. Guess I messed up the grep :-) |
Ha ha, that's fine by me (I don't completely understand this caching issue
TBH).
We will probably need to install black_nbconvert with pip though, as I
don't think there is a conda port.
Le ven. 3 juil. 2020 à 19:18, Adrian Seyboldt <notifications@github.com> a
écrit :
… Ah that's where the black_nbconvert is coming from. Guess I messed up the
grep :-)
Would it be ok if we add this in a second PR again, so that we can avoid
making the caching issue even more confusing?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3993 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHIJMTGVJIVHJG52MWUZEJ3RZYHFBANCNFSM4OPSLWLQ>
.
|
Yes, if there is no conda package then I guess we'll have to use pip :-) |
@aseyboldt there is a conflict in |
The conflict is fixed. I removed the cache on master (also to get the second py3.6 fix merged). The tests should pass now I hope. |
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.
Test are failing because of these three packages:
PackagesNotFoundError: The following packages are not available from current channels:
- nbsphinx[version='>=0.4.2']
- sphinx-autobuild==0.7.1
- watermark
I think it's expected, as watermark
(used for NB styling) is only installable by pip and create_testenv.sh
doesn't look there anymore -- it should probably do that in last resort?
Turns out keras doesn't support py37 yet: keras-team/keras#13964 |
Yes it would, but we don't run NBs automatically -- just on demand before releases or (hopefully) more frequently and gradually now, given that NB is not a format that lends itself easily to batch runs. So, I don't think removing Keras is very problematic TBH, all the more so since this NB had already problems running IIRC (cc @michaelosthege). |
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.
Looks good now, thanks @aseyboldt ! Waiting for your answers to my last two comments and I'll merge then 😉
I think we have to wait with this one for #4003, it will need a rebase after that. |
10acf53
to
1fa6506
Compare
Where are we on this @aseyboldt ? I think you can rebase now, and I'll merge when tests pass |
Ping @aseyboldt. |
We should not mix conda packages from defaults with conda-forge during testing, and should not use pip with conda.