Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Tim Orling <ticotimo@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 0/6] Add 'maturin' python backend support
Date: Thu,  7 Dec 2023 15:13:17 -0800	[thread overview]
Message-ID: <cover.1701989368.git.tim.orling@konsulko.com> (raw)

We are increasingly seeing Rust extensions for Python added in the
ecosystem. The current best practices approach has moved from using
'setuptools-rust' to using 'maturin'.

* Add python3-maturin, including 'native' and 'nativesdk' support.
* Add a 'python_maturin' bbclass for the PEP-517 backend.
* Add recipetool support for the 'maturin' PEP-517 backend.
* Add a very basic 'maturin list-python' smoke test added to oeqa for
  both 'runtime' (-c testimage) and 'sdk' (-c testsdk).

The following changes since commit 70ad9b9b309575134834757468cb32c9e3b87448:

  bitbake: hashserv: sqlite: Ensure sync propagates to database connections (2023-12-04 22:36:09 +0000)

are available in the Git repository at:

  https://git.yoctoproject.org/poky-contrib timo/maturin_1.3.2
  https://git.yoctoproject.org/poky-contrib/log/?h=timo/maturin_1.3.2

Tim Orling (6):
  python3-setuptools-rust: BBCLASSEXTEND + nativesdk
  python3-maturin: add v1.3.2
  classes-recipe: add python_maturin.bbclass
  recipetool: add python_maturin support
  oe-selfest: add maturn runtime (testimage) test
  python3-maturin: add sdk (testsdk) test case

 meta/classes-recipe/python_maturin.bbclass    |  17 +
 meta/conf/distro/include/maintainers.inc      |   1 +
 meta/lib/oeqa/runtime/cases/maturin.py        |  23 +
 meta/lib/oeqa/sdk/cases/maturin.py            |  33 +
 meta/lib/oeqa/selftest/cases/recipetool.py    |  34 ++
 .../python/python3-maturin-crates.inc         | 572 ++++++++++++++++++
 .../python/python3-maturin_1.3.2.bb           |  40 ++
 .../python/python3-setuptools-rust_1.8.1.bb   |   2 +-
 .../lib/recipetool/create_buildsys_python.py  |   1 +
 9 files changed, 722 insertions(+), 1 deletion(-)
 create mode 100644 meta/classes-recipe/python_maturin.bbclass
 create mode 100644 meta/lib/oeqa/runtime/cases/maturin.py
 create mode 100644 meta/lib/oeqa/sdk/cases/maturin.py
 create mode 100644 meta/recipes-devtools/python/python3-maturin-crates.inc
 create mode 100644 meta/recipes-devtools/python/python3-maturin_1.3.2.bb

-- 
2.34.1



             reply	other threads:[~2023-12-07 23:13 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-07 23:13 Tim Orling [this message]
2023-12-07 23:13 ` [PATCH 1/6] python3-setuptools-rust: BBCLASSEXTEND + nativesdk Tim Orling
2023-12-07 23:13 ` [PATCH 2/6] python3-maturin: add v1.3.2 Tim Orling
2023-12-07 23:13 ` [PATCH 3/6] classes-recipe: add python_maturin.bbclass Tim Orling
2023-12-07 23:13 ` [PATCH 4/6] recipetool: add python_maturin support Tim Orling
2023-12-08 23:38   ` [OE-core] " Peter Kjellerstedt
2023-12-09  2:02   ` [PATCH v2 " Tim Orling
2023-12-09 11:29     ` [OE-core] " Alexandre Belloni
     [not found]     ` <179F2663983D88F3.26830@lists.openembedded.org>
2023-12-09 11:59       ` Alexandre Belloni
2023-12-14  0:28         ` Tim Orling
2023-12-07 23:13 ` [PATCH 5/6] oe-selfest: add maturn runtime (testimage) test Tim Orling
2023-12-07 23:13 ` [PATCH 6/6] python3-maturin: add sdk (testsdk) test case Tim Orling
2023-12-08 22:50 ` [OE-core] [PATCH 0/6] Add 'maturin' python backend support Alexandre Belloni
2023-12-08 23:58   ` Tim Orling
     [not found]   ` <179F00AD57313E1B.7956@lists.openembedded.org>
2023-12-09  0:59     ` Tim Orling

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=cover.1701989368.git.tim.orling@konsulko.com \
    --to=ticotimo@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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