WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@tlambert03
Copy link
Owner

@tlambert03 tlambert03 commented Apr 19, 2025

This PR attempts to allow pip install bffile (or whatever we call it), to Just Work® even if java and maven is not installed on the system. An explanation of how this works is added to the readme here

Tests are added to test that we work both with a system installed java (via actions/setup-java) as well as a cjdk-installed version (when java-version = ''). This also adds a test on bioformats-version 6.0.1

The autoused cache_dirs fixture in conftest.py ensures that tests don't have side effects: both that they don't unexpectedly pass due to a resource found in the testers environment, or leave any residual files on the testers user space. (unless opted into with --allow-cache to speed it all up)

@ctrueden, would be great if you could have a look at this when you have a moment (and @marktsuchida... if you want to verify my usage of cjdk)

@tlambert03 tlambert03 changed the title feat: add cjdk to allow it all to work without any java or maven instaslled feat: add cjdk to allow it all to work without any java or maven installed Apr 19, 2025
@codecov
Copy link

codecov bot commented Apr 19, 2025

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@tlambert03
Copy link
Owner Author

this work was upstreamed to scyjava in scijava/scyjava#80

@tlambert03 tlambert03 closed this Nov 29, 2025
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.

2 participants