Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Redis Sentinel #133

Merged
merged 8 commits into from
Jun 28, 2022
Merged

Add support for Redis Sentinel #133

merged 8 commits into from
Jun 28, 2022

Commits on Jun 7, 2022

  1. Django 3.2 released, drop Django 3.1.

    dracos authored and sagepe committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    e27d5ea View commit details
    Browse the repository at this point in the history
  2. Move python packages to requirements.

    dracos authored and sagepe committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    2ea1bf8 View commit details
    Browse the repository at this point in the history
  3. Update supported Django/python versions.

    Add Django 3.2, drop Django 1.11 and 3.1.
    Drop Python 2 support, and therefore six.
    
    Set Django 3.2 as the 'installed' version.
    dracos authored and sagepe committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    36bb708 View commit details
    Browse the repository at this point in the history
  4. Updated xlrd and install pyexcel-xlsx

    xlrd needs updating for recent Python versions, but the version that
    supports Python 3.9 no longer handles XLSX files.
    
    This removes the constraint on xlrd and adds a new pyexcel-xlsx plugin
    as well as setting this for .xslx files.
    sagepe committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    1f07870 View commit details
    Browse the repository at this point in the history
  5. Python 3 deploy.

    We can just use the venv module to create the virtualenv, rather than
    needing an additional package installed.
    dracos authored and sagepe committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    58ca42c View commit details
    Browse the repository at this point in the history
  6. Redis: Initial support for Redis Sentinel

    This adds basic support for using Redis Sentinel to mediate connections
    to the primary Redis server used by the API functionality.
    
    Setting `REDIS_SENTINEL_HOSTS` to a dict of "'host': port" key/values
    will override any settings for `REDIS_DB_HOST` and `REDIS_DB_PORT` with
    values provided by Sentinel.
    
    Fixes #132
    sagepe committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    2144c39 View commit details
    Browse the repository at this point in the history
  7. Deal with some Django 4 deprecations.

    dracos authored and sagepe committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    764b1a1 View commit details
    Browse the repository at this point in the history
  8. Remove legacy gdal version check and environment variables

    Debian Stretch is very close to the end of LTS support, so we no longer
    need to check for GDAL 2.1.2, the version packaged on Debian Stretch,
    and instead install 2.1.3, the nearest version available in PyPI.
    
    In addition, settting environment variables no longer appears to be
    needed, so this removes these.
    sagepe committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    4145c31 View commit details
    Browse the repository at this point in the history