On 19/04/2024 07.17, Julian Gilbey wrote:
On Mon, Mar 11, 2024 at 02:49:26PM +0100, Michael R. Crusoe wrote:Package: black Version: 23.1.0-1 Severity: wishlist X-Debbugs-Cc: cru...@debian.org Dear Maintainer, I noticed that your package supports building native code extensions using mypyc. Upstream themselves ship portable binary wheels for better performance. As a member of the Debian Package Team, I would be happy to add
I should have said "Debian Python Package Team"
this to your package. Please let me know.This sounds like a nice idea; the pyproject.toml file states: [tool.hatch.build.targets.wheel.hooks.mypyc] enable-by-default = false dependencies = [ "hatch-mypyc>=0.16.0", "mypy==1.7.1", "click==8.1.3", # avoid https://github.com/pallets/click/issues/2558 ] so you would have to build python3-hatch-pypyc first, though. If you can do that, this would be plausible.
Sure, I'll make that package.
I would guess that using mypyc would depend on having mypyc in Debian, but at the moment it's only an ITP (#932003).
Oh! mypyc has been apart of the mypy Debian package since 0.740-1; Thanks, I've gone and closed that bug. Thanks for the positive response. How do you want the mypyc compilation added to the package? Do you want a diff, a merge-request on Salsa, or a team upload?
OpenPGP_signature.asc
Description: OpenPGP digital signature