File: exclude-gcs.patch

package info (click to toggle)
smart-open 7.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 980 kB
  • sloc: python: 8,054; sh: 90; makefile: 14
file content (27 lines) | stat: -rw-r--r-- 880 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From: Sao I Kuan <saoikuan@gmail.com>
Date: Sat, 16 Oct 2021 15:15:06 +0530
Subject: Exclude the GCS

Forwarded: not-needed
Last-Update: 2020-04-11

Exclude the GCS (Google Cloud Storage) support, due to the runtime
dependency (google-cloud-storage) is not packaged in Debian.

This patch should be removed after the dependency is packaged.
---
 smart_open/transport.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/smart_open/transport.py b/smart_open/transport.py
index 35b5353..5ab4bb2 100644
--- a/smart_open/transport.py
+++ b/smart_open/transport.py
@@ -96,7 +96,6 @@ def get_transport(scheme):
 register_transport(smart_open.local_file)
 register_transport("smart_open.azure")
 register_transport("smart_open.ftp")
-register_transport("smart_open.gcs")
 register_transport("smart_open.hdfs")
 register_transport("smart_open.http")
 register_transport("smart_open.s3")