Source: fastapi
Version: 0.92.0-1
Severity: minor
Tags: patch

The Build-Depends specifies:

   python3-multipart (>= 0.0.13) | python3-python-multipart <!nocheck>,
   python3-multipart (<< 0.1) | python3-python-multipart <!nocheck>,

Because of the way that APT works, the second line installs
python3-python-multipart but the first line installs python3-multipart
(>> 1), because that solves the first of the two options.  This could
probably be fixed by swapping the order of the two options to:

   python3-python-multipart | python3-multipart (>= 0.0.13) <!nocheck>,
   python3-python-multipart | python3-multipart (<< 0.1) <!nocheck>,

or, since python3-python-multipart is now in testing, to the single
dependency

   python3-python-multipart


Here's a patch:

--- fastapi-0.115.5/debian/control      2024-11-29 02:00:07.000000000 +0000
+++ fastapi-0.115.5/debian/control      2025-01-14 20:46:24.000000000 +0000
@@ -13,8 +13,7 @@
                python3-flask <!nocheck>,
                python3-httpx (>= 0.23.1) <!nocheck>,
                python3-inline-snapshot <!nocheck>,
-               python3-multipart (>= 0.0.13) | python3-python-multipart 
<!nocheck>,
-               python3-multipart (<< 0.1) | python3-python-multipart 
<!nocheck>,
+               python3-python-multipart <!nocheck>,
                python3-pdm-backend,
                python3-peewee <!nocheck>,
                python3-pydantic (>= 1.8.2) <!nocheck>,


Best wishes,

   Julian

Reply via email to