pipenv install ignores install_requires from setup.py
See original GitHub issueAffacted release: 2020.6.2
works fine in 2018.11.26
Issue description
pipenv install
does not install dependencies from setup.py -> install_requires
Pipefile
example-adapter = {ref = "my-tag", git = "ssh://git@myinternalgit/example-adapter.git"}
setup.py:
setup(
name="example-adapter",
version="1.7.1",
author="abc",
author_email="abc",
description=("abc"),
long_description=read('README.md'),
keywords=["abc", "adapter"],
packages=find_packages(),
python_requires='>=3.6',
install_requires=['python-jose==3.1.0', 'cachetools==3.1.0'],
tests_require=[]
)
Expected result
Configured packages from example-adapter/setup.py
/ install_requires
are being installed.
Actual result
Configured packages from example-adapter/setup.py
/ install_requires
NOT are being installed.
Steps to replicate
pipenv install
Issue Analytics
- State:
- Created 3 years ago
- Reactions:7
- Comments:14 (1 by maintainers)
Top Results From Across the Web
How do I sync values in setup.py / install_requires with Pipfile ...
I was inspired by your answer but my function in setup.py reads only [packages] section from Pipfile (and ignore [dev-packages]). It skips ...
Read more >30371 (Use pipenv to create venv for development) - Sage Trac
We modify src/setup.py to support editable installs via pipenv ( pipenv install ... .venv pipenv install --dev --ignore-pipfile pipenv run pip install -e...
Read more >setuptools-pipfile - PyPI
Add setuptools-pipfile to setup_requires and use_pipfile=True in your setup.py. This assumes that the Pipfile is in the same file directory as setup.py.
Read more >pipenv Documentation - Read the Docs
This tutorial walks you through installing and using Python packages. ... Note: pipenv install --ignore-pipfile is nearly equivalent to pipenv sync, ...
Read more >Python - Dependency Management | Shipping/Packaging
When you install a package, or declaring a dependency, you need to specify an package id that's known in Python as a requirement...
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
Setting environment variable
PIPENV_RESOLVE_VCS
to 0 fixed this exact problem for me (newer Pipenv versions skipping subdependencies of internal VCS dependencies).Quote:
Please recheck with
pipenv=2022.8.24