unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Types and builds for mypy
@ 2022-10-18 10:09 Philip Beadling
  2022-10-22 13:53 ` Maxim Cournoyer
  0 siblings, 1 reply; 4+ messages in thread
From: Philip Beadling @ 2022-10-18 10:09 UTC (permalink / raw)
  To: guix-devel@gnu.org

[-- Attachment #1: Type: text/plain, Size: 1091 bytes --]

Hi all

Users of mypy and python will have noticed since the promotion of mypy to v0. 971 it is now neccesary to provide separate python packages containing types of non core libraries.

The way we've been collecting these, outside of Guix proper, is in a single module called python-types, which can then simply be added as a native-input to any python build requiring mypy.

The alternative is to colocate the types with their packages, or perhaps colocate them all with mypy itself.

My preference is to put them all in one module, I think.

Is there formal strategy in Guix for how to organise these packages?  I'd be happy to make available our current python-types.scm as a starting point?

Finally and slightly related I note that by default the 971 package of mypy is not C compiled using mypyc.  It's a simple tweak to turn this on in the package and it makes huge performance difference when using mypy (on average 4x faster is quoted).  Again, happy to offer up a modified or inherited package if other people are frustrated by the slow down?


Cheers,
Phil.



[-- Attachment #2: Type: text/html, Size: 3119 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-10-25 23:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-18 10:09 Types and builds for mypy Philip Beadling
2022-10-22 13:53 ` Maxim Cournoyer
2022-10-22 17:05   ` Phil
2022-10-25 23:47     ` Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).