1 diff --git a/streaming_form_data/targets.py b/streaming_form_data/targets.py
2 index a399f3a..b816714 100644
3 --- a/streaming_form_data/targets.py
4 +++ b/streaming_form_data/targets.py
7 from pathlib import Path
8 -import smart_open # type: ignore
9 from typing import Callable, List, Optional
12 @@ -164,6 +163,7 @@ class S3Target(BaseTarget):
13 S3Target enables chunked uploads to S3 buckets (using smart_open)"""
15 def __init__(self, file_path, mode, transport_params=None, **kwargs):
16 + raise Exception("Nixpkgs: disabled")
17 super().__init__(**kwargs)
19 self._file_path = file_path
20 diff --git a/tests/test_targets.py b/tests/test_targets.py
21 index 0cc79ab..78ab40b 100644
22 --- a/tests/test_targets.py
23 +++ b/tests/test_targets.py
24 @@ -2,8 +2,6 @@ import os.path
28 -from moto import mock_s3
31 from streaming_form_data.targets import (
33 @@ -271,6 +269,7 @@ def mock_client():
38 def test_s3_upload(mock_client):
40 path = f"s3://{BUCKET_NAME}/{test_key}"