<!DOCTYPE html>
<html>
  <head>
</head>
<body style='font: 12pt Roboto, "DejaVu Sans", Arial; margin-left: 5px; margin-right: 5px;'>
<div id="entry">
<h1 style='font: 12pt Roboto, "DejaVu Sans", Arial; display:block; background: #c0cf88; border-bottom: solid 3px #573; padding: 5px; margin-top: 0px; color: #573;'><a href="https://kallithea-scm.org/repos/kallithea/changeset/3521120e72bc726cad27fa41a307b52f1d831332" style="text-decoration: none; font-weight: bold; color: #573;">setup: limit WebTest version to <2.0  Running   pip install -e . in a clean environment (or --upgrade), would cause:   "ContextualVersionConflict: (WebOb 1.1...</a></h1>
<div id="body">
domruf committed on 2016-08-03 16:26:33<br />branch: default<br />tag: tip<br />changeset: <a href="https://kallithea-scm.org/repos/kallithea/changeset/3521120e72bc726cad27fa41a307b52f1d831332">3521120e</a><pre>setup: limit WebTest version to <2.0

Running
  pip install -e .
in a clean environment (or --upgrade), would cause:
  "ContextualVersionConflict: (WebOb 1.1.1 (.../lib/python2.7/site-packages), Requirement.parse('WebOb>=1.2'), set(['WebTest']))"

setup.py required webob>=1.0.8,<=1.1.1 which pip resolved as WebOb==1.1.1.
setup.py required Pylons which requires WebTest>=1.3.1. Pip would thus install
the latest WebTest-2.0.23 ... which however has a WebOb>=1.2 dependency.
Pip only makes one pass at resolving dependencies and it would not resolve or
notice this inconsistency.

This problem came with dd676fdeda0f which moved pinning of WebTest 1.4.3 out of
setup.py.

Since Pylons require webtest anyway, there is no point in having it as a dev
requirement only - put it back in setup.py.

This might just be a temporary workaround until the WebOb version is updated.

Original patch by Dominik has been rewritten by Mads.

 M dev_requirements.txt (1 lines added, 1 lines removed)
 M setup.py (1 lines added, 0 lines removed)</pre>
</div>
</div>
</div>
</body>
</html>