liferoad commented on PR #33307:
URL: https://github.com/apache/beam/pull/33307#issuecomment-2523999928

   Have you tried to manually change the import orders?
   
   ```
   2024-12-06T18:03:21.6023142Z ERROR: 
/runner/_work/beam/beam/sdks/python/test-suites/tox/pycommon/build/srcs/sdks/python/apache_beam/typehints/trivial_inference_test.py
 Imports are incorrectly sorted.
   2024-12-06T18:03:21.6025546Z Command exited with non-zero status 1
   2024-12-06T18:03:21.6026715Z 613.13user 32.61system 1:24.90elapsed 760%CPU 
(0avgtext+0avgdata 874112maxresident)k
   2024-12-06T18:03:21.6028325Z 10928inputs+1120outputs 
(8major+2025317minor)pagefaults 0swaps
   2024-12-06T18:03:21.6030229Z --- 
/runner/_work/beam/beam/sdks/python/test-suites/tox/pycommon/build/srcs/sdks/python/apache_beam/typehints/trivial_inference_test.py:before
  2024-12-06 17:57:32.050442
   2024-12-06T18:03:21.6033655Z +++ 
/runner/_work/beam/beam/sdks/python/test-suites/tox/pycommon/build/srcs/sdks/python/apache_beam/typehints/trivial_inference_test.py:after
   2024-12-06 18:03:19.361962
   2024-12-06T18:03:21.6035359Z @@ -21,8 +21,8 @@
   2024-12-06T18:03:21.6035826Z  
   2024-12-06T18:03:21.6036256Z  import types
   2024-12-06T18:03:21.6036738Z  import unittest
   2024-12-06T18:03:21.6037179Z +
   2024-12-06T18:03:21.6037906Z  import apache_beam as beam
   2024-12-06T18:03:21.6038613Z -
   2024-12-06T18:03:21.6039092Z  from apache_beam.typehints import row_type
   2024-12-06T18:03:21.6039735Z  from apache_beam.typehints import 
trivial_inference
   2024-12-06T18:03:21.6040397Z  from apache_beam.typehints import typehints
   2024-12-06T18:03:21.6041736Z ERROR: 
/runner/_work/beam/beam/sdks/python/test-suites/tox/pycommon/build/srcs/sdks/python/apache_beam/typehints/typed_pipeline_test.py
 Imports are incorrectly sorted.
   2024-12-06T18:03:21.6043773Z --- 
/runner/_work/beam/beam/sdks/python/test-suites/tox/pycommon/build/srcs/sdks/python/apache_beam/typehints/typed_pipeline_test.py:before
     2024-12-06 17:57:32.054441
   2024-12-06T18:03:21.6045808Z +++ 
/runner/_work/beam/beam/sdks/python/test-suites/tox/pycommon/build/srcs/sdks/python/apache_beam/typehints/typed_pipeline_test.py:after
      2024-12-06 18:03:19.484289
   2024-12-06T18:03:21.6047036Z @@ -22,8 +22,8 @@
   2024-12-06T18:03:21.6047434Z  import typing
   2024-12-06T18:03:21.6047893Z  import unittest
   2024-12-06T18:03:21.6048591Z  from typing import Tuple
   2024-12-06T18:03:21.6049002Z +
   2024-12-06T18:03:21.6049370Z  import apache_beam as beam
   2024-12-06T18:03:21.6049765Z -
   2024-12-06T18:03:21.6050178Z  from apache_beam import pvalue
   2024-12-06T18:03:21.6050718Z  from apache_beam import typehints
   2024-12-06T18:03:21.6051435Z  from apache_beam.options.pipeline_options 
import OptionsContext
   2024-12-06T18:03:21.6053182Z lint: exit 1 (84.91 seconds) 
/runner/_work/beam/beam/sdks/python/test-suites/tox/pycommon/build/srcs/sdks/python>
 time 
/runner/_work/beam/beam/sdks/python/test-suites/tox/pycommon/build/srcs/sdks/python/scripts/run_pylint.sh
 pid=1228
   2024-12-06T18:03:21.6055705Z lint: commands_post[0]> bash 
/runner/_work/beam/beam/sdks/python/test-suites/tox/pycommon/build/srcs/sdks/python/scripts/run_tox_cleanup.sh
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to