question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pluggy incompatibility with pytest==3.7.0 when using pipenv

See original GitHub issue

When updating in pipenv today:

$> pipenv install
Pipfile.lock (bd627c) out of date, updating to (5f00e3)...
Locking [dev-packages] dependencies...

Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
  Hint: try $ pipenv lock --pre if it is a pre-release dependency.
Could not find a version that matches pluggy<0.7,>=0.5,>=0.7
Tried: 0.3.0, 0.3.0, 0.3.1, 0.3.1, 0.4.0, 0.4.0, 0.5.0, 0.5.1, 0.5.1, 0.5.2, 0.5.2, 0.6.0, 0.6.0, 0.6.0, 0.7.1, 0.7.1
There are incompatible versions in the resolved dependencies.

I cannot see a way in which pytest-cov directly depends on pluggy though?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
benhowescommented, Aug 1, 2018

I’ll close this because that confirms it’s a pipenv problem, not pytest/pytest-cov

0reactions
benhowescommented, Aug 1, 2018

@gzagatti appears to be correct, https://github.com/pypa/pipenv/issues/2596#issuecomment-409468238 solved this problem for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - pipenv cannot find available version - Stack Overflow
So this runs fine for me. If I start from scratch on MacOS or Ubuntu $ pipenv install dcoscli Creating a virtualenv for...
Read more >
pipenv Documentation - Read the Docs
This tutorial walks you through installing and using Python packages. ... this is the case, try $ pipenv shell, which uses “compatibility mode”, ......
Read more >
Advanced Usage of Pipenv - Python Packaging Authority
If pipenv install --dev installs e.g. pytest , then installed command pytest will be present in given virtualenv and can be called directly...
Read more >
pytest-dependency Documentation - Read the Docs
Before using pytest- dependency, it is still advisable to reconsider your test design and to avoid dependencies of tests whenever possible,.
Read more >
Pipenv: A Guide to the New Python Packaging Tool
Pipenv is a packaging tool for Python that solves some common problems associated with the typical workflow using pip, virtualenv, and the good...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found