Path: csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod From: =?UTF-8?Q?Louis-Philippe_V=C3=A9ronneau?= Newsgroups: linux.debian.maint.python Subject: Re: packaging rfc3161-client Date: Tue, 26 Aug 2025 17:20:01 +0200 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Tue Aug 26 15:15:15 2025 Old-Return-Path: X-Amavis-Spam-Status: No, score=-106.91 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, BODY_8BITS=1.5, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, GMAIL=1, LDO_WHITELIST=-5, MURPHY_SCAM1=0.1, RCVD_IN_DNSWL_MED=-2.3, UNPARSEABLE_RELAY=0.001, USER_IN_DKIM_WELCOMELIST=-0.01, USER_IN_DKIM_WHITELIST=-100] autolearn=ham autolearn_force=no MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US Autocrypt: addr=pollo@debian.org; keydata= xjMEYEPdjBYJKwYBBAHaRw8BAQdA5yh8SOHhcvKeX/A4rv0/JTCL8Kgnnwy4/okKh1Htbs3N LExvdWlzLVBoaWxpcHBlIFbDqXJvbm5lYXUgPHBvbGxvQGRlYmlhbi5vcmc+wpYEExYKAD4C GwMFCwkIBwMFFQoJCAsFFgIDAQACHgECF4AWIQT2TWHTIfPLSJFWdT3h5UV8i61BEwUCZb/f iAUJDuIDfAAKCRDh5UV8i61BEzdaAP0cGJp8CpkywzefhdaJjfK5/uAQLRg5Bk6yCWnyR8B4 wQEAxA4C39PJPsosgOVBMdfkzCPhGVynYBnujOyEcksX1w/OOARgQ+DlEgorBgEEAZdVAQUB AQdAgRLbDfS/6GLXd15qI9zHso9UwJQgDbme7pvL1Z9rkG4DAQgHwn4EGBYKACYCGwwWIQT2 TWHTIfPLSJFWdT3h5UV8i61BEwUCZb/fsAUJDuIASgAKCRDh5UV8i61BEwYaAQDhvbQQqmTD F/fdodzfiY45IWYckb9rCvKaVnfP6DOY9QEA/eeaEWmOq2NpOYpBesVjBZCLe8jKv1WPMfLL YOfDIAc= Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Debian-User: pollo X-Mailing-List: archive/latest/23211 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/b03244cf-bb41-4f1e-9d96-8a75b6e2b6e8@debian.org Approved: robomod@news.nic.it Lines: 79 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Tue, 26 Aug 2025 11:14:54 -0400 X-Original-Message-ID: X-Original-References: <87msgitrxw.fsf@kaka.sjd.se> <87frmatq15.fsf@kaka.sjd.se> <87349ejlgs.fsf@josefsson.org> Xref: csiph.com linux.debian.maint.python:17034 On 2025-08-26 8 h 50 a.m., Simon Josefsson wrote: > Folks, > > Is there someone who like to help on the rfc3161-client package, which > involves both Rust and Python? Starting point is here: > > https://salsa.debian.org/python-team/packages/python-rfc3161-client > > Build failure here: > https://salsa.debian.org/python-team/packages/python-rfc3161-client/-/jobs/8106868 > > I haven't had time to look into the pointers given earlier, I am hoping > this is easy to solve for anyone familiar with Rust & Python packaging. > > There is good interaction with upstream going on about dependencies for > the entire Sigstore stack -- > https://github.com/sigstore/sigstore-python/issues/1524 -- and I think > we can influence things a little (like temporarily avoiding use of the > UV build system for some Python code) if we put some cycles into > preparing packages that are needed for Sigstore into Debian. > > /Simon > > Simon Josefsson writes: > >> Jelmer Vernooij writes: >> >>> I've packaged a few Python packages that are fully or partially >>> built in rust. The simplest examples are probably: >>> >>> * dulwich >>> * python-upstream-ontologist >>> >>> More advanced are e.g.: >>> >>> * ruff >> >> Thanks! >> >> Alexander Kjäll writes: >> >>> As long as the Rust crates are published on crates.io then I think it would >>> be easiest to package them in the rust team :) >> >> They aren't on creates.io. Since the need arose from a python library, >> I'll see if I can complete this within the python team, but if the Rust >> part of this package turns out to be heavy I think that is a bad idea >> and it should be split up or moved to Rust team. Maybe upstream could >> publish the Rust crate on crates.io and separate the project into two >> parts eventually. >> >> weepingclown writes: >> >>> Hi, >>> >>> Top of my head, there is src:pendulum and >>> src:python-orjson. *Probably* anything with a python3-maturin >>> build-dep can be of help. >> >> Thank you! >> >> I will try to learn from python-upstream-ontologist and python-orjson >> which looks closest to this package. >> >> /Simon >> Here's an example of a Python project I worked on that uses maturin: https://salsa.debian.org/python-team/packages/python-watchfiles You'll need to patch the cargo file manually to use the right versions of the Rust packages in the Debian archive... -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Louis-Philippe Véronneau ⢿⡄⠘⠷⠚⠋ pollo@debian.org / veronneau.org ⠈⠳⣄