- Package:
- src:fastapi
- Source:
- src:fastapi
- Submitter:
- Lucas Nussbaum
- Date:
- 2025-01-17 00:18:02 UTC
- Severity:
- normal
- Tags:
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): The full build log is available from: http://qa-logs.debian.net/2024/12/28/fastapi_0.115.5-2_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20241228;users=lucas@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20241228&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.
Hi Sandro,
The causes of this are that python3-multipart is unintentionally
installed during build time, and that python3-python-multipart doesn't
ship the multipart redirector
(/usr/lib/python3/dist-packages/multipart/*).
The attached patch fixes this FTBFS by simply ignoring all of the
tests checking that python_multipart is identical to the expected
upstream version.
It also fixes two other serious issues and two other significant
issues:
* It no longer installs /usr/lib/python3/dist-packages/log.txt, which
is a spurious test artefact.
* It fixes debian/copyright, which did not actually specify any
licenses - I assume that you intended debian/* to be under the same
MIT license as the rest of the package
* It includes the upstream changelog in /usr/share/doc
* It simplifies the build-dependency to python3-python-multipart,
since it is now in testing
Attached is a debdiff; I'll upload it as an NMU in a few days' time
unless you beat me to it!
Best wishes,
Julian
diff -Nru fastapi-0.115.5/debian/changelog fastapi-0.115.5/debian/changelog
--- fastapi-0.115.5/debian/changelog 2024-11-29 02:00:07.000000000 +0000
+++ fastapi-0.115.5/debian/changelog 2025-01-14 20:46:24.000000000 +0000
@@ -1,3 +1,15 @@
+fastapi (0.115.5-2.1) unstable; urgency=medium
+
+ * Non-maintainer upload
+ * Simplify dependencies to just python3-python-multipart
+ * Skip tests checking that python3-python-multipart matches the upstream
+ version with multipart redirector; Closes: #1091598
+ * Remove spurious file /usr/lib/python3/dist-packages/log.txt
+ * Fix debian/copyright to specify the license
+ * Install upstream changelog into /usr/share/doc
+
+ -- Julian Gilbey <jdg@debian.org> Tue, 14 Jan 2025 20:46:24 +0000
+
fastapi (0.115.5-2) unstable; urgency=medium
[ Colin Watson ]
diff -Nru fastapi-0.115.5/debian/control fastapi-0.115.5/debian/control
--- 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>,
diff -Nru fastapi-0.115.5/debian/copyright fastapi-0.115.5/debian/copyright
--- fastapi-0.115.5/debian/copyright 2024-11-29 02:00:07.000000000 +0000
+++ fastapi-0.115.5/debian/copyright 2025-01-14 20:46:24.000000000 +0000
@@ -5,13 +5,13 @@
Files: *
Copyright: (c) 2018 Sebastián Ramírez
-License:
+License: Expat
Files: debian/*
Copyright: 2020-2023 © Sandro Tosi <morph@debian.org>
-License:
+License: Expat
We believe that the bug you reported is fixed in the latest version of
fastapi, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1091598@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sandro Tosi <morph@debian.org> (supplier of updated fastapi package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 16 Jan 2025 18:01:58 -0500
Source: fastapi
Architecture: source
Version: 0.115.5-3
Distribution: unstable
Urgency: medium
Maintainer: Sandro Tosi <morph@debian.org>
Changed-By: Sandro Tosi <morph@debian.org>
Closes: 1091598
Changes:
fastapi (0.115.5-3) unstable; urgency=medium
.
* debian/rules
- ignore tests/test_multipart_installation.py during test, to support
multipart/python_multipart co-existance in debian; Closes: #1091598
Checksums-Sha1:
6ab61667e873043ff9cd914b84a55837aece7d94 2660 fastapi_0.115.5-3.dsc
f4ef1a67e0f95a5ae23a20f152dd1b31526247bf 5576 fastapi_0.115.5-3.debian.tar.xz
f4b557a9c0da25803652b45efde160bb16452fb3 9027 fastapi_0.115.5-3_source.buildinfo
Checksums-Sha256:
73bebb173e7a47569e630d67dedc07bbc4103a34916371c0aa239f54edb7d0bf 2660 fastapi_0.115.5-3.dsc
fe54db933d9376b3d00259ed596be5eadcfd9099ae56f933e7434f35058e318b 5576 fastapi_0.115.5-3.debian.tar.xz
219b3b72cf74cab1e2dab1ec3521096096ce4ee8bdef764080cc4ecf1205e4e0 9027 fastapi_0.115.5-3_source.buildinfo
Files:
5940d27e8596b69d35d26931428f6e7d 2660 python optional fastapi_0.115.5-3.dsc
3676ab78fea1c7d4fc59030a7087b72c 5576 python optional fastapi_0.115.5-3.debian.tar.xz
ba38d24b333ed326865cd20397310e13 9027 python optional fastapi_0.115.5-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEufrTGSrz5KUwnZ05h588mTgBqU8FAmeJkYsACgkQh588mTgB
qU+qNRAAk74TJU1XCFN29TT4P3UuNBbcDTpwlxVpGy6jHS5+cAwcbosHvamgF1qg
uaRuzZR8DdjqsJ2UF0uj6HQKjKeH2Fa5x3SWRw1SwJ9AfUuu0XCmGPjOicSVUrxS
wIF9gh9R6dXihH32dmOnVircjUHFaSwJjgxPgHair35Fpykd+XkSupFLtIzUHiV+
pfC3agk3HKGskVI8H21nJd1glV7lHU8f72EhvAWfx+ew1bE4bKMHYspRNiBOYikL
hwdyDAkkdPH7j7gjqjkLNlgg1ncfqSgzKLm6Itwzc+FhWojFPk/JA/j6lRr4UsXS
Z16vU99KNovnX+nx5r2EfXhPbYQpZpLI/Vfr4he3+HF0EXRcOHbdCEhsw+sbzUnH
2dkzxKdux06F1E9GrY8l4Z2PK5n8ubXh7BkA46IKQSTd7y4jwdTGaK8vb21gJs7k
MCaelJxKWTODhcg1TYwt3/Jfje2HA3cX76W5VphHku8fLE71HTfHgkw1QFaC4h+C
amofz4ByR7wKzkfOaUIk4dJ7CpTd/nx+gCWuUpl2khqK+YJ9n5D1ylpar2+dk+3A
0m4Uyou4NUX9AXrykfHU4GQohhq+UcNx0m3QJI5m6uKEGO3Je8pEii0fBPTMwm8P
ilw0hlDyh3tZRlzDJiMGWSfDNWe9ddZWPqjzlGXh+ob32gsVqak=
=B5gJ
-----END PGP SIGNATURE-----