man-group / man-group/pytest-plugins
Invalid command '.' with virtualenv.install_package(installer='pip')
- 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