From 7b8b1b194ef2da6fbcafb27794479f30638d83ce Mon Sep 17 00:00:00 2001 From: Vincent Agnano Date: Thu, 7 Sep 2023 23:20:42 +0200 Subject: [PATCH] v0.8.0 for Django 4.2 --- .travis.yml | 29 ++--------------------------- AUTHORS | 1 + README.md | 3 ++- setup.py | 2 +- 4 files changed, 6 insertions(+), 29 deletions(-) diff --git a/.travis.yml b/.travis.yml index b25d906..0514ea6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,35 +1,10 @@ language: python python: - - "2.7" - - "3.6" - - "3.7" + - "3.9" env: - - DJANGO_VERSION=1.4 - - DJANGO_VERSION=1.5 - - DJANGO_VERSION=1.10 - - DJANGO_VERSION=2.0 + - DJANGO_VERSION=4.2 install: - pip install Django==$DJANGO_VERSION - pip install requests - pip install Pillow script: python setup.py test - -# Django 2.0+ supports only Python 3.x. -matrix: - exclude: - - python: "2.6" - env: DJANGO_VERSION=2.0 - - python: "2.7" - env: DJANGO_VERSION=2.0 - - python: "3.6" - env: DJANGO_VERSION=1.4 - - python: "3.6" - env: DJANGO_VERSION=1.5 - - python: "3.6" - env: DJANGO_VERSION=1.10 - - python: "3.7" - env: DJANGO_VERSION=1.4 - - python: "3.7" - env: DJANGO_VERSION=1.5 - - python: "3.7" - env: DJANGO_VERSION=1.10 diff --git a/AUTHORS b/AUTHORS index 0237a08..f2906cd 100644 --- a/AUTHORS +++ b/AUTHORS @@ -13,3 +13,4 @@ Contributors: Michael Marx Marshal Taylor Oluwafemi Ebenezer + Nebuchadrezzar diff --git a/README.md b/README.md index e6148a5..e1defc9 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,8 @@ It preserves the original image file. It is compatible with various sources of images such as django-filebrowser's FileBrowseField, user uploaded images, static images, … -Works on Python 3.x and Python 2.6 or more; Django 1.4 > 2.0. Compatible with Django 4.0 +Works on Python 3.x; Django 4. Compatible with Django 4.2. +For previous versions of Django please refer to version 0.7.0 and previous versions of Pil. #### Benefits diff --git a/setup.py b/setup.py index 4c12641..8999deb 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name='django-imagefit', - version='0.7.0', + version='0.8.0', long_description_content_type='text/markdown', description='Render an optimized version of your original image on display. Ability to resize and crop.', long_description=open('README.md').read(),