Skip to content

UserWarning: 'bulk_events' has been deprecated in favor of 'event_page', #231

@prjemian

Description

@prjemian

Getting this UserWarning with fly scans (such as in this Howto guide):

${CONDA_PREFIX}/lib/python3.9/site-packages/event_model/__init__.py:208: UserWarning: The document type 'bulk_events' has been deprecated in favor of 'event_page', whose structure is a transpose of 'bulk_events'.

Expected Behavior

Expecting no warning.

Current Behavior

raises UserWarning

Possible Solution

unknown

Steps to Reproduce (for bugs)

see example: https://bcda-aps.github.io/apstools/examples/de_scaler_motor_flyer.html#Scan

Context

Would like to demonstrate bluesky in a way that it does not generate stray warnings. For now, added an ignore filter to pytest.ini configuration file:

[pytest]
filterwarnings =
    ignore:.*bulk_events.*event_page.*:UserWarning

Your Environment

see example: https://bcda-aps.github.io/apstools/examples/de_scaler_motor_flyer.html#Scan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions