[ https://issues.apache.org/jira/browse/BEAM-12975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17420956#comment-17420956 ]
Brian Hulette commented on BEAM-12975: -------------------------------------- 2.27.0 release notes (https://googleapis.dev/python/bigquery/latest/changelog.html#id1) includes "Add py.typed for PEP 561 compliance" > 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 > Priority: P2 > Labels: currently-failing > > PythonLint precommit started failing in the last build: > https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/2859 > Failure is in py37-mypy: > {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)