Skip to content

Remove mesa.space#3337

Merged
quaquel merged 13 commits intomesa:mainfrom
quaquel:remove_space
Feb 18, 2026
Merged

Remove mesa.space#3337
quaquel merged 13 commits intomesa:mainfrom
quaquel:remove_space

Conversation

@quaquel
Copy link
Copy Markdown
Member

@quaquel quaquel commented Feb 17, 2026

This PR removes mesa.space and agent.pos and all uses of it throughout mesa.

It interacts with #3323 on the visualization side.

this removes mesa.space and agent.pos and all uses of it it
@quaquel quaquel added the breaking Release notes label label Feb 17, 2026
@github-actions
Copy link
Copy Markdown

Performance benchmarks:

Model Size Init time [95% CI] Run time [95% CI]
BoltzmannWealth small 🔵 -2.1% [-2.7%, -1.4%] 🔵 -3.0% [-3.3%, -2.6%]
BoltzmannWealth large 🔵 -0.3% [-0.8%, +0.1%] 🔵 +1.0% [-0.7%, +2.6%]
Schelling small 🔵 +0.4% [-0.0%, +0.9%] 🔵 +0.2% [+0.0%, +0.5%]
Schelling large 🔵 +0.9% [+0.4%, +1.4%] 🔴 +5.4% [+3.3%, +7.8%]
WolfSheep small 🔵 +2.1% [+1.7%, +2.4%] 🔵 +3.0% [+2.8%, +3.2%]
WolfSheep large 🔵 +1.2% [+0.7%, +1.7%] 🔵 +3.1% [+2.7%, +3.5%]
BoidFlockers small 🔵 -3.2% [-3.5%, -2.9%] 🔴 +8.8% [+8.6%, +9.0%]
BoidFlockers large 🟢 -3.5% [-4.0%, -3.1%] 🔵 +2.0% [+1.8%, +2.3%]

@quaquel
Copy link
Copy Markdown
Member Author

quaquel commented Feb 18, 2026

I opened #322 on mesa-examples listing the examples that must be updated in line with this PR.

Copy link
Copy Markdown
Member

@EwoutH EwoutH left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks for the Mesa-examples issue.

What’s your plan for the core examples in this repo?

At some point we should also write migration guide, update tutorial, etc.

@quaquel
Copy link
Copy Markdown
Member Author

quaquel commented Feb 18, 2026

What’s your plan for the core examples in this repo?

They already moved away from mesa.spacewhen we added the deprecation warning. So nothing needs to be done.

At some point we should also write migration guide, update tutorial, etc.

I suggest we try to make simple changes where appropriate (see, for example, the removal of model steps). However, there will be an accumulation of changes coming, so it might be better to rewrite those completely once we are preparing the beta release of Mesa 4.

@quaquel quaquel merged commit 98d6f1a into mesa:main Feb 18, 2026
14 of 15 checks passed
@quaquel quaquel deleted the remove_space branch February 19, 2026 14:41
Krishsharma179 pushed a commit to Krishsharma179/mesa that referenced this pull request Feb 21, 2026
@EwoutH EwoutH mentioned this pull request Mar 13, 2026
42 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking Release notes label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants