Closed tilda closed 1 year ago
Could you try a newer version of 3.11? It sounds like this is a Python bug more than a Jishaku bug. 3.12 iirc doesn't work on the PyPI version judging by #213 , but master should work and I plan to do a release soon-ish hopefully
We found out (in the dpy server) that this is indeed a bug in Python 3.11.0 and was fixed in 3.11.1
From the changelogs:
gh-98852: Fix subscription of type aliases containing bare generic types or types like TypeVar: for example
tuple[A, T][int]
andtuple[TypeVar, T][int]
, whereA
is a generic type, andT
is a type variable.
yeah, seems 3.11.0 in particular is the issue. my pyenv was outdated so it thought .0 was the latest - update of that and a compile of a newer 3.11 release seemed to fix the issue.
since it's not actually that much of an issue i suppose i'll close this up...
Summary
When running a bot using Python 3.11, Jishaku fails to load with a cryptic
KeyError: +ClientT
stemming from the pagination code.Reproduction steps
Able to reproduce this using Python 3.11.0 on Debian bullseye/11. Issue does not happen on Python 3.10.8 (same distro, machine, dependencies, etc)
Expected results
No errors from Jishaku/module should load successfully.
Actual results
Traceback:
Checklist
System information
discord.py 2.3.2
Jishaku v2.5.1