Skip to content

v3.0 alpha 2 (pre-release)

Pre-release
Pre-release
Compare
Choose a tag to compare
@EwoutH EwoutH released this 22 Aug 06:30
· 314 commits to main since this release
379c580

Highlights

In Mesa 3.0 alpha 2 (v3.0.0a2) we've done more clean-up in preparation for Mesa 3.0. We now require super().__init__() to run on initializing a Mesa model subclass and fixed a bug in our Solara space_drawer.

A new feature was added in #2219, which now also allows AgentSet.do() to take any callable function, instead of only a string referencing to an Agent method. The argument name was changed from method_name to method.

We're also working hard on our example models. All model warnings were resolved and we've replaced a lot of schedulers with simpler and more flexible AgentSet functionality. Checkout our open issues if you want to help improve our example models further!

You can update to this version as usual with pip install mesa --upgrade --pre.

What's Changed

⚠️ Breaking changes

  • Allow AgentSet.do() to take Callable function by @quaquel in #2219
  • Require Mesa models to be initialized with super().__init__() by @EwoutH in #2218
  • breaking: Add dependencies argument to custom space_drawer by @rht in #2209

🧪 Experimental enhancement

  • devs/eventlist: Add repr method to print EventList pretty by @EwoutH in #2195

📜 Documentation improvements

  • docs: Update Readme and tutorials to mention Mesa 3.0 pre-releases by @EwoutH in #2203

🔧 Maintenance

  • CI: Let pytest treat warnings as errors for examples by @EwoutH in #2204
  • docs/conf.py: Use modern intersphinx_mapping format by @EwoutH in #2206

Full Changelog: v3.0.0a1...v3.0.0a2