PythonistaGuild / TwitchIO

An Async Bot/API wrapper for Twitch made in Python.
https://twitchio.dev
MIT License
785 stars 163 forks source link

Replace cchardet dependency with faust-cchardet #393

Closed iarspider closed 1 year ago

iarspider commented 1 year ago

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.

github-actions[bot] commented 1 year ago

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.

chillymosh commented 1 year ago

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

iarspider commented 1 year ago

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.

EvieePy commented 1 year ago

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.

EvieePy commented 1 year ago

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

IAmTomahawkx commented 1 year ago

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