-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Description
What happened?
Beam failing test: https://ci-beam.apache.org/job/beam_PostCommit_Python310_PR/3/testReport/apache_beam.examples.dataframe.flight_delays_it_test/FlightDelaysTest/test_flight_delays/
Dill has reported a bug uqfoundation/dill#488.
From the issue:
Between 3.9 and 3.10, the number of arguments to build a CodeType didn't change, but co_lnotab was replaced with co_linetable.
In the test, Beam Panda's usage calls inspect.stack() which leads to the above mentioned bug.
Pandas has removed inspect.stack() due to some perf issues.
1.4.x: https://github.com/pandas-dev/pandas/blob/1.4.x/pandas/util/_exceptions.py
This created a corrupted stack trace in python 3.10 test which don't happen in other python versions.
- Dill has a solution merged on to the main branch and will be available in the next dill release.
Issue Priority
Priority: 2
Issue Component
Component: sdk-py-core