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 2022-04-23 19:45:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-httpbin (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-httpbin.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-httpbin"
Sat Apr 23 19:45:18 2022 rev:9 rq:969586 version:1.0.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pytest-httpbin/python-pytest-httpbin.changes
2021-12-31 13:44:32.089270008 +0100
+++
/work/SRC/openSUSE:Factory/.python-pytest-httpbin.new.1538/python-pytest-httpbin.changes
2022-04-23 19:45:36.098957314 +0200
@@ -1,0 +2,13 @@
+Tue Apr 12 20:57:41 UTC 2022 - Ben Greiner <[email protected]>
+
+- Skip a test which fails with Flask 2.1
+ gh#kevin1024/pytest-httpbin#64
+
+-------------------------------------------------------------------
+Fri Apr 1 07:27:45 UTC 2022 - Dirk M??ller <[email protected]>
+
+- update to 1.0.2:
+ * Switch to GitHub Actions
+ * This will be the last release to support Python 2.6, 2.7 or 3.6
+
+-------------------------------------------------------------------
Old:
----
pytest-httpbin-1.0.1.tar.gz
New:
----
pytest-httpbin-1.0.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-httpbin.spec ++++++
--- /var/tmp/diff_new_pack.esBfyr/_old 2022-04-23 19:45:36.578957885 +0200
+++ /var/tmp/diff_new_pack.esBfyr/_new 2022-04-23 19:45:36.582957890 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-httpbin
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-httpbin
-Version: 1.0.1
+Version: 1.0.2
Release: 0
Summary: Web service for testing HTTP libraries
License: MIT
@@ -59,7 +59,9 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-%pytest
+# Flask 2.1 returns relative URLs again
+# gh#kevin1024/pytest-httpbin#64
+%pytest -k "not test_redirect_location_is_https_for_secure_server"
%files %{python_files}
%doc README.md DESCRIPTION.rst
++++++ pytest-httpbin-1.0.1.tar.gz -> pytest-httpbin-1.0.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-httpbin-1.0.1/PKG-INFO
new/pytest-httpbin-1.0.2/PKG-INFO
--- old/pytest-httpbin-1.0.1/PKG-INFO 2021-12-25 21:37:19.000000000 +0100
+++ new/pytest-httpbin-1.0.2/PKG-INFO 2022-02-25 11:31:20.833808000 +0100
@@ -1,42 +1,11 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
Name: pytest-httpbin
-Version: 1.0.1
+Version: 1.0.2
Summary: Easily test your HTTP library against a local copy of httpbin
Home-page: https://github.com/kevin1024/pytest-httpbin
Author: Kevin McCarthy
Author-email: [email protected]
License: MIT
-Description: pytest-httpbin
- ==============
-
- httpbin is an amazing web service for testing HTTP libraries. It has
several
- great endpoints that can test pretty much everything you need in a HTTP
- library. The only problem is: maybe you don't want to wait for your
tests to
- travel across the Internet and back to make assertions against a
remote web
- service.
-
- Enter pytest-httpbin. Pytest-httpbin creates a pytest "fixture" that is
- dependency-injected into your tests. It automatically starts up a HTTP
server
- in a separate thread running httpbin and provides your test with the
URL in the
- fixture. Check out this example:
-
- .. code-block:: python
-
- def test_that_my_library_works_kinda_ok(httpbin):
- assert requests.get(httpbin.url + '/get/').status_code == 200
-
- This replaces a test that might have looked like this before:
-
- .. code-block:: python
-
- def test_that_my_library_works_kinda_ok():
- assert requests.get('http://httpbin.org/get').status_code ==
200
-
- pytest-httpbin also supports https and includes its own CA cert you
can use.
- Check out `the full documentation`_ on the github page.
-
- .. _the full documentation: https://github.com/kevin1024/pytest-httpbin
-
Keywords: pytest-httpbin testing pytest httpbin
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
@@ -51,3 +20,38 @@
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
+Description-Content-Type: text/x-rst
+Provides-Extra: test
+
+pytest-httpbin
+==============
+
+httpbin is an amazing web service for testing HTTP libraries. It has several
+great endpoints that can test pretty much everything you need in a HTTP
+library. The only problem is: maybe you don't want to wait for your tests to
+travel across the Internet and back to make assertions against a remote web
+service.
+
+Enter pytest-httpbin. Pytest-httpbin creates a pytest "fixture" that is
+dependency-injected into your tests. It automatically starts up a HTTP server
+in a separate thread running httpbin and provides your test with the URL in the
+fixture. Check out this example:
+
+.. code-block:: python
+
+ def test_that_my_library_works_kinda_ok(httpbin):
+ assert requests.get(httpbin.url + '/get/').status_code == 200
+
+This replaces a test that might have looked like this before:
+
+.. code-block:: python
+
+ def test_that_my_library_works_kinda_ok():
+ assert requests.get('http://httpbin.org/get').status_code == 200
+
+pytest-httpbin also supports https and includes its own CA cert you can use.
+Check out `the full documentation`_ on the github page.
+
+.. _the full documentation: https://github.com/kevin1024/pytest-httpbin
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-httpbin-1.0.1/README.md
new/pytest-httpbin-1.0.2/README.md
--- old/pytest-httpbin-1.0.1/README.md 2021-12-25 21:34:18.000000000 +0100
+++ new/pytest-httpbin-1.0.2/README.md 2022-02-25 11:29:58.000000000 +0100
@@ -1,10 +1,10 @@
# pytest-httpbin
-[](https://travis-ci.org/kevin1024/pytest-httpbin)
+[](https://github.com/kevin1024/pytest-httpbin/actions/workflows/main.yaml)
[httpbin](https://httpbin.org/) is an amazing web service for testing HTTP
libraries. It has several great endpoints that can test pretty much everything
you need in a HTTP library. The only problem is: maybe you don't want to wait
for your tests to travel across the Internet and back to make assertions
against a remote web service (speed), and maybe you want to work offline
(convenience).
-Enter **pytest-httpbin**. Pytest-httpbin creates a [pytest
fixture](http://pytest.org/latest/fixture.html) that is dependency-injected
into your tests. It automatically starts up a HTTP server in a separate thread
running httpbin and provides your test with the URL in the fixture. Check out
this example:
+Enter **pytest-httpbin**. Pytest-httpbin creates a [pytest
fixture](https://pytest.org/latest/fixture.html) that is dependency-injected
into your tests. It automatically starts up a HTTP server in a separate thread
running httpbin and provides your test with the URL in the fixture. Check out
this example:
```python
def test_that_my_library_works_kinda_ok(httpbin):
@@ -93,10 +93,10 @@
## Installation
-[](https://pypi.python.org/pypi/pytest-httpbin)
-[](https://pypi.python.org/pypi/pytest-httpbin)
+[](https://pypi.org/project/pytest-httpbin/)
+[](https://pypi.org/project/pytest-httpbin/)
-To install from [PyPI](https://pypi.python.org/pypi/pytest-httpbin), all you
need to do is this:
+To install from [PyPI](https://pypi.org/project/pytest-httpbin/), all you need
to do is this:
```bash
pip install pytest-httpbin
@@ -108,7 +108,7 @@
pytest-httpbin supports Python 2.6, 2.7, 3.4-3.6, and pypy. It will
automatically install httpbin and flask when you install it from PyPI.
-[httpbin](https://github.com/kennethreitz/httpbin) itself does not support
python 2.6 as of version 0.6.0, when the Flask-common dependency was added. If
you need python 2.6 support pin the httpbin version to 0.5.0
+[httpbin](https://github.com/postmanlabs/httpbin) itself does not support
python 2.6 as of version 0.6.0, when the Flask-common dependency was added. If
you need python 2.6 support pin the httpbin version to 0.5.0
## Running the pytest-httpbin test suite
@@ -128,6 +128,9 @@
## Changelog
+* 1.0.2
+ * Switch from travis to github actions
+ * This will be the last release to support Python 2.6, 2.7 or 3.6
* 1.0.1
* httpbin_secure: fix redirect Location to have "https://" scheme (#62) -
thanks @immerrr
* Include regression tests in pypi tarball (#56) - thanks @kmosiejczuk
@@ -171,7 +174,7 @@
* Add `httpbin_ca_bundle` pytest fixture. With this fixture there is
no need to specify the bundle on every request, as it will
automatically set `REQUESTS_CA_BUNDLE` if using
- [requests](http://docs.python-requests.org/). And you don't have to
+ [requests](https://docs.python-requests.org/). And you don't have to
care about where it is located (PR #8). Thanks @t-8ch!
* 0.0.3: Add a couple test fixtures to make testing old class-based test suites
easier
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-httpbin-1.0.1/pytest_httpbin/version.py
new/pytest-httpbin-1.0.2/pytest_httpbin/version.py
--- old/pytest-httpbin-1.0.1/pytest_httpbin/version.py 2021-12-25
21:34:18.000000000 +0100
+++ new/pytest-httpbin-1.0.2/pytest_httpbin/version.py 2022-02-25
11:28:55.000000000 +0100
@@ -1 +1 @@
-__version__ = '1.0.1'
+__version__ = '1.0.2'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest-httpbin-1.0.1/pytest_httpbin.egg-info/PKG-INFO
new/pytest-httpbin-1.0.2/pytest_httpbin.egg-info/PKG-INFO
--- old/pytest-httpbin-1.0.1/pytest_httpbin.egg-info/PKG-INFO 2021-12-25
21:37:19.000000000 +0100
+++ new/pytest-httpbin-1.0.2/pytest_httpbin.egg-info/PKG-INFO 2022-02-25
11:31:20.000000000 +0100
@@ -1,42 +1,11 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
Name: pytest-httpbin
-Version: 1.0.1
+Version: 1.0.2
Summary: Easily test your HTTP library against a local copy of httpbin
Home-page: https://github.com/kevin1024/pytest-httpbin
Author: Kevin McCarthy
Author-email: [email protected]
License: MIT
-Description: pytest-httpbin
- ==============
-
- httpbin is an amazing web service for testing HTTP libraries. It has
several
- great endpoints that can test pretty much everything you need in a HTTP
- library. The only problem is: maybe you don't want to wait for your
tests to
- travel across the Internet and back to make assertions against a
remote web
- service.
-
- Enter pytest-httpbin. Pytest-httpbin creates a pytest "fixture" that is
- dependency-injected into your tests. It automatically starts up a HTTP
server
- in a separate thread running httpbin and provides your test with the
URL in the
- fixture. Check out this example:
-
- .. code-block:: python
-
- def test_that_my_library_works_kinda_ok(httpbin):
- assert requests.get(httpbin.url + '/get/').status_code == 200
-
- This replaces a test that might have looked like this before:
-
- .. code-block:: python
-
- def test_that_my_library_works_kinda_ok():
- assert requests.get('http://httpbin.org/get').status_code ==
200
-
- pytest-httpbin also supports https and includes its own CA cert you
can use.
- Check out `the full documentation`_ on the github page.
-
- .. _the full documentation: https://github.com/kevin1024/pytest-httpbin
-
Keywords: pytest-httpbin testing pytest httpbin
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
@@ -51,3 +20,38 @@
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
+Description-Content-Type: text/x-rst
+Provides-Extra: test
+
+pytest-httpbin
+==============
+
+httpbin is an amazing web service for testing HTTP libraries. It has several
+great endpoints that can test pretty much everything you need in a HTTP
+library. The only problem is: maybe you don't want to wait for your tests to
+travel across the Internet and back to make assertions against a remote web
+service.
+
+Enter pytest-httpbin. Pytest-httpbin creates a pytest "fixture" that is
+dependency-injected into your tests. It automatically starts up a HTTP server
+in a separate thread running httpbin and provides your test with the URL in the
+fixture. Check out this example:
+
+.. code-block:: python
+
+ def test_that_my_library_works_kinda_ok(httpbin):
+ assert requests.get(httpbin.url + '/get/').status_code == 200
+
+This replaces a test that might have looked like this before:
+
+.. code-block:: python
+
+ def test_that_my_library_works_kinda_ok():
+ assert requests.get('http://httpbin.org/get').status_code == 200
+
+pytest-httpbin also supports https and includes its own CA cert you can use.
+Check out `the full documentation`_ on the github page.
+
+.. _the full documentation: https://github.com/kevin1024/pytest-httpbin
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest-httpbin-1.0.1/pytest_httpbin.egg-info/entry_points.txt
new/pytest-httpbin-1.0.2/pytest_httpbin.egg-info/entry_points.txt
--- old/pytest-httpbin-1.0.1/pytest_httpbin.egg-info/entry_points.txt
2021-12-25 21:37:19.000000000 +0100
+++ new/pytest-httpbin-1.0.2/pytest_httpbin.egg-info/entry_points.txt
2022-02-25 11:31:20.000000000 +0100
@@ -1,3 +1,2 @@
[pytest11]
httpbin = pytest_httpbin.plugin
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest-httpbin-1.0.1/pytest_httpbin.egg-info/requires.txt
new/pytest-httpbin-1.0.2/pytest_httpbin.egg-info/requires.txt
--- old/pytest-httpbin-1.0.1/pytest_httpbin.egg-info/requires.txt
2021-12-25 21:37:19.000000000 +0100
+++ new/pytest-httpbin-1.0.2/pytest_httpbin.egg-info/requires.txt
2022-02-25 11:31:20.000000000 +0100
@@ -1,2 +1,6 @@
httpbin
six
+
+[test]
+requests
+pytest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-httpbin-1.0.1/setup.py
new/pytest-httpbin-1.0.2/setup.py
--- old/pytest-httpbin-1.0.1/setup.py 2021-12-25 21:35:09.000000000 +0100
+++ new/pytest-httpbin-1.0.2/setup.py 2022-02-25 11:28:09.000000000 +0100
@@ -22,6 +22,7 @@
description="Easily test your HTTP library against a local copy of
httpbin",
long_description=long_description,
+ long_description_content_type="text/x-rst",
# The project URL.
url='https://github.com/kevin1024/pytest-httpbin',
@@ -53,6 +54,7 @@
packages=find_packages(exclude=["contrib", "docs", "tests*"]),
include_package_data = True, # include files listed in MANIFEST.in
install_requires = ['httpbin','six'],
+ extras_require = {"test": ["requests", "pytest"]},
# the following makes a plugin available to pytest
entry_points = {