On Wed, Jan 25, 2023 at 12:38 PM Pete Walter <walter.p...@yandex.com> wrote:
>
> I am not happy about dropping Fedora packages in favor of upstream Flatpaks 
> either.
>
> Can you assign the package to me instead of retiring it? I can get it updated 
> so we can keep it in Fedora.

It looks like Bottles itself doesn't contain any Rust code, so I
assume some of its Python dependencies now build native modules that
are implemented in Rust?
If that's the case, then it should be possible to package them for
Fedora. The most prominent example is probably python-cryptography,
and assuming the Python packages use setuptools with the
setuptools_rust backend for building the native module, it can be used
as a guide for how to package Python packages with Rust dependencies
correctly.

If the projects use maturin as their build backend, some more work is
involved, since packaging maturin itself for Fedora will require
significant investment of time and resources (that I am currently
unable to provide alone). However, it should be possible in almost all
cases to "port" Python packages from maturin to setuptools_rust, since
setuptools_rust is more flexible and less opinionated than maturin
(and they are almost entirely compatible with each other, since
they're developed by the same project). Additionally, Fedora builds
don't need any of the additional bells and whistles that maturin
provides for upstream development (i.e. cross-compilation to different
targets + architectures), so porting projects back from maturin to
setuptools_rust should usually be possible without losing any
functionality that is required for building RPM packages for Fedora.

Fabio
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to