Fix CI device interface version mismatch by requiring Python >= 3.10#817
Merged
Conversation
The python_backend test failed with "MMCore requires 74; device adapter has 75" because the two MM binaries came from independently-versioned sources: - MMCore came from pymmcore (pulled in unpinned via mmpycorex). On Python 3.9 pip cannot install any interface-75 pymmcore build (they all require Python >= 3.10 and ship no cp39 wheel), so it fell back to the latest 3.9-compatible build (11.10.0.74.0 = interface 74). - The DemoCamera device adapter came from the latest nightly MM installer downloaded at test time, currently interface 75. Bump the CI matrix to Python 3.10 so pip can resolve an interface-75 pymmcore matching the nightly's adapters, and update setup.py python_requires/classifiers to >= 3.10 accordingly (3.9 is EOL).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The python_backend test failed with "MMCore requires 74; device adapter has 75" because the two MM binaries came from independently-versioned sources:
Bump the CI matrix to Python 3.10 so pip can resolve an interface-75 pymmcore matching the nightly's adapters, and update setup.py python_requires/classifiers to >= 3.10 accordingly (3.9 is EOL).
Also update Pycr-Manager and AcqEngJ versions in pom.xml as previously tried in vain by the AcqEngJ workflow.