Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-requests-mock for
openSUSE:Factory checked in at 2023-01-10 14:58:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-requests-mock (Old)
and /work/SRC/openSUSE:Factory/.python-requests-mock.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-requests-mock"
Tue Jan 10 14:58:53 2023 rev:19 rq:1056828 version:1.10.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-requests-mock/python-requests-mock.changes
2022-07-29 16:46:58.842499541 +0200
+++
/work/SRC/openSUSE:Factory/.python-requests-mock.new.32243/python-requests-mock.changes
2023-01-10 14:58:56.480927254 +0100
@@ -1,0 +2,30 @@
+Sat Jan 7 22:55:58 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 1.10.0:
+ * Add a release note for the RLock
+ * Allow passing json\_encoder to mocking
+ * Improvements to Type Hints
+ * Lint fix for long line exception
+ * Shorten line length of comments
+ * Workaround for python2.7 not supporting lock timeout
+ * Comments to explain reentrant behaviour
+ * Change to use RLock and set a timeout to prevent infinite deadlocks
+ * Update homepage/doc URLs of requests library
+ * Add comment for pytest late loading feature
+ * pytest plugin should lazy-load requests\_mock
+ * Add test for threaded race condition
+ * Use threading.Lock() to prevent race conditions around monkeypatching of
+ get\_adapter()
+ * add GitHub URL for PyPi
+ * Add reset methods on the Mocker class type
+ * Avoid using distutils to check pytest version
+ * YAML quoting
+ * Support Python 3.10
+ * Minor changes to code snippet example
+ * Fix DeprecationWarnings in setup.cfg keys
+ * a few minor fixes and proposed changes to documentation files
+ * Improve response-related param type hints
+ * Explicitly indicate start of keyword-only args
+ * Fix failing pytest
+
+-------------------------------------------------------------------
Old:
----
requests-mock-1.9.3.tar.gz
New:
----
requests-mock-1.10.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-requests-mock.spec ++++++
--- /var/tmp/diff_new_pack.3E43JM/_old 2023-01-10 14:58:57.008930080 +0100
+++ /var/tmp/diff_new_pack.3E43JM/_new 2023-01-10 14:58:57.012930102 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-requests-mock
#
-# 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
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-requests-mock
-Version: 1.9.3
+Version: 1.10.0
Release: 0
Summary: Module to mock out responses from the requests package
License: Apache-2.0
@@ -31,6 +31,7 @@
BuildRequires: %{python_module purl}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests >= 2.3}
+BuildRequires: %{python_module requests-futures}
BuildRequires: %{python_module six}
BuildRequires: %{python_module testrepository >= 0.0.18}
BuildRequires: %{python_module testtools}
++++++ remove-mock.patch ++++++
--- /var/tmp/diff_new_pack.3E43JM/_old 2023-01-10 14:58:57.044930273 +0100
+++ /var/tmp/diff_new_pack.3E43JM/_new 2023-01-10 14:58:57.048930295 +0100
@@ -1,9 +1,9 @@
-Index: requests-mock-1.9.3/tests/test_mocker.py
+Index: requests-mock-1.10.0/tests/test_mocker.py
===================================================================
---- requests-mock-1.9.3.orig/tests/test_mocker.py
-+++ requests-mock-1.9.3/tests/test_mocker.py
-@@ -12,7 +12,10 @@
-
+--- requests-mock-1.10.0.orig/tests/test_mocker.py
++++ requests-mock-1.10.0/tests/test_mocker.py
+@@ -13,7 +13,10 @@
+ import json
import pickle
-import mock
++++++ requests-mock-1.9.3.tar.gz -> requests-mock-1.10.0.tar.gz ++++++
++++ 1919 lines of diff (skipped)