man-group / man-group/pytest-plugins

Invalid command '.' with virtualenv.install_package(installer='pip')

Open
#163 1 comment 2 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
597
Forks
89
PR merge metrics
No merged PRs in 30d

Description

The readme indicates to use `virtualenv.install_package('coverage', installer='pip')`, but if I use that command as `virtualenv.install_package('.', installer='pip')`, it fails with `Invalid command '.'` and the command it's trying to run is `pip -q .` (no `install` command). That's unexpected. I would have expected `installer='pip'` to invoke `pip install`.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the README example for virtualenv.install_package and trace how installer='pip' constructs the command. Reproduce the failure with virtualenv.install_package('.', installer='pip') and compare it with the documented coverage example. Done means the pip installer invokes the expected install command and the relevant behavior is covered by a test.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.