Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #17076

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

From Louis-Philippe Véronneau <pollo@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Requesting guidance on the best way to package Python packages that include Rust code (specifically uv_build)
Date 2025-09-18 23:20 +0200
Message-ID <LwucN-go6t-5@gated-at.bofh.it> (permalink)
References <Lwu37-go2O-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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
   ⠈⠳⣄

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

  Requesting guidance on the best way to package Python packages that include  Rust code (specifically uv_build) Soren Stoutner <soren@debian.org> - 2025-09-18 23:10 +0200
  Re: Requesting guidance on the best way to package Python packages  that include Rust code (specifically uv_build) Louis-Philippe Véronneau <pollo@debian.org> - 2025-09-18 23:20 +0200
  Re: Requesting guidance on the best way to package Python packages  that include Rust code (specifically uv_build) Ananthu C V <weepingclown@debian.org> - 2025-09-19 13:40 +0200
      Re: Requesting guidance on the best way to package Python packages that  include Rust code (specifically uv_build) Soren Stoutner <soren@debian.org> - 2025-09-21 04:30 +0200

csiph-web