Skip to content

pytest 7.2.0 regression: 'py' is not a package - but py library is installed #10451

@amezin

Description

@amezin

https://github.com/ddterm/gnome-shell-extension-ddterm/actions/runs/3330468879/jobs/5509011844

py is installed in system site packages, pytest and pytest-html are installed in a virtualenv (system site packages are enabled).

Seems that in this case py module from pytest takes precedence over pylib from system site packages (and breaks pytest-html).

Everything works fine with pytest==7.1.3, fails with pytest==7.2.0.

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