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-6987) Typehints NativeTypesTest fails on
Python 3.7+
[ https://issues.apache.org/jira/browse/BEAM-6987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robbe updated BEAM-6987:
------------------------
Description:
The following tests are failing:
* test_bad_main_input (apache_beam.typehints.typed_pipeline_test.NativeTypesTest)
* test_bad_main_output (apache_beam.typehints.typed_pipeline_test.NativeTypesTest)
* test_good_main_input (apache_beam.typehints.typed_pipeline_test.NativeTypesTest)
With the following error:
{noformat}
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/typed_pipeline_test.py", line 137, in test_bad_main_output
[(5, 4), (3, 2)] | beam.Map(munge) | 'Again' >> beam.Map(munge)
File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/transforms/ptransform.py", line 510, in _ror_
result = p.apply(self, pvalueish, label)
File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/pipeline.py", line 514, in apply
transform.type_check_inputs(pvalueish)
File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/transforms/ptransform.py", line 760, in type_check_inputs
bindings.get(arg, typehints.Any), hint):
File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/typehints/typehints.py", line 1131, in is_consistent_with
return base.consistent_with_check(sub)
File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/typehints/typehints.py", line 135, in consistent_with_check
raise NotImplementedError
NotImplementedError{noformat}
was:
The following tests are failing:
* test_bad_main_input (apache_beam.typehints.typed_pipeline_test.NativeTypesTest)
* test_bad_main_output (apache_beam.typehints.typed_pipeline_test.NativeTypesTest)
* test_good_main_input (apache_beam.typehints.typed_pipeline_test.NativeTypesTest)
With the following error:
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/typed_pipeline_test.py", line 137, in test_bad_main_output
[(5, 4), (3, 2)] | beam.Map(munge) | 'Again' >> beam.Map(munge)
File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/transforms/ptransform.py", line 510, in __ror__
result = p.apply(self, pvalueish, label)
File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/pipeline.py", line 514, in apply
transform.type_check_inputs(pvalueish)
File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/transforms/ptransform.py", line 760, in type_check_inputs
bindings.get(arg, typehints.Any), hint):
File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/typehints/typehints.py", line 1131, in is_consistent_with
return base._consistent_with_check_(sub)
File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/typehints/typehints.py", line 135, in _consistent_with_check_
raise NotImplementedError
NotImplementedError
> Typehints NativeTypesTest fails on Python 3.7+
> ----------------------------------------------
>
> Key: BEAM-6987
> URL: https://issues.apache.org/jira/browse/BEAM-6987
> Project: Beam
> Issue Type: Sub-task
> Components: sdk-py-core
> Reporter: Robbe
> Priority: Major
>
> The following tests are failing:
> * test_bad_main_input (apache_beam.typehints.typed_pipeline_test.NativeTypesTest)
> * test_bad_main_output (apache_beam.typehints.typed_pipeline_test.NativeTypesTest)
> * test_good_main_input (apache_beam.typehints.typed_pipeline_test.NativeTypesTest)
> With the following error:
> {noformat}
> 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/typed_pipeline_test.py", line 137, in test_bad_main_output
> [(5, 4), (3, 2)] | beam.Map(munge) | 'Again' >> beam.Map(munge)
> File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/transforms/ptransform.py", line 510, in _ror_
> result = p.apply(self, pvalueish, label)
> File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/pipeline.py", line 514, in apply
> transform.type_check_inputs(pvalueish)
> File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/transforms/ptransform.py", line 760, in type_check_inputs
> bindings.get(arg, typehints.Any), hint):
> File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/typehints/typehints.py", line 1131, in is_consistent_with
> return base.consistent_with_check(sub)
> File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/typehints/typehints.py", line 135, in consistent_with_check
> raise NotImplementedError
> NotImplementedError{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)