From c4c60ec8739a0fc87adeb925c9ff90ca2222bab5 Mon Sep 17 00:00:00 2001 From: Phil Gyford Date: Mon, 11 Dec 2023 18:49:40 +0000 Subject: [PATCH] Allowed use of Pillow v10 and django-imagekit v5.0 --- CHANGELOG.md | 1 + setup.py | 14 ++++++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index da94fa2..6b8891b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- Allowed use of Pillow v10 and django-imagekit v5.0 - Switched from using flake8 and black for linting and formatting to ruff ## [3.1.0] - 2023-06-20 diff --git a/setup.py b/setup.py index 2074e86..f5b7592 100644 --- a/setup.py +++ b/setup.py @@ -69,16 +69,16 @@ def get_author_email(): sys.exit() dev_require = [ - "django-debug-toolbar>=2.0,<5.0", + "django-debug-toolbar", "python-dotenv", "ruff", "unittest-parametrize", ] tests_require = dev_require + [ - "factory-boy>=2.12.0,<4.0", - "freezegun>=0.3.12,<2.0", - "responses>=0.10.7,<1.0", + "factory-boy", + "freezegun", + "responses", "coverage[toml]", ] @@ -87,11 +87,13 @@ def get_author_email(): version=get_version(), packages=["ditto"], install_requires=[ - "django-imagekit>=4.0,<4.2", + "django-imagekit>=4.0,<6.0", "django-sortedm2m>=3.0.0,<3.2", + # django-taggit 5.0 removes support for Django 3.2, so update this when we + # drop Django 3.2: "django-taggit>=3.0.0,<5.0", "flickrapi>=2.4,<2.5", - "pillow>=8.0.0,<10.0", + "pillow>=9.0.0,<11.0", "twitter-text-python>=1.1.1,<1.2", "twython>=3.7.0,<3.10", ],