Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-flask-restx for 
openSUSE:Factory checked in at 2025-02-24 15:50:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-flask-restx (Old)
 and      /work/SRC/openSUSE:Factory/.python-flask-restx.new.1873 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-flask-restx"

Mon Feb 24 15:50:16 2025 rev:13 rq:1248078 version:1.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-flask-restx/python-flask-restx.changes    
2024-11-15 15:41:57.827210586 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-flask-restx.new.1873/python-flask-restx.changes
  2025-02-24 15:50:47.744342473 +0100
@@ -1,0 +2,5 @@
+Mon Feb 24 10:33:29 UTC 2025 - Dirk Müller <dmuel...@suse.com>
+
+- add Fix-testing-with-flask.patch
+
+-------------------------------------------------------------------

New:
----
  Fix-testing-with-flask.patch

BETA DEBUG BEGIN:
  New:
- add Fix-testing-with-flask.patch
BETA DEBUG END:

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

Other differences:
------------------
++++++ python-flask-restx.spec ++++++
--- /var/tmp/diff_new_pack.1a9qnH/_old  2025-02-24 15:50:48.484373397 +0100
+++ /var/tmp/diff_new_pack.1a9qnH/_new  2025-02-24 15:50:48.488373565 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-flask-restx
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,7 @@
 Source:         
https://github.com/python-restx/flask-restx/archive/%{version}.tar.gz
 # PATCH-FIX-UPSTREAM https://github.com/python-restx/flask-restx/pull/622
 Patch0:         Replace-pytz-with-zoneinfo-datetime-timezone.patch
+Patch1:         Fix-testing-with-flask.patch
 BuildRequires:  %{python_module Faker}
 BuildRequires:  %{python_module Flask}
 BuildRequires:  %{python_module Werkzeug}

++++++ Fix-testing-with-flask.patch ++++++
>From ffb079c696e7901b0b27526810ff32c52beb8aa0 Mon Sep 17 00:00:00 2001
From: Peter Doggart <10991724+peter-dogg...@users.noreply.github.com>
Date: Thu, 28 Nov 2024 16:29:08 +0000
Subject: [PATCH] Fix testing for Flask 3.1.0 changes. (#629)

* Fix testing for Flask 3.1.0 changes.

* Deprecate python 3.8.

---------

--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -44,7 +44,7 @@ def get_specs(self, prefix="", status=200, **kwargs):
 
 @pytest.fixture
 def app():
-    app = Flask(__name__)
+    app = Flask(__name__, subdomain_matching=True)
     app.test_client_class = TestClient
     yield app
 

Reply via email to