geodesign / django-raster

Django-raster allows you to create tiled map services (TMS) and raster map algebra end points for web maps. It is Python-based, and requires GeoDjango with a PostGIS backend.
BSD 3-Clause "New" or "Revised" License
96 stars 39 forks source link

Django 3 Compatibility #46

Closed bluespider42 closed 4 years ago

bluespider42 commented 4 years ago

Package six has been removed from Django3

File "/usr/local/lib/python3.8/site-packages/raster/models.py", line 18, in <module> from raster.utils import hex_to_rgba File "/usr/local/lib/python3.8/site-packages/raster/utils.py", line 7, in <module> from django.utils import six ImportError: cannot import name 'six' from 'django.utils' (/usr/local/lib/python3.8/site-packages/django/utils/__init__.py)

yellowcap commented 4 years ago

This was already addressed here https://github.com/geodesign/django-raster/commit/b257c7cb76ad28a9e4e3c7e985c310c55b35b0bb but I did not draft a release yet. I'll make a new release today.

yellowcap commented 4 years ago

This should be fixed now with latest release. https://pypi.org/project/django-raster/0.8/