FS#60469 - [python-pipenv] pipenv install will cause "TypeError: 'module' object is not callable"

Attached to Project: Community Packages
Opened by Xuanwo (xuanwo) - Thursday, 18 October 2018, 08:24 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 22 October 2018, 17:05 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Morten Linderud (Foxboron)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

The pip bundled in pipenv has a breaking change which lead to pipenv install failed, and this make the package totally broken.

Related github issue: https://github.com/pypa/pipenv/issues/2924


Additional info:
* package version(s): 2018.7.1-3
* config and/or log files etc.

```
:) pipenv install
Pipfile.lock (ca72e7) out of date, updating to (967a1f)...
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
ils.py", line 402, in resolve_deps
req_dir=req_dir
File "/usr/lib/python3.7/site-packages/pipenv/utils.py", line 250, in actually_resolve_deps
req = Requirement.from_line(dep)
File "/usr/lib/python3.7/site-packages/pipenv/vendor/requirementslib/models/requirements.py", line 704, in from_line
line, extras = _strip_extras(line)
TypeError: 'module' object is not callable
```


Steps to reproduce:

- `pipenv install requests` under an empty folder.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 22 October 2018, 17:05 GMT
Reason for closing:  Fixed
Additional comments about closing:  python-pipenv 2018.10.13-1
Comment by Eli Schwartz (eschwartz) - Thursday, 18 October 2018, 13:38 GMT
Fixed upstream in the latest version of pipenv, so just needs updating as per the OOD flag.

Loading...