You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Robbe (JIRA)" <ji...@apache.org> on 2019/04/03 10:34:00 UTC

[jira] [Updated] (BEAM-6985) Native type compatibility tests fail on Python 3.7+

     [ https://issues.apache.org/jira/browse/BEAM-6985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robbe updated BEAM-6985:
------------------------
    Description: 
 
{noformat}
The following tests are failing:

test_convert_nested_to_beam_type (apache_beam.typehints.native_type_compatibility_test.NativeTypeCompatibilityTest) test_convert_to_beam_type (apache_beam.typehints.native_type_compatibility_test.NativeTypeCompatibilityTest) test_convert_to_beam_types (apache_beam.typehints.native_type_compatibility_test.NativeTypeCompatibilityTest)
With similar errors, where `typing.<Type> != <Type>`. eg:
 FAIL: test_convert_to_beam_type (apache_beam.typehints.native_type_compatibility_test.NativeTypeCompatibilityTest)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
 File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/typehints/native_type_compatibility_test.py", line 79, in test_convert_to_beam_type
 beam_type, description)
 AssertionError: typing.Dict[bytes, int] != Dict[bytes, int] : simple dict
{noformat}
 

  was:
The following tests are failing:
 * test_convert_nested_to_beam_type (apache_beam.typehints.native_type_compatibility_test.NativeTypeCompatibilityTest)
 * test_convert_to_beam_type (apache_beam.typehints.native_type_compatibility_test.NativeTypeCompatibilityTest)
 * test_convert_to_beam_types (apache_beam.typehints.native_type_compatibility_test.NativeTypeCompatibilityTest)

With similar errors, where `typing.<Type> != <Type>`. eg:
FAIL: test_convert_to_beam_type (apache_beam.typehints.native_type_compatibility_test.NativeTypeCompatibilityTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/typehints/native_type_compatibility_test.py", line 79, in test_convert_to_beam_type
    beam_type, description)
AssertionError: typing.Dict[bytes, int] != Dict[bytes, int] : simple dict


> Native type compatibility tests fail on Python 3.7+
> ---------------------------------------------------
>
>                 Key: BEAM-6985
>                 URL: https://issues.apache.org/jira/browse/BEAM-6985
>             Project: Beam
>          Issue Type: Sub-task
>          Components: sdk-py-core
>            Reporter: Robbe
>            Priority: Major
>
>  
> {noformat}
> The following tests are failing:
> test_convert_nested_to_beam_type (apache_beam.typehints.native_type_compatibility_test.NativeTypeCompatibilityTest) test_convert_to_beam_type (apache_beam.typehints.native_type_compatibility_test.NativeTypeCompatibilityTest) test_convert_to_beam_types (apache_beam.typehints.native_type_compatibility_test.NativeTypeCompatibilityTest)
> With similar errors, where `typing.<Type> != <Type>`. eg:
>  FAIL: test_convert_to_beam_type (apache_beam.typehints.native_type_compatibility_test.NativeTypeCompatibilityTest)
>  ----------------------------------------------------------------------
>  Traceback (most recent call last):
>  File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/typehints/native_type_compatibility_test.py", line 79, in test_convert_to_beam_type
>  beam_type, description)
>  AssertionError: typing.Dict[bytes, int] != Dict[bytes, int] : simple dict
> {noformat}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)