From 68010f71ec117d7d864be6eb53bd29a7abe71232 Mon Sep 17 00:00:00 2001
From: Michael Merickel <michael@merickel.org>
Date: Tue, 24 Apr 2018 06:53:34 +0200
Subject: [PATCH] pin to non-pre versions only

---
 setup.py    |    2 +-
 CHANGES.txt |    4 ++++
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/CHANGES.txt b/CHANGES.txt
index ec4535d..43d0664 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,6 +1,10 @@
 unreleased
 ==========
 
+- Pin to ``webob >= 1.7.0`` instead of ``1.7.0rc2`` to avoid accidentally
+  opting users into pre-releases because a downstream dependency allowed it.
+  See https://github.com/Pylons/pyramid/issues/3220
+
 - Fix ``pyramid.scripting.get_root`` which was broken by the execution policy
   feature added in the 1.9 release.
   See https://github.com/Pylons/pyramid/pull/3265
diff --git a/setup.py b/setup.py
index 4d32d30..2e62ddf 100644
--- a/setup.py
+++ b/setup.py
@@ -27,7 +27,7 @@
 
 install_requires = [
     'setuptools',
-    'WebOb >= 1.7.0rc2', # Response.has_body
+    'WebOb >= 1.7.0', # Response.has_body
     'repoze.lru >= 0.4', # py3 compat
     'zope.interface >= 3.8.0',  # has zope.interface.registry
     'zope.deprecation >= 3.5.0', # py3 compat

--
Gitblit v1.9.3