Skip to content

pin mesa below 4#272

Merged
wang-boyu merged 1 commit intomesa:mainfrom
wang-boyu:pin-mesa-below-4
Apr 11, 2026
Merged

pin mesa below 4#272
wang-boyu merged 1 commit intomesa:mainfrom
wang-boyu:pin-mesa-below-4

Conversation

@wang-boyu
Copy link
Copy Markdown
Member

@wang-boyu wang-boyu commented Mar 29, 2026

Note

Use this template for bug fixes only. For enhancements/new features, use the feature template and get maintainer approval in an issue/discussion before opening a PR.

Pre-PR Checklist

  • This PR is a bug fix, not a new feature or enhancement.

Summary

Fixes #164.

Bug / Issue

Mesa-LLM is not yet compatible with Mesa 4. The codebase still contains Mesa 4-breaking usage such as mesa.space, model.steps, and other API assumptions that are still being worked through in separate issues and PRs.

Without this fix, users can install Mesa 4 and hit import/runtime failures even though Mesa 4 support is not complete yet.

Implementation

Pin Mesa to <4 for now by changing the dependency from:

  • mesa[rec]>=3.0

to:

  • mesa[rec]>=3.0,<4

Additional Notes

This PR does not add Mesa 4 support. It only prevents installation of an unsupported major version while the migration is coordinated separately.

@wang-boyu wang-boyu added the depedency Release notes label label Mar 29, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.20%. Comparing base (68ffd9d) to head (5061670).
⚠️ Report is 24 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #272   +/-   ##
=======================================
  Coverage   91.20%   91.20%           
=======================================
  Files          19       19           
  Lines        1592     1592           
=======================================
  Hits         1452     1452           
  Misses        140      140           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 29, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 13ad78e7-849f-440f-b245-f66c9f913d3b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@wang-boyu wang-boyu merged commit a3876b1 into mesa:main Apr 11, 2026
15 checks passed
@wang-boyu wang-boyu deleted the pin-mesa-below-4 branch April 11, 2026 02:06
@wang-boyu wang-boyu added the maintenance Release notes label label Apr 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

depedency Release notes label maintenance Release notes label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Version mismatch

1 participant