From 3450a602fdd43b1d3a06581fd0106397b32e965b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 14 Nov 2024 07:52:06 -0800 Subject: [PATCH] import python_multipart instead of multipart (#1995) Changes proposed in this pull request: - use `import python_multipart`, see https://github.com/Kludex/python-multipart/blob/master/CHANGELOG.md#0013-2024-10-20 --- connexion/lifecycle.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/connexion/lifecycle.py b/connexion/lifecycle.py index 838294a6e..c7cd5aa6d 100644 --- a/connexion/lifecycle.py +++ b/connexion/lifecycle.py @@ -5,7 +5,7 @@ import typing as t from collections import defaultdict -from multipart.multipart import parse_options_header +from python_multipart.multipart import parse_options_header from starlette.datastructures import UploadFile from starlette.requests import Request as StarletteRequest from werkzeug import Request as WerkzeugRequest diff --git a/pyproject.toml b/pyproject.toml index 019796203..b1ab36041 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,7 +50,7 @@ httpx = ">= 0.23" inflection = ">= 0.3.1" jsonschema = ">=4.17.3" Jinja2 = ">= 3.0.0" -python-multipart = ">= 0.0.5" +python-multipart = ">= 0.0.15" PyYAML = ">= 5.1" requests = ">= 2.27" starlette = ">= 0.35"