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.

Plugins incompatible with pytest 4, leads to ContextualVersionConflict

See original GitHub issue

As can be seen in this commit, none of the plugins are compatible with pytest. This causes test suites that depend on them to fail. Consider:

setuptools master $ pip-run -q pytest pytest-virtualenv -- -c "import pkg_resources; pkg_resources.require('pytest-virtualenv')"                                                         
pytest-shutil 1.4.0 has requirement pytest<4.0.0, but you'll have pytest 4.1.1 which is incompatible.
pytest-fixture-config 1.4.0 has requirement pytest<4.0.0, but you'll have pytest 4.1.1 which is incompatible.
pytest-virtualenv 1.4.0 has requirement pytest<4.0.0, but you'll have pytest 4.1.1 which is incompatible.
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/jaraco/code/main/setuptools/pkg_resources/__init__.py", line 898, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/Users/jaraco/code/main/setuptools/pkg_resources/__init__.py", line 789, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (pytest 4.1.1 (/private/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-run-svi02ctd), Requirement.parse('pytest<4.0.0'), {'pytest-shutil', 'pytest-fixture-config', 'pytest-virtualenv'})

Issue Analytics

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

github_iconTop GitHub Comments

10reactions
jveselycommented, Mar 24, 2019

Hi all, we just merged #134 to address this, thanks

Hi, do you plan a release that includes this change in the near future?

1reaction
eeastoncommented, Mar 20, 2019

Hi all, we just merged #134 to address this, thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Plugins incompatible with pytest 4, leads to ... - GitHub
As can be seen in this commit, none of the plugins are compatible with pytest. This causes test suites that depend on them...
Read more >
Unable to run pytest setup through pycharm - Stack Overflow
When I lower the version to below 4, pycharm is able to run the pytest script through the pytest runner. Here is the...
Read more >
GeoNode/general - Gitter
I need to introduce new functions to my geonode map, OpenLayers functions, and I would like to know more about what I need...
Read more >
Bug List - FreeBSD Bugzilla
This list is too long for Bugzilla's little mind; ... Closed, FIXED, net-im/signal-desktop fails to build due to node/yarn incompatibility, 2022-12-05.
Read more >
Release 2.0.6 Cuckoo Sandbox
The dependencies of other software installed on your system may conflict with those required by Cuckoo, due to incompatible version requirements ...
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