Skip to content

fix(deps): cap mobilerun-core below 2 (DRO-4147) - #559

Merged
Cyro292 merged 1 commit into
developfrom
fix/cap-core-below-2
Dec 3, 2026
Merged

Cyro292 merged 1 commit into
developfrom
fix/cap-core-below-2

Conversation

@Cyro292

@Cyro292 Cyro292 commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

Caps mobilerun-core[local] at <2 on develop.

Why: mobilerun-core 2.0 (mobilerun-core#83) removes mobilerun_core.connection.* and the mobilerun_core.mobilerun constants. develop still imports them (cli/options.py, cli/selection.py, config_manager.py). With the old open-ended >=1.12.0, a fresh install from develop would pick core 2.0 and crash at import once it's on PyPI.

Change: mobilerun-core[local]>=1.12.0 → >=1.12.0,<2, plus the matching uv.lock constraint (still resolves 1.12.x). No source changes.

Verified: a fresh Python 3.12 install resolves mobilerun-core==1.12.1, and import mobilerun, mobilerun.cli works.

Ticket: DRO-4147

…DRO-4147)

mobilerun-core 2.0 removes mobilerun_core.connection.* and the mobilerun_core.mobilerun constants that develop still imports. Without an upper bound, a fresh install from develop breaks at import once core 2.0 is on PyPI.
@Cyro292
Cyro292 requested a review from lutz-grex December 1, 2026 13:08

@lutz-grex lutz-grex left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct and enough: cli/options.py, cli/selection.py and config_manager.py on develop import modules that core 2.0 removes, and the lockfile change is only the constraint. Published users aren't affected, since 0.7.4 on PyPI depends on mobilerun-core-local only. Once this is merged, core 2.0.0 can be tagged.

@Cyro292
Cyro292 merged commit b8ecb33 into develop Dec 3, 2026
10 checks passed
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