Skip to content

Build tools: Dedicate a --pre build in appveyor and ensure other builds don't download --pre - #3222

Merged
soupault merged 2 commits into
scikit-image:masterfrom
hmaarrfk:fix_appveyor
Nov 5, 2018
Merged

soupault merged 2 commits into
scikit-image:masterfrom
hmaarrfk:fix_appveyor

Conversation

@hmaarrfk

Copy link
Copy Markdown
Member

Pre was only needed in 2017 before wheels became widely available.

pre was failing on appveyor.
now it is fixed because it doen't install everything in requirements from prereleases..... (and likely does what we want it to do)

@jni

For reviewers

(Don't remove the checklist below.)

  • Check that the PR title is short, concise, and will make sense 1 year
    later.
  • Check that new functions are imported in corresponding __init__.py.
  • Check that new features, API changes, and deprecations are mentioned in
    doc/release/release_dev.rst.
  • Consider backporting the PR with @meeseeksdev backport to v0.14.x

@codecov-io

codecov-io commented Jun 27, 2018 •

Copy link
Copy Markdown

Codecov Report

Merging #3222 into master will decrease coverage by 1.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3222      +/-   ##
==========================================
- Coverage   87.82%   86.81%   -1.02%     
==========================================
  Files         325      341      +16     
  Lines       27317    27492     +175     
==========================================
- Hits        23992    23868     -124     
- Misses       3325     3624     +299
Impacted Files Coverage Δ
skimage/io/_plugins/imread_plugin.py 69.23% <0%> (-15.39%) ⬇️
skimage/io/tests/test_fits.py 83.01% <0%> (-13.21%) ⬇️
skimage/io/_plugins/fits_plugin.py 81.13% <0%> (-9.44%) ⬇️
skimage/io/tests/test_imread.py 70.58% <0%> (-3.93%) ⬇️
skimage/viewer/tests/test_tools.py 97.34% <0%> (-2.66%) ⬇️
skimage/draw/_random_shapes.py 95.78% <0%> (-2.11%) ⬇️
skimage/filters/tests/test_lpi_filter.py 87.5% <0%> (-2.09%) ⬇️
skimage/restoration/tests/test_denoise.py 98.68% <0%> (-0.79%) ⬇️
skimage/future/graph/rag.py 95.42% <0%> (-0.66%) ⬇️
skimage/io/manage_plugins.py 87.4% <0%> (-0.57%) ⬇️
... and 45 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 133aa70...a1e786c. Read the comment docs.

@jni jni left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved... But I'm still concerned: what pre-release is breaking things?

@hmaarrfk

Copy link
Copy Markdown
Member Author

I'm not sure. but at present, having all tests fail is not good.

can appveyor or travis "warn" you that something is failing? That way we can keep having meaningful PR without having to worry about temporarily broken pre builds.

The other question is: why did the pre travis builds not catch this?
I have a feeling it is because of a few randomly inserted pip commands that I'm trying to fix.

@jni

jni commented Jun 27, 2018

Copy link
Copy Markdown
Member

can appveyor or travis "warn" you that something is failing?

That's the point of the build matrix and having a specific build set aside for PRE. I don't know of a way to change the behaviour of the tick marks to be e.g. a red tick, probably that doesn't exist, but that is the burden of a maintainer: to investigate all failures and figure out whether it is actually blocking for the PR. =)

@jni

jni commented Jun 27, 2018

Copy link
Copy Markdown
Member

The other question is: why did the pre travis builds not catch this?

It's entirely possible that pre builds exhibit some windows-specific failures.

@hmaarrfk

Copy link
Copy Markdown
Member Author

Right, so the windows builds don't have dedicated pre builds, which was weird.

they were always on pre.....

@hmaarrfk

Copy link
Copy Markdown
Member Author

@jni I just added a single pre build. It now fails. Less green, but at least testing is "more complete"

@hmaarrfk hmaarrfk changed the title Dont install install from pre in appveyor Dedicate a --pre build in appveyor and ensure other builds don't download --pre Jun 27, 2018
Comment thread .appveyor.yml
# Install the build and runtime dependencies of the project.
# The --pre flag is necessary to grab a SciPy wheel, which is in
# pre-release at the time of writing (03-10-2017)
- pip install --retries 3 --pre -r requirements.txt

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jni this is the problematic line.

@hmaarrfk hmaarrfk mentioned this pull request Aug 28, 2018
5 of 9 tasks
@hmaarrfk

Copy link
Copy Markdown
Member Author

@hmaarrfk
hmaarrfk force-pushed the fix_appveyor branch 3 times, most recently from 96ae208 to 7ce1064 Compare August 29, 2018 15:06
@hmaarrfk hmaarrfk changed the title Dedicate a --pre build in appveyor and ensure other builds don't download --pre Build tools: Dedicate a --pre build in appveyor and ensure other builds don't download --pre Sep 28, 2018
@hmaarrfk

hmaarrfk commented Nov 3, 2018

Copy link
Copy Markdown
Member Author

@scikit-image/core what do we think about this?

@soupault

soupault commented Nov 5, 2018

Copy link
Copy Markdown
Member

Looks good, thanks!

@soupault
soupault merged commit 7bd1971 into scikit-image:master Nov 5, 2018
@hmaarrfk

hmaarrfk commented Jan 1, 2019

Copy link
Copy Markdown
Member Author

@meeseeksdev backport to v0.14.x

meeseeksmachine pushed a commit to meeseeksmachine/scikit-image that referenced this pull request Jan 1, 2019
… appveyor and ensure other builds don't download --pre
jni added a commit that referenced this pull request Jan 2, 2019
…2-on-v0.14.x

Backport PR #3222 on branch v0.14.x (Build tools: Dedicate a --pre build in appveyor and ensure other builds don't download --pre)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants