Mesa-geo

Latest version: v0.9.0

Safety actively analyzes 701396 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.9.0

What's Changed

🐛 Bugs fixed

* fix links to readthedocs site by wang-boyu in https://github.com/projectmesa/mesa-geo/pull/257
* fix broken mesa dependencies in GeoJupyterViz by AdamZh0u in https://github.com/projectmesa/mesa-geo/pull/269

🔧 Maintenance

* rename make_geospace_leaflet to make_geospace_component by wang-boyu in https://github.com/projectmesa/mesa-geo/pull/270
* update make_plot_measure method name from mesa viz by wang-boyu in https://github.com/projectmesa/mesa-geo/pull/264
* Require Mesa 3.0 stable by EwoutH in https://github.com/projectmesa/mesa-geo/pull/260

**Full Changelog**: https://github.com/projectmesa/mesa-geo/compare/v0.9.0a1...v0.9.0

0.9.0a1

Highlights
This small pre-release fixes a bug in the RasterLayer rendering and deprecated the old GeoJupyterViz, in favor of the new SolaraViz.

What's Changed

🐛 Bugs fixed
* fix raster layer rendering in solaraviz by wang-boyu in https://github.com/projectmesa/mesa-geo/pull/254
📜 Documentation improvements
* Deprecate geojupyterviz and update intro tutorial by wang-boyu in https://github.com/projectmesa/mesa-geo/pull/255

**Full Changelog**: https://github.com/projectmesa/mesa-geo/compare/v0.9.0a0...v0.9.0a1

0.9.0a0

Highlights
The Mesa-geo `v0.9.0a0` pre-release is the first Mesa-geo version compatible with Mesa 3.0.

One of the most notable changes is the automatic assignment of unique IDs to agents. This eliminates the need for manual ID specification, simplifying agent creation. For example, where you previously might have initialized an agent with:

python
agent = MyGeoAgent(unique_id=1, model=model, geometry=point, crs="EPSG:4326")


You now simply omit the `unique_id`:

python
agent = MyGeoAgent(model=model, geometry=point, crs="EPSG:4326")


Mesa-geo can now directly use Mesa 3.0's SolaraViz visualisation, with an additional `make_geospace_leaflet` method to support geospaces. The new visualization can be used like:

python
from mesa.visualization import SolaraViz
import mesa_geo.visualization as mgv

model = GeoSIR()
SolaraViz(
model,
name="GeoSIR",
components=[
mgv.make_geospace_leaflet(SIR_draw, zoom=12, scroll_wheel_zoom=False),
mesa.visualization.make_plot_measure(["infected", "susceptible", "recovered", "dead"]),
mesa.visualization.make_plot_measure(["safe", "hotspot"]),
]
)


The `v0.9.0a0` pre-release is a snapshot release to allow starting testing against Mesa 3.0, and might introduce new breaking changes in upcoming (pre-)releases.

What's Changed
⚠️ Breaking changes
* Require Mesa 3.0 by EwoutH in https://github.com/projectmesa/mesa-geo/pull/244
* Automatically assign unique_id's by EwoutH in https://github.com/projectmesa/mesa-geo/pull/248
🛠 Enhancements made
* add method to make geospace as a solara component by wang-boyu in https://github.com/projectmesa/mesa-geo/pull/246
🐛 Bugs fixed
* raster_layer: Don't pass unique_id to Agent in Cell by EwoutH in https://github.com/projectmesa/mesa-geo/pull/249
📜 Documentation improvements
* Readthedocs: Don't let notebook failures pass silently by EwoutH in https://github.com/projectmesa/mesa-geo/pull/250
* intro tutorial: Remove unique_id from Agent init by EwoutH in https://github.com/projectmesa/mesa-geo/pull/251

**Full Changelog**: https://github.com/projectmesa/mesa-geo/compare/v0.8.1...v0.9.0a0

0.8.1

Highlights
Mesa-Geo 0.8.1 is a small patch release containing a single feature, a documentation update and a bug fixed.

The real novelty is that from now on, all GIS examples on [Mesa-examples](https://github.com/projectmesa/mesa-examples) are tested in CI against Mesa-Geo. We fixed 16 bugs in the 7 GIS example models ([mesa-examples#172](https://github.com/projectmesa/mesa-examples/issues/172)), which are now available on two branches:
- On the `main` branch [GIS examples](https://github.com/projectmesa/mesa-examples/tree/main/gis) can be found will keep being updated for the latest Mesa and Mesa-Geo versions.
- On the `mesa-2.x` branch [GIS examples](https://github.com/projectmesa/mesa-examples/tree/mesa-2.x/gis) examples can be found that keep working with Mesa 2.x and Mesa-Geo 0.8.x.

The Mesa-Geo 0.8.x. series is compatible with Mesa 2.3.x. The next Mesa-Geo release series, 0.9.x, will be compatible with with Mesa 3.0.

What's Changed
🎉 New features added
* Expose rasterio's opener argument in Rasterlayer.from_file by EwoutH in https://github.com/projectmesa/mesa-geo/pull/237
🐛 Bugs fixed
* add model parameter in RasterLayer class method by wang-boyu in https://github.com/projectmesa/mesa-geo/pull/240
📜 Documentation improvements
* Update intro_tutorial.ipynb by tpike3 in https://github.com/projectmesa/mesa-geo/pull/234
🔧 Maintenance
* Add test script for GIS examples and run that in CI by EwoutH in https://github.com/projectmesa/mesa-geo/pull/241

**Full Changelog**: https://github.com/projectmesa/mesa-geo/compare/v0.8.0...v0.8.1

0.8.0

Highlights

- The Tornado visualization server is removed and replaced with SolaraViz, which also works within Jupyter notebooks (https://github.com/projectmesa/mesa-geo/pull/212). This is in line with Mesa's recent changes to use Solara for visualization.
- The [Introductory Tutorial](https://mesa-geo.readthedocs.io/en/stable/tutorials/intro_tutorial.html) has been fully rewritten for Mesa-Geo 0.8.0
- The 0.8.x series are the releases compatible with Mesa 2.3.x. The next major release will be compatible with Mesa 3.0+.

🎉 New features added

* Update mesa-geo to sync with mesa >=2.3.0 by tpike3 in https://github.com/projectmesa/mesa-geo/pull/212

🛠 Enhancements made

* Update tutorial and viz by tpike3 in https://github.com/projectmesa/mesa-geo/pull/217

📜 Documentation improvements

* fix links and installation instructions in README file by wang-boyu in https://github.com/projectmesa/mesa-geo/pull/213
* .readthedocs.yaml: Use latest Ubuntu and Python versions by EwoutH in https://github.com/projectmesa/mesa-geo/pull/221
* docs: update conf.py to be in sync with mesa by wang-boyu in https://github.com/projectmesa/mesa-geo/pull/223
* docs: remove api docs entry for removed visualization module by wang-boyu in https://github.com/projectmesa/mesa-geo/pull/224
* Fix kernel issue by tpike3 in https://github.com/projectmesa/mesa-geo/pull/229
* Remove cell output by tpike3 in https://github.com/projectmesa/mesa-geo/pull/231

🔧 Maintenance

* Update configuration, metadata and tests by tpike3 in https://github.com/projectmesa/mesa-geo/pull/208
* fix: Use correct package name for Pip by rht in https://github.com/projectmesa/mesa-geo/pull/214
* pyproject.toml: Always use latest ruff by EwoutH in https://github.com/projectmesa/mesa-geo/pull/219
* pyproject.toml: Use mesa version smaller than 3 for now by EwoutH in https://github.com/projectmesa/mesa-geo/pull/220
* CI: Add job to test with pre-release dependencies, including Mesa by EwoutH in https://github.com/projectmesa/mesa-geo/pull/218

**Full Changelog**: https://github.com/projectmesa/mesa-geo/compare/v0.7.1...v0.8.0

0.7.1

🐛 Bugs fixed

* fix: remove old map layers before rendering new layers by wang-boyu in https://github.com/projectmesa/mesa-geo/pull/194 (thanks rw73mg for reporting)

**Full Changelog**: https://github.com/projectmesa/mesa-geo/compare/v0.7.0...v0.7.1

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.