Skip to content

Backward compatibility of pytest 7.2.0 and import py.test #10459

Closed
@frenzymadness

Description

@frenzymadness

I'm not sure whether this is a bug or not but because changelog says that pytest follows semantic versioning, it might be a bug/regression. I'm testing pytest 7.2.0 with couple hundreds of RPM packages in Fedora Linux and it turned out that some of them are using py.test instead of pytest in their tests. For example rply or notario. But you can find more via grep.app.

This worked because of this file: https://github.com/pytest-dev/py/blob/master/py/test.py

I don't know how this can be workarounded in the py.py module but having something in py package raising a deprecation warning first for some time would be great.

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