Skip to content

running tests from popup does not work with venv from poetry-tracking-mode #23

@stfl

Description

@stfl

I use poetry for dependency management.
poetry-mode has poetry-tracking-mode that automatically activates the poetry created venv which is located in ~/.cache/pypoetrey/virtualenvs/...

running the test directly with M-x python-pytest-file works as expected.
Going through the popup and then F to run the tests on a file fails with /usr/bin/sh: 1: pytest: not found
I have pytest only installed as a dev dependency through poetry.

I am fairly new to pytest and emacs so please let me know how I can provide more relevant logs or details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions