Pandana has accumulated some weighty dependencies that are not required for its core functionality of numerical calculation for simulations. In this release we're trying to slim things down.
Drops the scikit-learn dependency by using an equivalent scipy function in network.get_node_ids()
Makes matplotlib an optional install -- basemap was already optional because of deprecation issues, so this makes things consistent and also prints a helpful message when users run network.plot() with matplotlib or basemap missing
Makes osmnet optional as well -- osmnet lets users load data directly from OSM, but it requires the whole geospatial python stack (fiona, shapely, etc) and often causes installation problems
Testing
Updates the Travis script for Python 3.8
Pins pytest-cov to an earlier version to resolve an incompatibility with coveralls, similar to this
Changes a pep8 reference to pycodestyle
Fixes a bug in setup.py that made it hard to run tests locally -- now you can run them with python setup.py test
This PR prepares the v0.5 release, per issue #139.
Bug fixes
Versioning and docs
network.aggregate()
, per issue #128Dependencies
Pandana has accumulated some weighty dependencies that are not required for its core functionality of numerical calculation for simulations. In this release we're trying to slim things down.
scikit-learn
dependency by using an equivalentscipy
function innetwork.get_node_ids()
matplotlib
an optional install --basemap
was already optional because of deprecation issues, so this makes things consistent and also prints a helpful message when users runnetwork.plot()
withmatplotlib
orbasemap
missingosmnet
optional as well --osmnet
lets users load data directly from OSM, but it requires the whole geospatial python stack (fiona
,shapely
, etc) and often causes installation problemsTesting
pytest-cov
to an earlier version to resolve an incompatibility withcoveralls
, similar to thispep8
reference topycodestyle
setup.py
that made it hard to run tests locally -- now you can run them withpython setup.py test
Next steps