summaryrefslogtreecommitdiff
path: root/dev-python/flasgger/files
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-python/flasgger/files
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'dev-python/flasgger/files')
-rw-r--r--dev-python/flasgger/files/flasgger-0.9.7.1-click-8.2.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/dev-python/flasgger/files/flasgger-0.9.7.1-click-8.2.patch b/dev-python/flasgger/files/flasgger-0.9.7.1-click-8.2.patch
deleted file mode 100644
index e66324012d0a..000000000000
--- a/dev-python/flasgger/files/flasgger-0.9.7.1-click-8.2.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-https://github.com/flasgger/flasgger/pull/633
-
-From 08591b60e988c0002fcf1b1e9f98b78e041d2732 Mon Sep 17 00:00:00 2001
-From: Colin Watson <cjwatson@debian.org>
-Date: Tue, 4 Mar 2025 10:13:55 +0000
-Subject: [PATCH] Fix tests with Click 8.2
-
-https://github.com/pallets/click/pull/2523 introduced changes to
-`click.testing` that broke a few unit tests in Flasgger:
-`mix_stderr=False` is now effectively the default and can no longer be
-specified explicitly. Although this Click version hasn't been fully
-released yet, this adjusts Flasgger to work with both old and new
-versions.
---- a/tests/conftest.py
-+++ b/tests/conftest.py
-@@ -1,7 +1,9 @@
-+import inspect
- import json
- import random
-
- import pytest
-+from click.testing import CliRunner
- from flasgger import Swagger
- from flasgger.utils import get_examples
-
-@@ -99,4 +101,8 @@ def app():
-
- @pytest.fixture(scope="function")
- def cli_runner(app):
-- yield app.test_cli_runner(mix_stderr=False)
-+ kwargs = {}
-+ if "mix_stderr" in inspect.signature(CliRunner).parameters:
-+ # click < 8.2
-+ kwargs["mix_stderr"] = False
-+ yield app.test_cli_runner(**kwargs)
-