UDST / pandana

Pandas Network Analysis by UrbanSim: fast accessibility metrics and shortest paths, using contraction hierarchies :world_map:
http://udst.github.io/pandana
GNU Affero General Public License v3.0
385 stars 84 forks source link

Using Pandana in older versions of Python #145

Open smmaurer opened 4 years ago

smmaurer commented 4 years ago

Writing this up based on a Slack discussion with @sablanchard, who noticed that Conda Forge stopped building Pandana for older versions of Python.

Looking into it, Conda Forge policy was to stop building for Python 3.5 in Oct 2018, and to stop building for Python 2.7 in Mar 2020. (https://conda-forge.org/docs/user/announcements.html)

This seems reasonable to me. Python 2.7 is no longer supported by any major packages, and switching from Python 3.5 to 3.6+ should be seamless for users.

What binaries are available?

This means that for Pandana v0.5.x, we distribute binaries on Conda Forge for the following environments:

The last version of Pandana with binaries for Python 2.7 is v0.4.4, on Conda Forge.

The last version of Pandana with binaries for Python 3.5 is v0.3, on Pip.

Additional compatibility if you compile your own binaries

The actual code in Pandana v0.5 still works fine with Python 2.7 and 3.5, although I don't think we'll go out of our way to support them going forward. You just need to compile the C++ locally when you install. There are instructions for this in the documentation.

And note that all the binaries mentioned above are for x86-64. We'll cross the ARM bridge when we come to it..

To do