On Sun, Jan 19, 2025 at 3:15 AM Julian Gilbey <j...@debian.org> wrote:
>
> On Tue, Jan 14, 2025 at 09:29:35PM +0000, Julian Gilbey wrote:
> > Package: python3-fastapi
> > Version: 0.115.5-2
> > Severity: normal
> >
> > As I was looking at #1091598 (which is blocking one of "my" packages),
> > I noticed that the fastapi pyproject.toml specifies standard optional
> > dependencies to be fastapi-cli, httpx, jinja2, python-multipart,
> > email-validator, uvicorn, of which only uvicorn is included in the
> > binary Depends field.  I would suggest including these manually,
> > changing Depends to read:
>
> Ah, see https://github.com/fastapi/fastapi/discussions/11525 for why
> fastapi-cli was moved to a separate package, so avoid having fastapi
> depend on such a large set of packages.
>
> So as Stuart Prescott points out in
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1090781#10
> it would make more sense for these dependencies to be part of a new
> fastapi-cli package and to drop the /usr/bin/fastapi command from
> python3-fastapi.

closing #1093046 as there's nothing to be done for src:fastapi, and
even if there was, no optional dependency belongs in the Depends
field, but instead in the Recommended/Suggests fields depending on
their importance in the optional features they enable when present.

Reply via email to