Skip to content

Poetry run doesn't work with --directory= #434

Open
@Slooz

Description

@Slooz

Description

Doesn't work:

poetry run --directory={path} python file.py

Works:

poetry run --directory {path} python file.py

See comment by @Agalin in python-poetry/poetry#7507 (comment)

See python-poetry/poetry#9623

Workarounds

Yes, use --directory {path} instead of --directory={path}

Poetry Installation Method

pipx

Operating System

Ubuntu 22

Poetry Version

1.8.3

Poetry Configuration

No response

Python Sysconfig

No response

Example pyproject.toml

No response

Poetry Runtime Logs

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions