Skip to content

doesn't work when pdm is installed with pyprojectx #54

@DetachHead

Description

@DetachHead
> tox -e old     
old: recreate env because env type changed from {'name': 'old', 'type': 'VirtualEnvRunner'} to {'name': 'old', 'type': 'PdmRunner'}
old: remove tox env folder C:\project\.tox\old
old: install_deps> python -I -m pip install pytest==8.0 robotframework==6.1.1
old: install_deps> pdm sync --no-self --group test
old: exit 2 (0.05 seconds) C:\project> pdm sync --no-self --group test
  old: FAIL code 2 (9.58 seconds)
  evaluation failed :( (9.84 seconds)

this is because it's running the command pdm sync --no-self --group test, but when pdm is installed with pyprojectx (see the "inside project" installation method) the command needs to be prefixed with ./pw:

./pw pdm sync --no-self --group test

related: pyprojectx/pyprojectx#23

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