Hello community,

here is the log from the commit of package python-django-webtest for 
openSUSE:Factory checked in at 2019-09-27 14:48:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-webtest (Old)
 and      /work/SRC/openSUSE:Factory/.python-django-webtest.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-django-webtest"

Fri Sep 27 14:48:28 2019 rev:5 rq:731203 version:1.9.7

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-django-webtest/python-django-webtest.changes  
    2019-06-17 21:35:15.938998202 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-django-webtest.new.2352/python-django-webtest.changes
    2019-09-27 14:48:31.356753189 +0200
@@ -1,0 +2,6 @@
+Mon Sep 16 08:47:21 UTC 2019 - Tomáš Chvátal <tchva...@suse.com>
+
+- Update to 1.9.7:
+  * allow overriding HTTP_HOST with DjangoTestApp.__init__. Fixed #102
+
+-------------------------------------------------------------------

Old:
----
  django-webtest-1.9.6.tar.gz

New:
----
  django-webtest-1.9.7.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-django-webtest.spec ++++++
--- /var/tmp/diff_new_pack.YVy3ef/_old  2019-09-27 14:48:31.916751734 +0200
+++ /var/tmp/diff_new_pack.YVy3ef/_new  2019-09-27 14:48:31.916751734 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-django-webtest
-Version:        1.9.6
+Version:        1.9.7
 Release:        0
 Summary:        Django integration for WebTest
 License:        MIT

++++++ django-webtest-1.9.6.tar.gz -> django-webtest-1.9.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-webtest-1.9.6/CHANGES.rst 
new/django-webtest-1.9.7/CHANGES.rst
--- old/django-webtest-1.9.6/CHANGES.rst        2019-06-07 11:29:28.000000000 
+0200
+++ new/django-webtest-1.9.7/CHANGES.rst        2019-07-05 17:51:39.000000000 
+0200
@@ -2,6 +2,12 @@
 CHANGES
 =======
 
+1.9.7 (2019-07-05)
+------------------
+
+- allow overriding HTTP_HOST with DjangoTestApp.__init__. Fixed #102
+
+
 1.9.6 (2019-06-07)
 ------------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-webtest-1.9.6/PKG-INFO 
new/django-webtest-1.9.7/PKG-INFO
--- old/django-webtest-1.9.6/PKG-INFO   2019-06-07 11:29:28.000000000 +0200
+++ new/django-webtest-1.9.7/PKG-INFO   2019-07-05 17:51:39.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: django-webtest
-Version: 1.9.6
+Version: 1.9.7
 Summary: Instant integration of Ian Bicking's WebTest 
(http://docs.pylonsproject.org/projects/webtest/) with django's testing 
framework.
 Home-page: https://github.com/django-webtest/django-webtest
 Author: Mikhail Korobov
@@ -194,6 +194,12 @@
         CHANGES
         =======
         
+        1.9.7 (2019-07-05)
+        ------------------
+        
+        - allow overriding HTTP_HOST with DjangoTestApp.__init__. Fixed #102
+        
+        
         1.9.6 (2019-06-07)
         ------------------
         
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-webtest-1.9.6/django_webtest/__init__.py 
new/django-webtest-1.9.7/django_webtest/__init__.py
--- old/django-webtest-1.9.6/django_webtest/__init__.py 2019-06-07 
11:29:28.000000000 +0200
+++ new/django-webtest-1.9.7/django_webtest/__init__.py 2019-07-05 
17:51:39.000000000 +0200
@@ -44,6 +44,9 @@
     response_class = DjangoWebtestResponse
 
     def __init__(self, *args, **kwargs):
+        extra_environ = kwargs.get('extra_environ', {}).copy()
+        extra_environ.setdefault('HTTP_HOST', 'testserver')
+        kwargs['extra_environ'] = extra_environ
         super(DjangoTestApp, self).__init__(self.get_wsgi_handler(), *args, 
**kwargs)
 
     def get_wsgi_handler(self):
@@ -58,7 +61,6 @@
 
     def _update_environ(self, environ, user=_notgiven):
         environ = environ or {}
-        environ.setdefault('HTTP_HOST', 'testserver')
 
         if user is not _notgiven:
             if user is None:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/django-webtest-1.9.6/django_webtest.egg-info/PKG-INFO 
new/django-webtest-1.9.7/django_webtest.egg-info/PKG-INFO
--- old/django-webtest-1.9.6/django_webtest.egg-info/PKG-INFO   2019-06-07 
11:29:28.000000000 +0200
+++ new/django-webtest-1.9.7/django_webtest.egg-info/PKG-INFO   2019-07-05 
17:51:39.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: django-webtest
-Version: 1.9.6
+Version: 1.9.7
 Summary: Instant integration of Ian Bicking's WebTest 
(http://docs.pylonsproject.org/projects/webtest/) with django's testing 
framework.
 Home-page: https://github.com/django-webtest/django-webtest
 Author: Mikhail Korobov
@@ -194,6 +194,12 @@
         CHANGES
         =======
         
+        1.9.7 (2019-07-05)
+        ------------------
+        
+        - allow overriding HTTP_HOST with DjangoTestApp.__init__. Fixed #102
+        
+        
         1.9.6 (2019-06-07)
         ------------------
         
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-webtest-1.9.6/setup.py 
new/django-webtest-1.9.7/setup.py
--- old/django-webtest-1.9.6/setup.py   2019-06-07 11:29:28.000000000 +0200
+++ new/django-webtest-1.9.7/setup.py   2019-07-05 17:51:39.000000000 +0200
@@ -4,7 +4,7 @@
 from setuptools import setup
 
 
-version = '1.9.6'
+version = '1.9.7'
 
 
 def _read(name):


Reply via email to