Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-wsgi_intercept for
openSUSE:Factory checked in at 2023-07-25 11:51:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-wsgi_intercept (Old)
and /work/SRC/openSUSE:Factory/.python-wsgi_intercept.new.1467 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-wsgi_intercept"
Tue Jul 25 11:51:31 2023 rev:28 rq:1100515 version:1.12.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-wsgi_intercept/python-wsgi_intercept.changes
2022-11-12 17:41:28.626277990 +0100
+++
/work/SRC/openSUSE:Factory/.python-wsgi_intercept.new.1467/python-wsgi_intercept.changes
2023-07-25 11:53:26.094271609 +0200
@@ -1,0 +2,7 @@
+Tue Jul 25 03:03:51 UTC 2023 - Steve Kowalik <[email protected]>
+
+- Update to 1.12.1:
+ * Pin urllib3 to < 2.0.0 (#70)
+- Switch to pyproject macros
+
+-------------------------------------------------------------------
Old:
----
wsgi_intercept-1.11.0.tar.gz
New:
----
wsgi_intercept-1.12.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-wsgi_intercept.spec ++++++
--- /var/tmp/diff_new_pack.jpD0Dx/_old 2023-07-25 11:53:26.666274958 +0200
+++ /var/tmp/diff_new_pack.jpD0Dx/_new 2023-07-25 11:53:26.670274982 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-wsgi_intercept
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,8 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-wsgi_intercept
-Version: 1.11.0
+Version: 1.12.1
Release: 0
Summary: Library for installing a WSGI application in place of a real
URI for testing
License: MIT
@@ -26,14 +25,17 @@
Source:
https://files.pythonhosted.org/packages/source/w/wsgi_intercept/wsgi_intercept-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module httplib2}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest >= 2.4}
BuildRequires: %{python_module requests >= 2.0.1}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
-BuildRequires: %{python_module urllib3 >= 1.11.0}
+BuildRequires: %{python_module urllib3 >= 1.11.0 with %python-urllib3 < 2}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-six
+Requires: python-urllib3 < 2
Recommends: python-requests >= 2.0.1
BuildArch: noarch
%python_subpackages
@@ -49,10 +51,10 @@
%setup -q -n wsgi_intercept-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand rm -r %{buildroot}%{$python_sitelib}/wsgi_intercept/tests
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -63,7 +65,7 @@
%files %{python_files}
%doc README
%license LICENSE
-%{python_sitelib}/wsgi_intercept-%{version}-*.egg-info
%{python_sitelib}/wsgi_intercept
+%{python_sitelib}/wsgi_intercept-%{version}.dist-info
%changelog
++++++ wsgi_intercept-1.11.0.tar.gz -> wsgi_intercept-1.12.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/wsgi_intercept-1.11.0/MANIFEST.in
new/wsgi_intercept-1.12.1/MANIFEST.in
--- old/wsgi_intercept-1.11.0/MANIFEST.in 2020-02-05 12:08:46.000000000
+0100
+++ new/wsgi_intercept-1.12.1/MANIFEST.in 2023-07-03 14:53:03.000000000
+0200
@@ -1,2 +1,2 @@
-include LICENSE Makefile
+include LICENSE Makefile tox.ini
recursive-include docs *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/wsgi_intercept-1.11.0/PKG-INFO
new/wsgi_intercept-1.12.1/PKG-INFO
--- old/wsgi_intercept-1.11.0/PKG-INFO 2022-11-04 11:41:12.963466400 +0100
+++ new/wsgi_intercept-1.12.1/PKG-INFO 2023-07-03 14:56:00.184591300 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: wsgi_intercept
-Version: 1.11.0
+Version: 1.12.1
Summary: wsgi_intercept installs a WSGI application in place of a real URI for
testing.
Home-page: http://pypi.python.org/pypi/wsgi_intercept
Author: Titus Brown, Kumar McMillan, Chris Dent, Sasha Hart
@@ -47,7 +47,7 @@
* http.client
* httplib2
* requests
-* urllib3
+* urllib3 (<2.0.0, urllib3 2 support is in progress)
How Does It Work?
=================
@@ -113,7 +113,7 @@
Unfortunately each of the HTTP client libraries use their own specific
mechanism for making HTTP call-outs, so individual implementations are
needed. At this time there are implementations for ``httplib2``,
-``urllib3`` and ``requests`` in both Python 2 and 3, ``urllib2`` and
+``urllib3`` (<2.0.0) and ``requests`` in both Python 2 and 3, ``urllib2`` and
``httplib`` in Python 2 and ``urllib.request`` and ``http.client``
in Python 3.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/wsgi_intercept-1.11.0/README
new/wsgi_intercept-1.12.1/README
--- old/wsgi_intercept-1.11.0/README 2022-11-04 11:39:33.000000000 +0100
+++ new/wsgi_intercept-1.12.1/README 2023-07-03 14:55:56.000000000 +0200
@@ -22,7 +22,7 @@
* http.client
* httplib2
* requests
-* urllib3
+* urllib3 (<2.0.0, urllib3 2 support is in progress)
How Does It Work?
=================
@@ -88,7 +88,7 @@
Unfortunately each of the HTTP client libraries use their own specific
mechanism for making HTTP call-outs, so individual implementations are
needed. At this time there are implementations for ``httplib2``,
-``urllib3`` and ``requests`` in both Python 2 and 3, ``urllib2`` and
+``urllib3`` (<2.0.0) and ``requests`` in both Python 2 and 3, ``urllib2`` and
``httplib`` in Python 2 and ``urllib.request`` and ``http.client``
in Python 3.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/wsgi_intercept-1.11.0/setup.py
new/wsgi_intercept-1.12.1/setup.py
--- old/wsgi_intercept-1.11.0/setup.py 2022-11-04 11:39:33.000000000 +0100
+++ new/wsgi_intercept-1.12.1/setup.py 2023-07-03 14:53:53.000000000 +0200
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages
-VERSION = '1.11.0'
+VERSION = '1.12.1'
CLASSIFIERS = """
Environment :: Web Environment
@@ -42,7 +42,7 @@
'pytest>=2.4',
'httplib2',
'requests>=2.0.1',
- 'urllib3>=1.11.0',
+ 'urllib3>=1.11.0,<2.0.0',
],
'docs': [
'sphinx',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/wsgi_intercept-1.11.0/tox.ini
new/wsgi_intercept-1.12.1/tox.ini
--- old/wsgi_intercept-1.11.0/tox.ini 1970-01-01 01:00:00.000000000 +0100
+++ new/wsgi_intercept-1.12.1/tox.ini 2023-06-26 14:32:21.000000000 +0200
@@ -0,0 +1,33 @@
+[tox]
+minversion = 1.6
+skipsdist = True
+envlist = py27,py35,py36,py37,py38,py39,py310,py311,pypy,pep8,docs,readme
+
+[testenv]
+deps = .[testing]
+commands = py.test --tb=short wsgi_intercept/tests
+passenv = WSGI_INTERCEPT_*
+
+[testenv:pep8]
+deps = flake8
+commands =
+ flake8 wsgi_intercept
+
+[testenv:docs]
+deps = .[docs]
+ httplib2
+ sphinx
+commands =
+ rm -rf build/sphinx
+ sphinx-build docs build/sphinx
+allowlist_externals =
+ rm
+
+[testenv:readme]
+deps = .
+allowlist_externals = bash
+commands = bash -c "python -c 'import sys, wsgi_intercept;
sys.stdout.write(wsgi_intercept.__doc__)' > README.rst"
+
+[flake8]
+exclude=.venv,.git,.tox,dist,*egg,*.egg-info,build,examples,docs
+show-source = True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/wsgi_intercept-1.11.0/wsgi_intercept/__init__.py
new/wsgi_intercept-1.12.1/wsgi_intercept/__init__.py
--- old/wsgi_intercept-1.11.0/wsgi_intercept/__init__.py 2022-05-16
13:39:02.000000000 +0200
+++ new/wsgi_intercept-1.12.1/wsgi_intercept/__init__.py 2023-06-26
14:34:14.000000000 +0200
@@ -22,7 +22,7 @@
* http.client
* httplib2
* requests
-* urllib3
+* urllib3 (<2.0.0, urllib3 2 support is in progress)
How Does It Work?
=================
@@ -88,7 +88,7 @@
Unfortunately each of the HTTP client libraries use their own specific
mechanism for making HTTP call-outs, so individual implementations are
needed. At this time there are implementations for ``httplib2``,
-``urllib3`` and ``requests`` in both Python 2 and 3, ``urllib2`` and
+``urllib3`` (<2.0.0) and ``requests`` in both Python 2 and 3, ``urllib2`` and
``httplib`` in Python 2 and ``urllib.request`` and ``http.client``
in Python 3.
@@ -115,7 +115,7 @@
The Python 2 version of wsgi-intercept was the result. Kumar McMillan
later took over maintenance.
-The current version is tested with Python 2.7, 3.5-3.8, and pypy and pypy3.
+The current version is tested with Python 2.7, 3.5-3.11, and pypy and pypy3.
It was assembled by `Chris Dent`_. Testing and documentation improvements
from `Sasha Hart`_.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/wsgi_intercept-1.11.0/wsgi_intercept/_urllib3.py
new/wsgi_intercept-1.12.1/wsgi_intercept/_urllib3.py
--- old/wsgi_intercept-1.11.0/wsgi_intercept/_urllib3.py 2022-01-13
15:31:38.000000000 +0100
+++ new/wsgi_intercept-1.12.1/wsgi_intercept/_urllib3.py 2023-06-26
14:34:28.000000000 +0200
@@ -1,4 +1,4 @@
-"""Common code of urllib3 and requests intercepts."""
+"""Common code of urllib3 (<2.0.0) and requests intercepts."""
import os
import sys
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/wsgi_intercept-1.11.0/wsgi_intercept/urllib3_intercept.py
new/wsgi_intercept-1.12.1/wsgi_intercept/urllib3_intercept.py
--- old/wsgi_intercept-1.11.0/wsgi_intercept/urllib3_intercept.py
2020-02-05 12:08:46.000000000 +0100
+++ new/wsgi_intercept-1.12.1/wsgi_intercept/urllib3_intercept.py
2023-06-26 14:34:53.000000000 +0200
@@ -1,5 +1,8 @@
"""Intercept HTTP connections that use
`urllib3 <https://urllib3.readthedocs.org/>`_.
+
+Note that currently only urllib3 <2.0.0 is supported. 2.0.0 support
+is in progress.
"""
from urllib3.connectionpool import HTTPConnectionPool, HTTPSConnectionPool
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/wsgi_intercept-1.11.0/wsgi_intercept.egg-info/PKG-INFO
new/wsgi_intercept-1.12.1/wsgi_intercept.egg-info/PKG-INFO
--- old/wsgi_intercept-1.11.0/wsgi_intercept.egg-info/PKG-INFO 2022-11-04
11:41:12.000000000 +0100
+++ new/wsgi_intercept-1.12.1/wsgi_intercept.egg-info/PKG-INFO 2023-07-03
14:55:59.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: wsgi-intercept
-Version: 1.11.0
+Version: 1.12.1
Summary: wsgi_intercept installs a WSGI application in place of a real URI for
testing.
Home-page: http://pypi.python.org/pypi/wsgi_intercept
Author: Titus Brown, Kumar McMillan, Chris Dent, Sasha Hart
@@ -47,7 +47,7 @@
* http.client
* httplib2
* requests
-* urllib3
+* urllib3 (<2.0.0, urllib3 2 support is in progress)
How Does It Work?
=================
@@ -113,7 +113,7 @@
Unfortunately each of the HTTP client libraries use their own specific
mechanism for making HTTP call-outs, so individual implementations are
needed. At this time there are implementations for ``httplib2``,
-``urllib3`` and ``requests`` in both Python 2 and 3, ``urllib2`` and
+``urllib3`` (<2.0.0) and ``requests`` in both Python 2 and 3, ``urllib2`` and
``httplib`` in Python 2 and ``urllib.request`` and ``http.client``
in Python 3.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/wsgi_intercept-1.11.0/wsgi_intercept.egg-info/SOURCES.txt
new/wsgi_intercept-1.12.1/wsgi_intercept.egg-info/SOURCES.txt
--- old/wsgi_intercept-1.11.0/wsgi_intercept.egg-info/SOURCES.txt
2022-11-04 11:41:12.000000000 +0100
+++ new/wsgi_intercept-1.12.1/wsgi_intercept.egg-info/SOURCES.txt
2023-07-03 14:56:00.000000000 +0200
@@ -4,6 +4,7 @@
README
setup.cfg
setup.py
+tox.ini
docs/.gitignore
docs/Makefile
docs/conf.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/wsgi_intercept-1.11.0/wsgi_intercept.egg-info/requires.txt
new/wsgi_intercept-1.12.1/wsgi_intercept.egg-info/requires.txt
--- old/wsgi_intercept-1.11.0/wsgi_intercept.egg-info/requires.txt
2022-11-04 11:41:12.000000000 +0100
+++ new/wsgi_intercept-1.12.1/wsgi_intercept.egg-info/requires.txt
2023-07-03 14:55:59.000000000 +0200
@@ -7,4 +7,4 @@
pytest>=2.4
httplib2
requests>=2.0.1
-urllib3>=1.11.0
+urllib3<2.0.0,>=1.11.0