-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use scyjava, remove all the stuff #4
Conversation
cc @ctrueden |
@jacksonmaxfield, if this is merged and released, it would have some effects for aicsimageio
|
more reason to move to plugins 🥴
I think this is fine just needs to be documented.
FASCINATING... still sad that aicspylibczi and readlif need to be GPL but 🤷 we take want we can. All in all, I say good changes and whenever this is merged + released as new bioformats_jar version I will bump the version up on aicsimageio and release a minor release. Its not a fully breaking change for us just on you but come on... that doesn't warrent a major change on us does it? |
cc @toloudis |
I can't push to this branch but can I request a minor change: bump |
sure, actually... any reason not to unpin altogether and just let scyjava determine it? https://github.com/scijava/scyjava/blob/26ad79bc023f0435db821458c270c7d562f445eb/setup.cfg#L42 currently they say ≥1.3 |
I am fine with it. I will likely make a PR over to them and bump it. |
@JacksonMaxfield I was going to update it now, so that you don't have to... but then I thought: what is the rationale for actually requiring 1.4.0? JPype 1.3.0 works for all other scenarios, just not Windows + Python 3.10, right? Forcing it to 1.4.0+ seems a bit restrictive. Unless there is new API we need to take advantage of? |
Yea I think that is really it. So 🤷♀️ your call. I am fine if you want to leave it as is. |
Hmm, well, the PyImageJ project has a special note in its Troubleshooting section about the Windows + Python 3.10 problem... so I guess forcing >=1.4.0 will let us update PyImageJ too and remove that note, which is a plus. So upon reflection I'm fine with it. We just need to test all the platforms of course. |
JPype 1.4.0 has not yet propagated to conda-forge, though; we'll need to wait till that happens before we can cut a new scyjava release. |
Closes #2 ... uses scyjava to source the bioformats jar.
With this PR,
bioformats_jar
becomes a pretty much useless package, which is great! (It was my own naiveté that precipitated it in the first place, and both issues like #2 and napari/npe2#136 have revealed the problems with directly shipping this jar and starting a jvm in a shared environment).This PR and the next release aim to be invisible to downstream users (like aicsimageio), but will make it so that they will automatically get the newest bioformats version available (see AllenCellModeling/aicsimageio#400) ... which can also be set via environment variable (
BIOFORMATS_VERSION
).We can decide together whether this package serves any purpose after that, or if the next version should emit a warning to just use scyjava directly.