pip-upgrader icon indicating copy to clipboard operation
pip-upgrader copied to clipboard

simple workaround for package names containing dashes

Open umeboshi2 opened this issue 4 years ago • 3 comments

Using pip 19.2.3, the package names contain dashes, rather than underscores. To reproduce bug:

Create new virtual environment.

pip install -U pip
pip install pyramid-jwt
pip install django-rest-auth
pip freeze > reqs.txt
pip-upgrade reqs.txt | grep error

The PR fixes this problem, but also raises a runtime error which may not be desired.

umeboshi2 avatar Oct 13 '19 23:10 umeboshi2

Coverage Status

Coverage decreased (-1.2%) to 98.529% when pulling a16e3d7629ce7771fff791643bc76aa60df0d62a on umeboshi2:dashes-in-pkg-names into 5e2fb4c6f8294f8b8c89189547efd7f52b34b2ff on simion:master.

coveralls avatar Oct 13 '19 23:10 coveralls

A test for 100% coverage would be nice :)

simion avatar Oct 31 '19 17:10 simion

Tests fail when an index url is assigned in a local pip.conf file.

umeboshi2 avatar Nov 01 '19 00:11 umeboshi2