Skip to content

Change deprecation mechanism to use a function #7480

@nicoddemus

Description

@nicoddemus

As discussed in #7362 (comment)_, let's change our warnings mechanism to include a new PytestExpiredDeprecationWarning exception which is chosen at runtime depending on the current pytest version.

This will simplify our side because we won't need to change PytestDeprecationWarnings into errors anymore before each major release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    plugin: warningsrelated to the warnings builtin plugintype: deprecationfeature that will be removed in the future

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions