Skip to content

feature request: token-create: add the option to enable install of package dependencies when using -p #3

@BenjaminYde

Description

@BenjaminYde

Currently when installing a package (using token-login) it is required to define all the package dependencies when using the --projects argument.

For example, i want to limit the install to package-1, but package-1 depends on pytest
I also need to define pytest in --projects.
When working with dependencies, it is not user friendly when needing to specify the dependencies.

The following is not possible:

    devpi token-create \
        -u=client-a \
        -a=pkg_read \
        -i=root/pypi,client-a/project-a \
        -p=package-1

The following is possible:

    devpi token-create \
        -u=client-a \
        -a=pkg_read \
        -i=root/pypi,client-a/project-a \
        -p=package-1,pytest

The same issue is with the -i,
You need to specify all the index dependencies.

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