Skip to content

Commit

Permalink
[dropbox] Add support for Python3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
jschneier committed Jul 6, 2024
1 parent 4cd12e0 commit be6dd8f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
8 changes: 0 additions & 8 deletions tests/test_dropbox.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit be6dd8f

Please sign in to comment.