beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Work logged] (BEAM-1251) Python 3 Support
Date Fri, 09 Mar 2018 20:57:00 GMT


ASF GitHub Bot logged work on BEAM-1251:

                Author: ASF GitHub Bot
            Created on: 09/Mar/18 20:56
            Start Date: 09/Mar/18 20:56
    Worklog Time Spent: 10m 
      Work Description: aaltay closed pull request #4835: [BEAM-1251] Change unicode -->
six.text_type for Python 3 - again

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/sdks/python/apache_beam/io/gcp/ b/sdks/python/apache_beam/io/gcp/
index c6d93d03af9..d5afee95580 100644
--- a/sdks/python/apache_beam/io/gcp/
+++ b/sdks/python/apache_beam/io/gcp/
@@ -26,6 +26,8 @@
 import re
+from six import text_type
 from apache_beam import coders
 from import Read
 from import Write
@@ -184,7 +186,7 @@ def expand(self, pcoll):
          | _ReadFromPubSub(self.topic, self.subscription, self.id_label,
          | 'DecodeString' >> Map(lambda b: b.decode('utf-8')))
-    p.element_type = unicode
+    p.element_type = text_type
     return p


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

Issue Time Tracking

    Worklog Id:     (was: 79018)
    Time Spent: 6h 20m  (was: 6h 10m)

> Python 3 Support
> ----------------
>                 Key: BEAM-1251
>                 URL:
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-py-core
>            Reporter: Eyad Sibai
>            Priority: Trivial
>          Time Spent: 6h 20m
>  Remaining Estimate: 0h
> I have been trying to use google datalab with python3. As I see there are several packages
that does not support python3 yet which google datalab depends on. This is one of them.

This message was sent by Atlassian JIRA

View raw message