Skip to content

Provide a way to suppress the new "deprecated python version" warning #4698

@nicoddemus

Description

@nicoddemus

Follow up to #4627 (comment)

How about a new ini option?

[pytest]
suppress_deprecated_python_warnings = 27 34

This allows one to selectively suppress the warning for some python versions. We will use this option in the future as well when we deprecate old Python versions.

cc @gaborbernat

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: enhancementnew feature or API change, should be merged into features branchtype: proposalproposal for a new feature, often to gather opinions or design the API around the new feature

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions