@Calimero
Sorry for the inconvenience. But reverting won't work either, because there's no release working with Python 3.12. You can install this package with the --nocheck
option of makepkg
, or using an AUR helper like paru -Syu --nocheck pytype
. But when you use it, you will get:
$ pytype -d import-error src 15:57:02
Computing dependencies
Analyzing 1 sources with 0 local dependencies
ninja: Entering directory `.pytype'
...
Python versions > 3.11 are not yet supported.
ninja: build stopped: subcommand failed.
Leaving directory '.pytype'
The only way to make it work is to reverting your system Python version to 3.11, but it's not feasible. So I suggest to use pytype-git for now. It can't pass the check either, but it works with Python 3.12. I disabled check there, so you can install it like other AUR packages.
Pinned Comments
jaxvanyang commented on 2024-08-03 00:24 (UTC) (edited on 2024-11-11 05:11 (UTC) by jaxvanyang)
This package won't build due to
check()
fail. And it's still NOT USABLE if you skip check because Python 3.12 is not fully supported in this release, see https://github.com/google/pytype/issues/1475. You can verify that with the--nocheck
option ofmakepkg
, or using an AUR helper likeparu -Syu --nocheck pytype
.I'll just wait for a new release to fix this. Or you can use pytype-git instead.
UPD: I have to disable some tests from the upstream to make it pass the check. But at least, it builds and is usable at least for now.