Skip to content

Error with pytest-executable when packaged by tox #25

@rrthomas

Description

@rrthomas

When running a tox build that uses pytest-executable, I get the following error from tox on GitHub Actions (but not on my own Ubuntu 22.04 machine, oddly):

_ ERROR collecting .eggs/pytest_executable-0.5.5-py3.10.egg/pytest_executable/test_executable.py _
/home/runner/work/psutils/psutils/.eggs/pytest_executable-0.5.5-py3.10.egg/pytest_executable
shall have a __init__.py because test_executable.py exists in other directories

Full build log: https://github.com/rrthomas/psutils/actions/runs/4513931300/jobs/7968278447

I'm sorry, this is not a very good issue report! I don't understand really what is wrong here; maybe the maintainer will, but no worries if not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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