Repository navigation
Conversation
f429b95 to
079edd0
Compare
079edd0 to
0c93324
Compare
Codecov Report
@@ Coverage Diff @@
## master #3231 +/- ##
=========================================
- Coverage 86.75% 86.7% -0.06%
=========================================
Files 339 339
Lines 27356 27356
=========================================
- Hits 23734 23718 -16
- Misses 3622 3638 +16
Continue to review full report at Codecov.
|
|
I looked through the commits here and it looks good to me. Running the tests twice with and without optional dependencies is nice for completeness as long as everything is still well within the CI time limits. unfortunately it looks like the PyQt5 problem is still the same as before, though |
|
At least they are all failing together. Ill have a look at them when I get
home tonight.
…On Sat, Jul 7, 2018 at 3:49 PM Gregory R. Lee ***@***.***> wrote:
I looked through the commits here and it looks good to me. Running the
tests twice with and without optional dependencies is nice for completeness
as long as everything is still well within the CI time limits.
unfortunately it looks like the PyQt5 problem is still the same as before,
though
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3231 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAFfmP4wh7RrDaLritkxXv_wWoiLv5zMks5uETr9gaJpZM4U8PsZ>
.
|
|
Something is wrong with the matplotlibrc file. For some reason, matplotlib is going back to qt4 and not qt5.... |
|
I stepped through the import process, apparently it was missing |
|
@grlee77 it now works! Its probably because pyqt5 removed it's |
|
FYI: @jni |
|
You're running the full test suite twice per build now? I don't necessarily think this is a nice plan, as it will take longer for Travis to complete... (And it already takes a long time...) |
|
I don't understand the sip discussion... So PyQt5 still depends on sip but they don't explicitly declare that dependency? |
|
So before my first colossal commit fixing all the deprecation warnings and whatnot, the suite was run twice. Unfortunately, when you merged in 2.7 deprecation, it was added back in, albeit in a superposition of states which collapsed into something we didn't intend: There was no install command the two test runs. The tests only take about 5 minutes each. I agree it is long, but I have to see if the doctests are compatible without matplotlib. I didn't find a way to run "only the doctests without the actual tests". Maybe we can submit a request upstream for that feature? On travis, compilation takes about 8 minutes (cythonizing takes about 2, and compiling the c code takes about 5). What actually takes ALOT of time are the examples. Looking into parallelizing them, but I'm not sure what happens to the return code. We are getting close to the 50 minute limit. Travis has 2 cores though and we should be able to see a speedup improvement if we use all 2. I tried to parallelize the tests (see pytest xdist) but the tiffle doctest don't parallelize well. Maybe I'll just patch up those tests. One test relies on a file created in a previous one.... |
|
Apparently there is a "new-first" option in |
acfac66 to
ec9a04b
Compare
|
Ok the SIP issue was actually a Matplotlib, and not a qtpy issue that was fixed in this Commit: I guess we have to wait until it gets pushed upstream. |
That is the default installed for osx on travis.
That is checked automatically by set -ex
b6b43bf to
b4f41bf
Compare
b4f41bf to
cd365be
Compare
Tests run on all platforms scikit-image#2732
8e6a5a6 to
ec40c7e
Compare
|
@jni, I would like to get the ball rolling on this one before travis breaks again. Actually the matplotlib PR #3129 passed, but I would like to harden the build before we review that PR. It contains a subset of the modifications I made here. You had an outstanding issue which was running the tests twice. You are right in that it takes more time to run the tests twice, but I think the main thing that takes time is the examples. Those take a long time even on my machine. I decided to actually create 2 linux builds just for the examples. (The OSX machines seems to finish in under 30 mins, so I think we have room to spare there). Let me know what you think. Note: Maybe cancel some of my previous builds on travis if you see this in time. |
|
@jni seems like my assumptions about the examples taking time was wrong. 😸 Oh well, at least what is on a table seems to run each build in under 30 mins. |
This is being abbandonned in favour of 4 or 5 smaller PRs
Sorry for so many commits refractoring the tests. I know these PRs are the hardest to review since there can be silent failures. A previous PR of mine likely caused benefit 4. not to appear sooner.
These became necessary when trying to pull out the matplotlib dependency PR #3129. That PR is almost ready too, but I had to include these 50 line changes which I figured were easier to review as a separate PR.
The tests were refractored to remove much of the logic in how they are run.
I think this became easier to do when we stopped supporting python 2.7.
I find that too many if and else statements make things harder to read:
Noticeable benefits
Test and build steps:
Note, we probably should refractor appveyor to run the same steps.
Xref
Fixes #3131
Fixes #3084
For reviewers
(Don't remove the checklist below.)
later.
__init__.py.doc/release/release_dev.rst.@meeseeksdev backport to v0.14.x