You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Brian Hulette (Jira)" <ji...@apache.org> on 2021/09/27 18:23:00 UTC
[jira] [Created] (BEAM-12975) PythonLint PreCommit is broken
Brian Hulette created BEAM-12975:
------------------------------------
Summary: PythonLint PreCommit is broken
Key: BEAM-12975
URL: https://issues.apache.org/jira/browse/BEAM-12975
Project: Beam
Issue Type: Improvement
Components: test-failures
Reporter: Brian Hulette
PythonLint precommit started failing in the last build: https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/2859
{code}
05:09:46 apache_beam/testing/load_tests/load_test_metrics_utils.py:51: error: unused 'type: ignore' comment
05:09:46 apache_beam/testing/load_tests/load_test_metrics_utils.py:55: error: Incompatible types in assignment (expression has type "None", variable has type Module) [assignment]
05:09:46 apache_beam/testing/load_tests/load_test_metrics_utils.py:56: error: Cannot assign to a type [misc]
05:09:46 apache_beam/testing/load_tests/load_test_metrics_utils.py:56: error: Incompatible types in assignment (expression has type "None", variable has type "Type[SchemaField]") [assignment]
{code}
I think this can be attributed to a minor version upgrade in google-cloud-bigquery (possibly they added typehints?). Failing build is using google-cloud-bigquery==2.27.0, while the previous passing build is using 2.26.0.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)