PythonistaGuild/TwitchIO

Replace cchardet dependency with faust-cchardet

iarspider opened this issue · 6 comments

CChardet fails to build for Python 3.11 on Windows link, and the developer is nowhere to be found. There is a forked fixed version faust-cchardet (see this comment) that can be used instead.

Hello! Thanks for the issue. If this is a general help question, for a faster response consider joining the official Discord Server

Else if you have an issue with the library please wait for someone to help you here.

Just to note, this looks like it was an issue with just 3.11.0
If you build with later versions e.g. 3.11.3 then it allegedly builds correctly.

update
It does build on 3.11 if you install c++ build tools and Cython module.

We're going to discuss this further

Installation of cchardet fails for me with Python 3.11.3 (Windows 10 x64, version from MS Store). Installing cython first, then cchardet works. But just having both in one environment doesn't help, since cchardet doesn't explicitly depend on cython.

Hey thanks for bringing up this issue.

We are probably going to make a custom pip index so that these dependencies are available now and for future versions of Python.

I'll update you once we have a working index.

Hello, please see #394 for a fix and thanks for bringing this up.

resolved through the index at https://pip.twitchio.dev/ . Please see the installing page on the master branch for more details.