The orjson package itself is written in Rust, so it’s probably best just to do 
without orjson for the python-cattrs tests if you’re not inclined to go down 
that rabbit hole.

That said, it would be great to have a python-orjson package in Fedora, and 
I’ve considered attempting it but never found the time. For a long time, it was 
not packageable because it required a nightly Rust toolchain, but it’s my 
understanding that it now builds on stable Rust.

On Mon, Sep 12, 2022, at 12:09 PM, Ankur Sinha wrote:
> Hi folks,
>
> While trying to unretire python-cattrs[1], I ended up falling down a rabbit
> hole of deps.
>
> One of its optional test deps, orjson[2], requires "maturin"[3] to
> build.  maturin looks like something that helps publish rust code as
> python packages. I think I may have come across this before, but it's
> the first time I've actually bothered to look into it. (I know nothing
> about rust so I tend to steer clear of rust projects).
>
> So, has anyone else come across this before? Has anyone looked into
> packaging it?
>
> Given my non-existent rust knowledge, I'd like to avoid
> packaging/maintaining maturin if at all possible. Is there a way to not
> use it perhaps (unlikely, I know)?
>
> [1] https://src.fedoraproject.org/rpms/python-cattrs
> [2] https://pypi.org/project/orjson/
> [3] https://pypi.org/project/maturin/
>
> -- 
> Thanks,
> Regards,
> Ankur Sinha "FranciscoD" (He / Him / His) | 
> https://fedoraproject.org/wiki/User:Ankursinha
> Time zone: Europe/London
>
> _______________________________________________
> python-devel mailing list -- python-devel@lists.fedoraproject.org
> To unsubscribe send an email to 
> python-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/python-devel@lists.fedoraproject.org
> Do not reply to spam, report it: 
> https://pagure.io/fedora-infrastructure/new_issue
>
> Attachments:
> * signature.asc
_______________________________________________
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-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/python-devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to