Plugins incompatible with pytest 4, leads to ContextualVersionConflict
See original GitHub issueAs 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:
- Created 5 years ago
- Reactions:6
- Comments:5 (4 by maintainers)
Top 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 >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
Hi, do you plan a release that includes this change in the near future?
Hi all, we just merged #134 to address this, thanks