You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by mi...@apache.org on 2019/11/12 19:31:54 UTC

[beam] branch release-2.17.0 updated: [BEAM-8368] [BEAM-8392] Update pyarrow to the latest version 0.15.1 (#9970)

This is an automated email from the ASF dual-hosted git repository.

mikhail pushed a commit to branch release-2.17.0
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/release-2.17.0 by this push:
     new b18def5  [BEAM-8368] [BEAM-8392] Update pyarrow to the latest version 0.15.1 (#9970)
     new e6cfb11  Merge pull request #9986 from aaltay/xyz
b18def5 is described below

commit b18def523c9f9c6a0c343f127dabd0852bcea059
Author: Ahmet Altay <aa...@gmail.com>
AuthorDate: Mon Nov 4 14:41:19 2019 -0800

    [BEAM-8368] [BEAM-8392] Update pyarrow to the latest version 0.15.1 (#9970)
    
    [BEAM-8368] [BEAM-8392] Update pyarrow to the latest version 0.15.1 (#9970)
---
 sdks/python/apache_beam/io/parquetio_test.py | 3 ++-
 sdks/python/setup.py                         | 5 +----
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/sdks/python/apache_beam/io/parquetio_test.py b/sdks/python/apache_beam/io/parquetio_test.py
index 824341e..34f8eba 100644
--- a/sdks/python/apache_beam/io/parquetio_test.py
+++ b/sdks/python/apache_beam/io/parquetio_test.py
@@ -448,7 +448,8 @@ class TestParquet(unittest.TestCase):
   def test_selective_columns(self):
     file_name = self._write_data()
     orig = self._records_as_arrow()
-    expected_result = [pa.Table.from_arrays([orig.column('name')])]
+    expected_result = [pa.Table.from_arrays([orig.column('name')],
+                                            names=['name'])]
     self._run_parquet_test(file_name, ['name'], None, False, expected_result)
 
   def test_sink_transform_multiple_row_group(self):
diff --git a/sdks/python/setup.py b/sdks/python/setup.py
index c19a2c0..7b4fc97 100644
--- a/sdks/python/setup.py
+++ b/sdks/python/setup.py
@@ -120,10 +120,7 @@ REQUIRED_PACKAGES = [
     'oauth2client>=2.0.1,<4',
     'protobuf>=3.5.0.post1,<4',
     # [BEAM-6287] pyarrow is not supported on Windows for Python 2
-    # [BEAM-8392] pyarrow 0.14.0 and 0.15.0 triggers an exception when importing
-    # apache_beam on macOS 10.15. Update version bounds as soon as the fix is
-    # ready
-    ('pyarrow>=0.11.1,<0.14.0; python_version >= "3.0" or '
+    ('pyarrow>=0.15.1,<0.16.0; python_version >= "3.0" or '
      'platform_system != "Windows"'),
     'pydot>=1.2.0,<2',
     'python-dateutil>=2.8.0,<3',