Skip to content

[Bug]: objsize 0.6.0 release breaks ApproximateQuantilesTest #23395

@lukecwik

Description

@lukecwik

What happened?

tox -c tox.ini -e py37 -- apache_beam/transforms/stats_test.py::ApproximateUniqueTest_0

fails with:

objsize.py
    exclude_set.update(id(vars(m)) for m in list(sys.modules.values()))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

.0 = <list_iterator object at 0x7fbe55e89410>

>   exclude_set.update(id(vars(m)) for m in list(sys.modules.values()))
E   TypeError: vars() argument must have __dict__ attribute [while running 'Globally/CombineGlobally(ApproximateQuantilesCombineFn)/InjectDefault']

Issue Priority

Priority: 1

Issue Component

Component: sdk-py-harness

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1bugdone & doneIssue has been reviewed after it was closed for verification, followups, etc.harnesspython

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions