Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-stripe for openSUSE:Factory 
checked in at 2024-01-19 23:01:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-stripe (Old)
 and      /work/SRC/openSUSE:Factory/.python-stripe.new.16006 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-stripe"

Fri Jan 19 23:01:58 2024 rev:4 rq:1139834 version:7.12.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-stripe/python-stripe.changes      
2024-01-17 22:16:11.940978086 +0100
+++ /work/SRC/openSUSE:Factory/.python-stripe.new.16006/python-stripe.changes   
2024-01-19 23:02:17.746247411 +0100
@@ -1,0 +2,8 @@
+Fri Jan 19 03:23:20 UTC 2024 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Drop patch also-skip-streaming.patch:
+  * No longer needed.
+- Add BuildRequires on new stripe-mock service, and run it during the
+  check phase.
+
+-------------------------------------------------------------------

Old:
----
  also-skip-streaming.patch

BETA DEBUG BEGIN:
  Old:
- Drop patch also-skip-streaming.patch:
  * No longer needed.
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-stripe.spec ++++++
--- /var/tmp/diff_new_pack.Cz5Ci2/_old  2024-01-19 23:02:18.322268481 +0100
+++ /var/tmp/diff_new_pack.Cz5Ci2/_new  2024-01-19 23:02:18.322268481 +0100
@@ -25,8 +25,6 @@
 Source:         
https://files.pythonhosted.org/packages/source/s/stripe/stripe-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM gh#stripe/stripe-python#1195
 Patch0:         use-sys-executable.patch
-# PATCH-FIX-OPENSUSE Skip tests that require mocked stripe service running
-Patch1:         also-skip-streaming.patch
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest >= 6.0}
 BuildRequires:  %{python_module pytest-mock >= 2.0}
@@ -36,6 +34,7 @@
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+BuildRequires:  stripe-mock
 Requires:       python-requests >= 2.20
 Requires:       python-typing_extensions >= 4.5.0
 Conflicts:      python-stripe-api
@@ -56,7 +55,10 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%pytest --nomock
+stripe-mock &
+pid=$!
+%pytest
+kill $pid
 
 %files %{python_files}
 %doc CHANGELOG.md README.md examples/

Reply via email to