Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pytest-httpbin for
openSUSE:Factory checked in at 2023-01-06 17:04:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-httpbin (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-httpbin.new.1563 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-httpbin"
Fri Jan 6 17:04:34 2023 rev:10 rq:1041839 version:1.0.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pytest-httpbin/python-pytest-httpbin.changes
2022-04-23 19:45:36.098957314 +0200
+++
/work/SRC/openSUSE:Factory/.python-pytest-httpbin.new.1563/python-pytest-httpbin.changes
2023-01-06 17:05:00.947999448 +0100
@@ -1,0 +2,8 @@
+Thu Dec 8 11:15:36 UTC 2022 - [email protected]
+
+- do not require six
+- added patches
+ fix https://github.com/kevin1024/pytest-httpbin/issues/75
+ + python-pytest-httpbin-no-six.patch
+
+-------------------------------------------------------------------
New:
----
python-pytest-httpbin-no-six.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-httpbin.spec ++++++
--- /var/tmp/diff_new_pack.IbRtgf/_old 2023-01-06 17:05:01.328001582 +0100
+++ /var/tmp/diff_new_pack.IbRtgf/_new 2023-01-06 17:05:01.336001626 +0100
@@ -26,16 +26,16 @@
URL: https://github.com/kevin1024/pytest-httpbin
Source:
https://files.pythonhosted.org/packages/source/p/pytest-httpbin/pytest-httpbin-%{version}.tar.gz
Source99: pytest-httpbin-rpmlintrc
+# https://github.com/kevin1024/pytest-httpbin/issues/75
+Patch0: python-pytest-httpbin-no-six.patch
BuildRequires: %{python_module httpbin}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}
-BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-httpbin
Requires: python-pytest
-Requires: python-six
BuildArch: noarch
%python_subpackages
@@ -50,6 +50,7 @@
%prep
%setup -q -n pytest-httpbin-%{version}
+%patch0 -p1
%build
%python_build
++++++ python-pytest-httpbin-no-six.patch ++++++
Index: pytest-httpbin-1.0.2/pytest_httpbin/serve.py
===================================================================
--- pytest-httpbin-1.0.2.orig/pytest_httpbin/serve.py
+++ pytest-httpbin-1.0.2/pytest_httpbin/serve.py
@@ -3,7 +3,7 @@ import threading
import ssl
from wsgiref.simple_server import WSGIServer, make_server, WSGIRequestHandler
from wsgiref.handlers import SimpleHandler
-from six.moves.urllib.parse import urljoin
+from urllib.parse import urljoin
CERT_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'certs')