[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Requesting guidance on the best way to package Python packages that include Rust code (specifically uv_build)



On 2025-09-18 5 h 08 p.m., Soren Stoutner wrote:
Note:  Sending again with a fixed address for the debian-rust mailing list.  I
apologize for the duplicate.

There are a couple of Python packages I maintain which have introduced new
dependencies written in Python but containing Rust code.  In particular, this
email is regarding uv_build, which is a Python build system that is being
adopted by a number of upstream projects whose packages I maintain.

Manuel Guerra has been looking into how difficult it is to package uv_build.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1115616

By default, it wants to download Rust code at build-time based on a
Cargo.toml.  I assume this is not unique nor the first time this can come up
with a Python package.  My question is, what is the canonical way for handing
such dependencies?


Hello!

I faced similar issues before, maybe this package can be an inspiration:

https://salsa.debian.org/python-team/packages/python-watchfiles

--
  ⢀⣴⠾⠻⢶⣦⠀
  ⣾⠁⢠⠒⠀⣿⡁  Louis-Philippe Véronneau
  ⢿⡄⠘⠷⠚⠋   pollo@debian.org / veronneau.org
  ⠈⠳⣄


Reply to: