python313Packages.connexion: 3.1.0 -> 3.2.0

Diff: https://github.com/spec-first/connexion/compare/refs/tags/3.1.0...3.2.0

Changelog: https://github.com/spec-first/connexion/releases/tag/3.2.0
This commit is contained in:
Robert Schütz
2025-01-08 04:23:32 -08:00
parent ab84748075
commit 4fdc071afb
2 changed files with 4 additions and 41 deletions
@@ -1,25 +0,0 @@
From 10c3d787cc9c7fb31c6cc7074e9ce00dfeb6bb85 Mon Sep 17 00:00:00 2001
From: wxt <3264117476@qq.com>
Date: Thu, 14 Nov 2024 16:16:17 +0800
Subject: [PATCH] Part of 1992
---
tests/decorators/test_validation.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/decorators/test_validation.py b/tests/decorators/test_validation.py
index bece403..d7e0984 100644
--- a/tests/decorators/test_validation.py
+++ b/tests/decorators/test_validation.py
@@ -78,7 +78,7 @@ def test_invalid_type(monkeypatch):
logger = MagicMock()
monkeypatch.setattr("connexion.validators.parameter.logger", logger)
result = ParameterValidator.validate_parameter(
- "formdata", 20, {"type": "string", "name": "foo"}
+ "formdata", 20, {"name": "foo", "type": "string"}
)
expected_result = """20 is not of type 'string'
--
2.47.0
@@ -35,7 +35,7 @@
buildPythonPackage rec {
pname = "connexion";
version = "3.1.0";
version = "3.2.0";
pyproject = true;
disabled = pythonOlder "3.8";
@@ -44,14 +44,9 @@ buildPythonPackage rec {
owner = "spec-first";
repo = "connexion";
tag = version;
hash = "sha256-rngQDU9kXw/Z+Al0SCVnWN8xnphueTtZ0+xPBR5MbEM=";
hash = "sha256-ruwpA2yd7FRME1FvYrZh0EOnhmQ26YVouXzpVD9ph6g=";
};
patches = [
# A really small Part of https://github.com/spec-first/connexion/pull/1992 Will fix check on newest dependencies
./0001-Part-of-1992.patch
];
build-system = [ poetry-core ];
dependencies = [
@@ -89,17 +84,10 @@ buildPythonPackage rec {
[
"test_build_example"
"test_mock_resolver_no_example"
"test_sort_apis_by_basepath"
"test_sort_routes"
# Tests require network access
"test_remote_api"
# AssertionError
"test_headers"
# waiter.acquire() deadlock
"test_cors_server_error"
"test_get_bad_default_response"
"test_schema_response"
"test_writeonly"
# test expects "{'name': 'foo', 'type': 'string'}" rather than "{'type': 'string', 'name': 'foo'}"
"test_invalid_type"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# ImportError: Error while finding loader for '/private/tmp/nix-build-python3.12-connexion-3.1.0.drv-0/source' (<class 'ModuleNotFoundError'>: No module named '/private/tmp/nix-build-python3')