Peer dependencies of git package not downloaded
See original GitHub issueIssue description
Dependencies from a dependency from a git source are no longer automatically installed after the 2020 update.
Expected result
Install all required packages, including the requirements of dependencies
Actual result
Peer dependencies are not resolved
Steps to replicate
Pipfile:
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[dev-packages]
[packages]
pycodestyle = {git = "https://github.com/PyCQA/pycodestyle.git"}
generator_python = {git = "https://gitlab.ewi.tudelft.nl/weblab/generator-python.git"}
mock = "*"
[requires]
python_version = "3.8"
[scripts]
all = "sh -c 'pipenv run codestyle && pipenv run generator && pipenv run tests'"
codestyle = "pycodestyle --exclude output,.venv ."
generator = "sh -c 'python -m generator assignments'"
tests = "sh run-tests.sh"
After pipenv install
, running pipenv run generator
will result in errors due to missing packages. These packages are listed in this repo’s setup.py, but are not installed. With pipenv==2018.11.26
these packages are downloaded and everything works.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Should I duplicate "peerDependencies" in "dependencies ...
So while installing packages using npm install , NPM will attempt to install an optional dependency too. But if it isn't able to...
Read more >check-peer-dependencies - npm
Checks peer dependencies of the current package. Offers solutions for any that are unmet.. Latest version: 4.1.0, last published: a year ago ...
Read more >Peer Dependencies | Node.js
For npm versions 3 through 6, you will receive a warning that the peerDependency is not installed instead.
Read more >yarn add
Installs a package and any packages that it depends on. Adding dependencies. In general, a package is simply a folder with code and...
Read more >npm install | how it works - StackChief
When run without arguments, npm install downloads dependencies defined in a package.json file and generates a node_modules folder with the installed modules ...
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
@yoshivda The Pipfile.lock lacks peer dependencies, can you try
pipenv lock --clear
and see whether the file is fixed?@frostming Thanks for the explanation, that helps 🙂 I still can’t find it in the changelog, but that might be my bad?