Skip to content

Build tools: Make pyamg an optional dependency and remove custom logic - #3431

Merged
jni merged 2 commits into
scikit-image:masterfrom
hmaarrfk:pyamg_optional_dep
Oct 5, 2018
Merged

jni merged 2 commits into
scikit-image:masterfrom
hmaarrfk:pyamg_optional_dep

Conversation

@hmaarrfk

@hmaarrfk hmaarrfk commented Sep 30, 2018 •

Copy link
Copy Markdown
Member

This was rebased onto: #3432

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 Sep 30, 2018 •

Copy link
Copy Markdown

Codecov Report

Merging #3431 into master will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3431      +/-   ##
==========================================
+ Coverage   86.85%   86.86%   +0.01%     
==========================================
  Files         340      340              
  Lines       27484    27484              
==========================================
+ Hits        23870    23875       +5     
+ Misses       3614     3609       -5
Impacted Files Coverage Δ
skimage/segmentation/random_walker_segmentation.py 92.01% <0%> (-1.88%) ⬇️
skimage/segmentation/tests/test_random_walker.py 98.82% <0%> (+0.39%) ⬆️
skimage/future/graph/rag.py 96.07% <0%> (+0.65%) ⬆️
skimage/restoration/tests/test_denoise.py 99.47% <0%> (+0.78%) ⬆️
skimage/filters/tests/test_lpi_filter.py 89.58% <0%> (+2.08%) ⬆️
skimage/viewer/tests/test_tools.py 100% <0%> (+2.65%) ⬆️

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 f636eac...84124e9. Read the comment docs.

@hmaarrfk hmaarrfk changed the title WIP: Build tools: Make pyamg an optional dependency and remove custom logic Build tools: Make pyamg an optional dependency and remove custom logic Sep 30, 2018
@hmaarrfk
hmaarrfk force-pushed the pyamg_optional_dep branch from 75c1110 to b89f937 Compare October 5, 2018 01:14
@soupault soupault added the 🔧 type: Maintenance Refactoring and maintenance of internals label Oct 5, 2018
@soupault soupault added this to the 0.15 milestone Oct 5, 2018
@jni

jni commented Oct 5, 2018

Copy link
Copy Markdown
Member

@hmaarrfk this is great, but we do lose one part of the testing matrix: testing PYAMG with minimum requirements. Do you think we should add a build, OPTIONAL_DEPS=1 MINIMUM_REQUIREMENTS=1?

@hmaarrfk

hmaarrfk commented Oct 5, 2018

Copy link
Copy Markdown
Member Author

@jni maybe we should when we set lower bounds on the optional requirements.

I feel like there won't be a difference if we don't.

@jni

jni commented Oct 5, 2018

Copy link
Copy Markdown
Member

PyAMG depends on (unpinned) SciPy and NumPy. So it could definitely be the case that lowerbound SciPy breaks bleeding-edge PyAMG.

@hmaarrfk

hmaarrfk commented Oct 5, 2018

Copy link
Copy Markdown
Member Author

Is the way we install things actually going to break that? We should check pip list very carefully.

@jni
jni merged commit cf3cf93 into scikit-image:master Oct 5, 2018
@jni

jni commented Oct 5, 2018

Copy link
Copy Markdown
Member

Woot! =)

@hmaarrfk
hmaarrfk deleted the pyamg_optional_dep branch November 4, 2018 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔧 type: Maintenance Refactoring and maintenance of internals

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants