Closed imbasimba closed 2 years ago
Hmm... That segmentation fault is interesting. Anything you've seen before, @pkgw? https://dev.azure.com/aasworldwidetelescope/WWT/_build/results?buildId=2211&view=logs&j=9c812e60-d21b-5131-8477-4061cfb57ebe&t=3bef032c-d60d-5a2a-8d25-6ff5ebcaca46
Maybe the failing test did not run on Azure before, since it is marked with @pytest.mark.skipif('not HAS_REPROJECT').
This PR installs reproject by default. Maybe there is some rationale to not do this?
For the shapely issue: I think that your change to setup.py
isn't actually relevant here, since the "coverage" job installs all of the bells-and-whistles extra packages that toasty uses — that's what you need to maximize the code coverage of your test suite, after all. You can see in the logs of previous runs that reproject and shapely are available and should have been getting exercised.
That being said ... it's certainly not clear to my why your changes would cause the test_as_multi_wcs
test to start failing. And I can't reproduce locally. I guess my next step would be to create a pristine Python environment and follow all of the commands from the CI scripts exactly, to see if I can reproduce if I really try to copy the test setup precisely.
Merging #68 (9579c71) into master (d52a58d) will increase coverage by
0.67%
. The diff coverage is91.66%
.:exclamation: Current head 9579c71 differs from pull request most recent head 085f005. Consider uploading reports for the commit 085f005 to get more accurate results
@@ Coverage Diff @@
## master #68 +/- ##
==========================================
+ Coverage 74.69% 75.37% +0.67%
==========================================
Files 22 22
Lines 3051 3098 +47
==========================================
+ Hits 2279 2335 +56
+ Misses 772 763 -9
Impacted Files | Coverage Δ | |
---|---|---|
toasty/__init__.py | 89.28% <88.88%> (-10.72%) |
:arrow_down: |
toasty/collection.py | 57.85% <94.73%> (+6.39%) |
:arrow_up: |
toasty/merge.py | 94.48% <100.00%> (+0.08%) |
:arrow_up: |
toasty/study.py | 94.30% <0.00%> (+0.81%) |
:arrow_up: |
toasty/image.py | 76.72% <0.00%> (+0.92%) |
:arrow_up: |
toasty/multi_tan.py | 83.76% <0.00%> (+5.19%) |
:arrow_up: |
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 d52a58d...085f005. Read the comment docs.
Alright! All review comments fixed and all CI issues addressed (sort of). There were three issues discovered in CI, of which two are fully solved and one which is still being investigated.
Well, "good" news that I can reproduce the parallel deadlock locally, so it should be quick to fix.
Ah, yes: the merge task would get stuck when start = 0
, i.e. there is no actual work to do!
Ah, now I see where the shapely issue is coming from. I've force-pushed a new history that ought to fix it (might take a couple of tries) and also tidies up the history regarding the CI issues.
This PR is used in https://github.com/WorldWideTelescope/pywwt/pull/316