Pipenv is failing to install packages, due to an unexpected keyword argument 'absorb' in patched
See original GitHub issueExpected result
Pipenv 11.3.2 can install stuff.
Actual result
Locking [dev-packages] dependencies…
has_changed, best_matches = self._resolve_one_round()
File "/tmp/tox/dj1.11-test-linux-db-sqlite-search-elastic/lib/python3.6/site-packages/pipenv/../pipenv/patched/piptools/resolver.py", line 200, in _resolve_one_round
for dep in self._iter_dependencies(best_match):
File "/tmp/tox/dj1.11-test-linux-db-sqlite-search-elastic/lib/python3.6/site-packages/pipenv/../pipenv/patched/piptools/resolver.py", line 297, in _iter_dependencies
dependencies = self.repository.get_dependencies(ireq)
File "/tmp/tox/dj1.11-test-linux-db-sqlite-search-elastic/lib/python3.6/site-packages/pipenv/../pipenv/patched/piptools/repositories/pypi.py", line 171, in get_dependencies
legacy_results = self.get_legacy_dependencies(ireq)
File "/tmp/tox/dj1.11-test-linux-db-sqlite-search-elastic/lib/python3.6/site-packages/pipenv/../pipenv/patched/piptools/repositories/pypi.py", line 206, in get_legacy_dependencies
result = reqset._prepare_file(self.finder, ireq, ignore_requires_python=True)
File "/tmp/tox/dj1.11-test-linux-db-sqlite-search-elastic/lib/python3.6/site-packages/pipenv/../pipenv/patched/pip/req/req_set.py", line 699, in _prepare_file
self.requires_python = check_dist_requires_python(dist, absorb=False)
TypeError: check_dist_requires_python() got an unexpected keyword argument 'absorb'
Install packages
Django==2.0.3,django-haystack==2.8.0,django-haystack-elasticsearch==0.1.0,elasticsearch==5.5.2,pipenv==11.3.2,pytz==2018.3,urllib3==1.22,virtualenv==15.1.0,virtualenv-clone==0.3.0
Steps to replicate
pipenv install
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:10 (5 by maintainers)
Top Results From Across the Web
How to fix locking failed in pipenv? - Stack Overflow
It seems like a library is requiring a version >= importlib-metadata 2.0 . When I pinned the following dependencies it didn't work at...
Read more >Frequently Encountered Pipenv Problems - Read the Docs
This is usually a result of mixing Pipenv with system packages. We strongly recommend installing Pipenv in an isolated environment. Uninstall all existing ......
Read more >snowflake-connector-python - PyPI
This package includes the Snowflake Connector for Python, which conforms ... Fixed an issue bug where _get_query_status failed if there was a network...
Read more >Pipenv: promises a lot, delivers very little | Chris Warrick
It lacks support for splitting packages between production and development (as Pipenv and Poetry do). This means that pip freeze and pip install...
Read more >Index of Portage & Programming - Gentoo Forums
Page:1 · "Glib causing related packages to fail build? ... "www-client/microsoft-edge-106.0.1370.34 install fails[fixed]" Page:1 · "Pacakge equivalent to ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
if you’re having trouble with this in 2019, upgrade pipenv to the latest version, and be sure to do it outside of a pipenv shell - I hit both this and https://github.com/pypa/pipenv/issues/2871 The three steps I needed to take:
exit
to exit out of the pipenv shell I was inpip install pipenv -U
to upgrade pipenvpipenv shell
to start a new shellNow
pipenv install
should run without errors!@kennethreitz Thanks again for being so responsive. I just want to say thanks for all of your work with in python community,
pipenv
is an amazing product. Its such an advancement on what was around before, and in such a short time that a few hiccups are bound to happen.Thanks again for building this!