Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Appveyor overhaul #6520
Conversation
mdboom
added the
needs_review
label
Jun 1, 2016
|
Looks good, Any chance we can drop the patched bdist_whell now? |
|
Yes, that can also be gone now. Will add it here in this PR |
|
Meh: [matplotlib-1.5.0+2326.gf349629-cp27-cp27m-win_amd64.whl]
-> depends on |
janschulz
referenced
this pull request
in conda-forge/matplotlib-feedstock
Jun 2, 2016
Merged
MNT: Update pinned versions. #29
|
Ok, it builds and the tests pass but the coverage is going down :-( The problem with non-static dependencies is fixed as far as I can see and the tests now include a test for that. -> I would love to get a review, I don't have any more changes staged for this. |
|
Don't worry about the coverage. It's comming from the travis builds and have been going up and down for that file all the time in various builds |
janschulz
referenced
this pull request
Jun 3, 2016
Closed
matplotlib-2.0.0b1 test errors on Windows #6523
|
Ok, after installing inkscape and imagemagick the tests error out:
The test runtime of almost exactly 1h seem to suggest that the tests are stuck somewhere and run into a timeout :-( -> I'm removing the choko installs again... |
|
Ok, wasn't the choco lines, next try pillow... Please don't let it be miktex... |
|
Re possible MiKTeX timeouts: check that MiKTeX is configured to "install missing packages on-the-fly", not "ask me first" (the default; opens a modal dialog). |
|
@cgohlke: Thank you, the miktex "ask" setting seems to have been the problem!
-> It seems it still misses most of the tests due to missing tools :-( probably the image conversation util to convert svg/... to png |
|
The images are converted using inkscape but I guess choko installing inkscape does not put it on path so it can be found by nose |
|
Current status: A failure on py3.4: https://ci.appveyor.com/project/mdboom/matplotlib/build/1.0.1712
Next stop: trying to put inkscape into PATH thanks to the suggestion from @jenshnielsen |
|
@janschulz I think that one is a random fluke. We are seeing it on Travis too |
|
Still something missing:
I think I know why: the miktex packages only installs bat files in PATH which redirect to the exe in a subdir for most of the files (only a few get a wrapper written in GO -> it's 2MB and we have a lot of binaries in the miktex package, so only the most mportant binaries got that treatment) and I think subprocess can't call bat files without using a shell which it doesn't in the checks: https://github.com/matplotlib/matplotlib/blob/98a2e64338664fd8b000007b3843caae81837439/lib/matplotlib/__init__.py#L355 Oh, and another problem: inkscape comes in two flavors:
-> unfortunately, |
This was referenced Jun 6, 2016
|
proper exe wrappers are comming: conda-forge/miktex-feedstock#8 |
|
Current status: A lot less skipped tests: But also a failure on py27, py33 https://ci.appveyor.com/project/mdboom/matplotlib/build/1.0.1721/job/4jt29336mqp6jx6g/artifacts
Looking at the images (pdf versions, see the artifact in one of the failing appveyor runs), it needs a slightly higher tolerance? |
|
I looked at the failed image. The diff seems insignificant so I am |
|
ok, upped the tolerance on that test... What is with the testing timeS: 4_30min=2h instead of 40min as before... I could install inkscape only on one of the tests, so that we get back to 1x30+3_15min... Or is 2h ok? |
|
I think installing inkscape on only one of the nodes is probably the best solution at the moment. |
|
Any idea what's happening here (Travis -> linux):
|
|
It seems to happen randomly on both Travis and appveyor. It's a fluke not related to any on this but we should probably try to get to the bottom of this. |
|
It seems the choco install if inkscape is cached, at least it's now available in in all test runs :-/ |
tacaswell
closed this
Jun 28, 2016
tacaswell
reopened this
Jun 28, 2016
tacaswell
added needs_review and removed needs_review
labels
Jun 28, 2016
WTF? I installed the save zlib in a local env and it worked...? |
janschulz
referenced
this pull request
in conda/conda
Jun 28, 2016
Merged
use CONDA_PREFIX, not CONDA_DEFAULT_ENV for activate.d #2856
|
Ok, the problem was that conda changed the |
janschulz
referenced
this pull request
in conda/conda-build
Jun 28, 2016
Open
load_setuptools() in meta.yaml spawns multiple processes and confuses everything #1061
|
I opened conda/conda-build#1061 for the new "cannot find cl.exe" problem. Using conda and conda-build isn't the easiest thing to do right now :-( |
This was referenced Jun 29, 2016
QuLogic
and 1 other
commented on an outdated diff
Jun 29, 2016
| CONDA_INSTALL_LOCN: "C:\\Miniconda" | ||
| - TARGET_ARCH: "x64" | ||
| CONDA_PY: "27" | ||
| CONDA_NPY: "18" | ||
| PYTHON_VERSION: "2.7" | ||
| + TEST_ALL_IMAGES: "yes" # only once, pick the one which made the most problems |
janschulz
Contributor
|
|
There is a new conda version out, lets see if this fixes things (close and reopen) |
janschulz
closed this
Jun 30, 2016
janschulz
reopened this
Jun 30, 2016
mdboom
added needs_review and removed needs_review
labels
Jun 30, 2016
|
@janschulz you seem to be fighting windows, multi-process, setuptools, and conda* simultaneously right now via appevyor. If we ever meet in person I owe you |
tacaswell
modified the milestone: 2.0.1 (next bug fix release), 2.1 (next point release)
Jul 2, 2016
|
Now it's this in only one of the runs:
|
|
May be this link will be helpful https://support.microsoft.com/en-us/kb/830473
|
|
Restarted the build to see if this is a real problem or something being flaky |
|
I'm starting to think that we should just remove the conda build again as long as it seems not reliable... :-( |
janschulz
added some commits
Jun 1, 2016
|
I've disabled the conda-build and removed the debugging output (PR for both is in #6682), so hopefully this succeeds now and can be merged... |
janschulz
referenced
this pull request
Jul 3, 2016
Closed
DO NOT MERGE: conda-build failure on appveyor #6682
|
The tests are now all successful. Who should be the one to give the final review and check? |
QuLogic
and 1 other
commented on an outdated diff
Jul 5, 2016
| @@ -11,4 +11,4 @@ index 8af8b6d..4e4f9d2 100644 | ||
| + f.write(__version__) | ||
| # These are the packages in the order we want to display them. This | ||
| - # list may contain strings to create section headers for the display. | ||
| + # list may contain strings to create section headers for the display. |
|
|
janschulz
added some commits
Jun 30, 2016
|
Do we version pin something to make sure we are using a fixed version of the wheels build code? |
|
@tacaswell No, they are basically build against the same code which is in conda-forge at this time. |
|
I am a bit concerned about removing the bug workaround in setup.py which may bite users on windows that want to build wheels which have not updated. I am happy with saying that people must have newer versions of setuptools (I assume that is where it comes from?), but should probably put in a check for that. I would also be happy to be told I am confused about this and it is fine as-is. |
|
I saw basically two bugreports about the wheel issue: mine and one from cgohlke who also tried compiling mpl. So IMO this is pretty rare: noone in the right mind tries to compile mpl from source to a wheel, everyone just gets it from cgohlke :-) Wheel is from it's own package (at least under conda) but gets probably installed per default (at least conda installs it automatically in each new python env)? |
|
Fair enough. |
tacaswell
merged commit b38f558
into matplotlib:master
Jul 7, 2016
tacaswell
removed the
needs_review
label
Jul 7, 2016
|
Yay :-) Thanks! |
|
Thank you for fighting the good fight with appveyor! |
QuLogic
added OS/Microsoft Testing
labels
Jul 7, 2016
|
Build times have increased from ~10 min (build <= 1.0.1922) to ~30 min (build >= 1.0.1924) on all four cases (not just one 833f903) after merging this. |
|
before:
after:
And 64bit and the lone 32 bit (which was instructed to run all image comp tests) have the same runtime and the same number of tests. Should I remove the additional requirements (latex, ffmeg) on all but one build, so only one gets down to 609 skips vs 1200 in the old days? |
|
On my machine |
|
librsvg has other issues like not implementing the svg spec correctly (https://bugzilla.gnome.org/show_bug.cgi?id=748565). |
|
I think @mdboom mentioned that they had fixed that issue but probably not in a release yet |
janschulz commentedJun 1, 2016
•
edited
Mostly: