forked from pool/python-pytest-httpbin
Accepting request 1124086 from devel:languages:python:pytest
- update to 2.0.0:
* This is a major release since it drops comparability with
some older versions of python.
* Drop support for Python 2.6, 2.7, 3.4, 3.5 and 3.6 (#68)
* Add support for Python 3.7, 3.8, 3.9 and 3.10 (#68)
* Avoid deprecation warnings and resource warnings (#71)
* Add support for Python 3.11 and 3.12, drop dependency on six
- drop python-pytest-httpbin-no-six.patch (upstream)
OBS-URL: https://build.opensuse.org/request/show/1124086
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-httpbin?expand=0&rev=12
This commit is contained in:
BIN
pytest-httpbin-1.0.2.tar.gz
LFS
BIN
pytest-httpbin-1.0.2.tar.gz
LFS
Binary file not shown.
BIN
pytest-httpbin-2.0.0.tar.gz
LFS
Normal file
BIN
pytest-httpbin-2.0.0.tar.gz
LFS
Normal file
Binary file not shown.
@@ -1,13 +0,0 @@
|
||||
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')
|
||||
@@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 7 19:42:56 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2.0.0:
|
||||
* This is a major release since it drops comparability with
|
||||
some older versions of python.
|
||||
* Drop support for Python 2.6, 2.7, 3.4, 3.5 and 3.6 (#68)
|
||||
* Add support for Python 3.7, 3.8, 3.9 and 3.10 (#68)
|
||||
* Avoid deprecation warnings and resource warnings (#71)
|
||||
* Add support for Python 3.11 and 3.12, drop dependency on six
|
||||
- drop python-pytest-httpbin-no-six.patch (upstream)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 21 12:31:41 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -16,10 +16,9 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pytest-httpbin
|
||||
Version: 1.0.2
|
||||
Version: 2.0.0
|
||||
Release: 0
|
||||
Summary: Web service for testing HTTP libraries
|
||||
License: MIT
|
||||
@@ -27,8 +26,6 @@ Group: Development/Languages/Python
|
||||
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}
|
||||
@@ -50,8 +47,7 @@ in a separate thread running httpbin and provides your test with the URL in the
|
||||
fixture.
|
||||
|
||||
%prep
|
||||
%setup -q -n pytest-httpbin-%{version}
|
||||
%patch0 -p1
|
||||
%autosetup -p1 -n pytest-httpbin-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
Reference in New Issue
Block a user