Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: James Hilliard <james.hilliard1@gmail.com>
Cc: Marcin Niestroj <m.niestroj@grinn-global.com>,
	Asaf Kahlon <asafka7@gmail.com>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v3 6/8] package/python-fastapi-sessions: new package
Date: Thu, 28 Dec 2023 09:59:18 +0100	[thread overview]
Message-ID: <20231228095918.43ebbcfa@windsurf> (raw)
In-Reply-To: <CADvTj4qyLnC=L0bn18cE6sNDEw9bWX=785E8ncJek9=G0VQxyQ@mail.gmail.com>

Hello James,

On Mon, 25 Dec 2023 17:47:01 -0700
James Hilliard <james.hilliard1@gmail.com> wrote:

> > $ grep -r pydantic *
> > fastapi_sessions/backends/session_backend.py:from pydantic.main import BaseModel
> > fastapi_sessions/frontends/implementations/cookie.py:from pydantic.main import BaseModel
> >
> > However, it's not listed in setup.py or pyproject.toml, even as an
> > optional dependency. Is this an upstream "bug" ?  
> 
> I see it in setup.py here:
> https://github.com/jordanisaacs/fastapi-sessions/blob/be4126938011abd709fa18e9d9fc8a54c66a2130/setup.py#L12

Thanks for the feedback. Yann replied to you about what I didn't see
it: it's not in the tarball from pypi, and I always look at the code in
output/build/<pkg>-<version>/, which is the code really seen by
Buildroot.

> > I see you're using plain old setuptools, but this package has a
> > pyproject.toml, though it doesn't define a [build-system]. Is this why
> > you can't use pep517?  
> 
> A package with no [build-system] section in pyproject.toml per pep517
> falls back to the setuptools build backend.

Ah, OK, thanks for clarifying this.

> We can use a pep517 frontend with setuptools packages, see:
> https://patchwork.ozlabs.org/project/buildroot/patch/20231126180840.2081945-5-james.hilliard1@gmail.com/

ACK!

Thanks for those details, very useful.

Best regards,

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  parent reply	other threads:[~2023-12-28  8:59 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-14 16:54 [Buildroot] [PATCH v3 1/8] package/python-typing-extensions: bump to version 4.9.0 James Hilliard
2023-12-14 16:54 ` [Buildroot] [PATCH v3 2/8] package/python-anyio: new package James Hilliard
2023-12-14 16:54 ` [Buildroot] [PATCH v3 3/8] package/python-starlette: " James Hilliard
2023-12-14 16:54 ` [Buildroot] [PATCH v3 4/8] package/python-fastapi: " James Hilliard
2023-12-14 18:16   ` Marcus Hoffmann via buildroot
2023-12-14 16:54 ` [Buildroot] [PATCH v3 5/8] package/python-uvicorn: " James Hilliard
2023-12-14 18:15   ` Marcus Hoffmann via buildroot
2023-12-14 16:54 ` [Buildroot] [PATCH v3 6/8] package/python-fastapi-sessions: " James Hilliard
2023-12-25 20:24   ` Thomas Petazzoni via buildroot
2023-12-26  0:47     ` James Hilliard
2023-12-26 10:26       ` yann.morin
2023-12-27  4:07         ` James Hilliard
2023-12-28  8:59       ` Thomas Petazzoni via buildroot [this message]
2023-12-14 16:54 ` [Buildroot] [PATCH v3 7/8] package/python-httpcore: " James Hilliard
2023-12-14 16:54 ` [Buildroot] [PATCH v3 8/8] package/python-httpx: " James Hilliard
2023-12-14 18:16 ` [Buildroot] [PATCH v3 1/8] package/python-typing-extensions: bump to version 4.9.0 Marcus Hoffmann via buildroot
2023-12-25 20:43 ` Thomas Petazzoni via buildroot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231228095918.43ebbcfa@windsurf \
    --to=buildroot@buildroot.org \
    --cc=asafka7@gmail.com \
    --cc=james.hilliard1@gmail.com \
    --cc=m.niestroj@grinn-global.com \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox