diff --git a/HISTORY.md b/HISTORY.md index a48ad88b..804c6b30 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,6 +1,32 @@ Release History --------------- +## 0.7.0 (2024-01-17) + +### Special Notes + +- Update Mesa dependency to v2.2 +- The pinning of Mesa is now on the major version, instead of the minor version. This means that Mesa-Geo v0.7.0 will work with Mesa v2.2, v2.3, v2.4, etc. but not with Mesa v3.0 or later. + +### 🛠 Enhancements made + +* create and update rtree spatial index only when needed by @wang-boyu in https://github.com/projectmesa/mesa-geo/pull/179 + +### 🔧 Maintenance + +* fix link to examples by @wang-boyu in https://github.com/projectmesa/mesa-geo/pull/167 +* Correct link to GeoSchelling example and update copyright string by @Holzhauer in https://github.com/projectmesa/mesa-geo/pull/175 +* fix rtd build error and upgrade to python 3.9 by @wang-boyu in https://github.com/projectmesa/mesa-geo/pull/176 +* update pre-commit and ga workflows to be consistent with mesa by @wang-boyu in https://github.com/projectmesa/mesa-geo/pull/181 +* add config file to automatically generate release notes by @wang-boyu in https://github.com/projectmesa/mesa-geo/pull/184 +* update ga workflows to be consistent with mesa by @wang-boyu in https://github.com/projectmesa/mesa-geo/pull/185 + +## New Contributors + +* @Holzhauer made their first contribution in https://github.com/projectmesa/mesa-geo/pull/175 + +**Full Changelog**: https://github.com/projectmesa/mesa-geo/compare/v0.6.0...v0.7.0 + ## 0.6.0 (2023-09-13) ### Special Notes diff --git a/docs/conf.py b/docs/conf.py index 69de56d2..292b5508 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -66,9 +66,9 @@ # built documents. # # The short X.Y version. -version = "0.6.0" +version = "0.7.0" # The full version, including alpha/beta/rc tags. -release = "0.6.0" +release = "0.7.0" # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/mesa_geo/__init__.py b/mesa_geo/__init__.py index 2b2fb38c..3fecc6d6 100644 --- a/mesa_geo/__init__.py +++ b/mesa_geo/__init__.py @@ -24,7 +24,7 @@ ] __title__ = "Mesa-Geo" -__version__ = "0.6.0" +__version__ = "0.7.0" __license__ = "Apache 2.0" _this_year = datetime.datetime.now(tz=datetime.timezone.utc).date().year __copyright__ = f"Copyright {_this_year} Project Mesa-Geo Team" diff --git a/mesa_geo/raster_layers.py b/mesa_geo/raster_layers.py index 9ccb2238..8bf077e6 100644 --- a/mesa_geo/raster_layers.py +++ b/mesa_geo/raster_layers.py @@ -9,14 +9,8 @@ import itertools import math import uuid -from typing import ( - Any, - Iterable, - Iterator, - Sequence, - cast, - overload, -) +from collections.abc import Iterable, Iterator, Sequence +from typing import Any, cast, overload import numpy as np import rasterio as rio diff --git a/pyproject.toml b/pyproject.toml index 1252b212..a17770b2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ requires = [ "setuptools", "wheel", - "mesa~=2.1.0", + "mesa~=2.2", ] build-backend = "setuptools.build_meta" @@ -54,5 +54,5 @@ extend-ignore = [ "ISC001", # ruff format asks to disable this feature ] extend-exclude = ["docs", "build"] -# Hardcode to Python 3.8. -target-version = "py38" \ No newline at end of file +# Hardcode to Python 3.9. +target-version = "py39" \ No newline at end of file diff --git a/setup.cfg b/setup.cfg index 45028137..4af7ad02 100644 --- a/setup.cfg +++ b/setup.cfg @@ -26,7 +26,7 @@ classifiers = Natural Language :: English [options] -python_requires = >=3.8 +python_requires = >=3.9 packages = find: include_package_data = True install_requires =