diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 4621a323..4c57572a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -24,6 +24,11 @@ SFTP - Add implementations of ``get_(modified|accessed)_time`` (`#1347`_) +Dropbox +------- + +- Add support for Python 3.12 (`#1421`_) + .. _#1399: https://github.com/jschneier/django-storages/pull/1399 .. _#1381: https://github.com/jschneier/django-storages/pull/1381 .. _#1402: https://github.com/jschneier/django-storages/pull/1402 @@ -32,6 +37,7 @@ SFTP .. _#1417: https://github.com/jschneier/django-storages/pull/1417 .. _#1418: https://github.com/jschneier/django-storages/pull/1418 .. _#1347: https://github.com/jschneier/django-storages/pull/1347 +.. _#1421: https://github.com/jschneier/django-storages/pull/1421 1.14.3 (2024-05-04) diff --git a/pyproject.toml b/pyproject.toml index 3182e60a..9e29b4f8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,7 +51,7 @@ boto3 = [ "boto3>=1.4.4", ] dropbox = [ - "dropbox>=7.2.1; python_version<'3.12'", + "dropbox>=7.2.1", ] google = [ "google-cloud-storage>=1.27", diff --git a/tests/test_dropbox.py b/tests/test_dropbox.py index 7dd24c89..d7c3268a 100644 --- a/tests/test_dropbox.py +++ b/tests/test_dropbox.py @@ -1,15 +1,7 @@ import io -import sys from datetime import datetime -from unittest import SkipTest from unittest import mock -if sys.version_info >= (3, 12, 0): - raise SkipTest( - "dropbox library does not support Python 3.12+. " - "Skipping all tests in test_dropbox.py" - ) - from django.core.exceptions import ImproperlyConfigured from django.core.exceptions import SuspiciousFileOperation from django.core.files.base import File