Re: Advice on packaging Python with Rust dependency

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

 



The missing dependency is pkg-version[0]. It seems like its only outside dependency is already packaged[1] in Fedora.

It would be great if you could package it. If not, I'll look into it.


[0]https://docs.rs/pkg-version/latest/pkg_version/index.html
[1]https://src.fedoraproject.org/rpms/rust-proc-macro-hack

On Wed, Nov 2, 2022 at 11:24 AM Fabio Valentini <decathorpe@xxxxxxxxx> wrote:
On Wed, Nov 2, 2022 at 11:11 AM Miro Hrončok <mhroncok@xxxxxxxxxx> wrote:
>
> On 02. 11. 22 10:48, Ondrej Pohorelsky wrote:
> > Thanks, that did the trick!

I concur.
With setuptools_rust, you're pretty much already set up, just look at
whatever python-cryptography is doing.

Sadly the other popular build tool for Rusty Python packages (maturin)
will take a while to get packaged for Fedora ...

> > The only problem is, that one of the other dependencies which I haven't caught
> > before is not packaged in Fedora.
> > So I guess there is no other way than vendor all dependencies or package the
> > missing dependency myself.
>
> Let's package it. The Rust SIG will usually help co-maintain it.

Yes. Option 3: Ask a member of the Rust SIG to help you.
You don't need to be an expert Rust packager just because one of your
projects starts to include / depend on Rust code.
If you actually post the name of the crate that's missing from Fedora,
I will look into packaging it for you.

Fabio
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue


--

Ondřej Pohořelský

Software Engineer

Red Hat

opohorel@xxxxxxxxxx   

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux