Open ap-- opened 4 years ago
yes, I rerun the job already but it kept refusing the upload; I will package 0.2.2 and let's cross fingers that the CI completes this time
0.2.2 is now up in the channel and this time windows upload did not get stuck
Note that while I had been testing both the qupath packages and pimping it from python for a few months in linux and mac, how these things work in windows is terra incognita. If it gets nasty we probably will be better off testing using one of these free VMs from microsoft, or maybe we can use the "mycloud" thingy?
Okay, So I can reproduce locally. And other than failing one test, we're hitting: https://github.com/jpype-project/jpype/issues/561
windows pytest output is now spam free: a5b5cb622ad0154b4429207bbc632704d352fcbd
windows pytest output is now spam free: a5b5cb6
can we use pyproject.toml instead of pytest.ini?
https://github.com/pytest-dev/pytest/issues/1556
Now that pytest 6.0 is out: yes 😄
@sdvillal is there (and if yes what is) the best way to get openslide working with our conda qupath?
Note: The test's on windows are using the bioformatsimageserver backend.
I believe that some filehandles are still open, because bioformats readers are not explicitly closed here: https://github.com/qupath/qupath/blob/ecac7c444f8099b288a065dd754025d19e7791d1/qupath-extension-bioformats/src/main/java/qupath/lib/images/servers/bioformats/BioFormatsImageServer.java#L975-L978
Ah 💡
Is probably the difference between openslide and bioformats...
Update
So it seems as if deleting an image file on windows in the same session that is was added via
QuPathProject.add_image
causes a Permission exception on Windows.Causes I'm investigating currently:
.close
method is not implemented correctlyInitial issue
So windows had two failing tests (AND loads of thread error messages that might be pytest related...) 1951a56252730605f77fe5fe4efd8214c13a71f3 fixed one of them.
~A potential reason why the windows tests fails is, that we don't have a https://anaconda.org/sdvillal/qupath QuPath v0.2.1 pkg for windows. And we're currently testing against 0.2.0-m11...~
@sdvillal it looks like ~you cancelled the CI when it was building the windows packages.~ the job failed to upload could you rerun them? ❤️