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


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

Re: packaging rfc3161-client

From Louis-Philippe Véronneau <pollo@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: packaging rfc3161-client
Date 2025-08-26 17:20 +0200
Message-ID <Lo3CN-awve-1@gated-at.bofh.it> (permalink)
References <JXXvb-2TiU-13@gated-at.bofh.it> <JXY7U-2V0L-21@gated-at.bofh.it> <JXY7U-2V0L-19@gated-at.bofh.it> <Lo1rj-auQR-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <simon@josefsson.org> writes:
> 
>> Jelmer Vernooij <jelmer@jelmer.uk> 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 <alexander.kjall@gmail.com> 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 <weepingclown@disroot.org> 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
   ⠈⠳⣄

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


Thread

packaging rfc3161-client Simon Josefsson <simon@josefsson.org> - 2024-12-26 16:00 +0100
  Re: packaging rfc3161-client weepingclown <weepingclown@disroot.org> - 2024-12-26 16:20 +0100
  Re: packaging rfc3161-client Alexander Kjäll <alexander.kjall@gmail.com> - 2024-12-26 16:40 +0100
  Re: packaging rfc3161-client Simon Josefsson <simon@josefsson.org> - 2024-12-26 16:40 +0100
    Re: packaging rfc3161-client Simon Josefsson <simon@josefsson.org> - 2025-08-26 15:00 +0200
      Re: packaging rfc3161-client Alexander Kjäll <alexander.kjall@gmail.com> - 2025-08-26 15:40 +0200
      Re: packaging rfc3161-client Louis-Philippe Véronneau <pollo@debian.org> - 2025-08-26 17:20 +0200
  Re: packaging rfc3161-client Jelmer Vernooij <jelmer@jelmer.uk> - 2024-12-26 16:40 +0100
  Bug#1120560: ITP: python-rfc3161-client -- Opinionated Python RFC3161 Client Simon Josefsson <simon@josefsson.org> - 2025-11-12 10:30 +0100

csiph-web