Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/6] Add 'maturin' python backend support
@ 2023-12-07 23:13 Tim Orling
  2023-12-07 23:13 ` [PATCH 1/6] python3-setuptools-rust: BBCLASSEXTEND + nativesdk Tim Orling
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: Tim Orling @ 2023-12-07 23:13 UTC (permalink / raw)
  To: openembedded-core

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



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2023-12-14  0:29 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-07 23:13 [PATCH 0/6] Add 'maturin' python backend support Tim Orling
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox