Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#71724 - [python-pydantic] shipped version is not compiled, causes performance penalty

Attached to Project: Community Packages
Opened by lightning (lightning) - Wednesday, 04 August 2021, 10:50 GMT
Last edited by Morten Linderud (Foxboron) - Friday, 06 August 2021, 09:20 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Filipe LaĆ­ns (FFY00)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


From [1]:
> pydantic can optionally be compiled with cython which should give a 30-50% performance improvement.
> To test if pydantic is compiled run:
> ```
> import pydantic
> print('compiled:', pydantic.compiled)
> ```

Steps to reproduce:
$ python
Python 3.9.6 (default, Jun 30 2021, 10:22:16)
[GCC 11.1.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pydantic
>>> pydantic.compiled

Suggested Fix: add `cython` to `makedepends`, which works for me. This changes the architecture from any to x86_64, though.

This task depends upon