-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Python 3.10 #77
Comments
Any news on making this library Python 3.10 supported? |
JFYI #78 |
After 6 months, will that PR get merged or even looked at |
Future updates like python 3.10 support coming or the project is dropped? |
it seems as though cchardet has been abandoned, yet it is depended on by many large projects |
Are there any good alternatives to cchardet? If the repo is not getting any love then quite a few projects will need a replacement. |
^, it is possible to install |
I assume this is for *nix users, I'm on Windows and it keeps throwing up the 'C++ 14 Required' error when I try to install. I assume because for Windows it's trying to compile using C++ instead of gcc Does anyone know if I can manually compile this on Windows using my MinGW gcc install? I'd rather not download multi GB's of Visual Studio just for one python package. |
@NebularNerd yes this was *nix, here are steps i found for windows using mingw
[build]
compiler=mingw32 |
I ended up here when I was upgrading the project's python version and started hitting up against errors involving this package in pip.
It depends on what you're trying to do. There's an
Whereas, it seems like cchardet focuses on trying to tell you what a text file is encoded in. In a project I'm working on, this detected encoding is attempted to be used with an
Instead it figures out the most likely original encoding scheme to result in successful decoding and encoding to useable text content. If you look, it is specifically compared with this package and calls out this package, |
Thanks @ooliver1 and @banagale for your replies. I'm going to take a good look at charset_normalizer as anyone having to install gcc just to compile cChardet for my small Subtotxt script seems a trifle excessive. In the meantime I'll compile it with gcc as an interim bodge. |
cchardet is not maintained anymore: PyYoshi/cChardet#77 cchardet is based on uchardet with the addition of reporting encoding detection confidence. We dont really need that, so moving to uchardet is simplest. See #1690 (Low effort port to charset_normalizer)
`cchardet` stopped being maintained a while ago so this patch removes it from the `speedups` extra to keep it helpful. It also makes the same adjustment in the CI under the most recent CPython versions to keep the testing going. Refs: * aio-libs#6819 (comment) * PyYoshi/cChardet#77
…aiohttp#6819. Since this is a speedup for aiohttp, simply remove it.
…aiohttp#6819. Since this is a speedup for aiohttp, simply remove it.
It was working for me on Python 3.10, but now fails to install on Python 3.11:
EDIT: Manually installing cython beforehand seems to fix the issue (possibly related to cython/cython#4461). |
Indeed. It's unfortunate since right now many downstream dependencies can't be completely installed with Python 3.11 due to build issues. |
At this stage it's come down to either moving to charset_normalizer or if someone is willing to, fork this and make cchardet-ng or similar. |
hotdoc won't install due to broken cchardet: PyYoshi/cChardet#77
Might want to take a look at this: https://github.com/faust-streaming/cChardet pip install faust-cchardet I support Python 3.10+3.11 now, so we're good. I'll open a PR so that some day if @PyYoshi comes back to this project, he can update this. |
cchardet is abandonware PyYoshi/cChardet#77 There is a new active fork https://github.com/faust-streaming/cChardet that works on python3.11
cchardet is abandoned https://docs.aiohttp.org/en/stable/#library-installation PyYoshi/cChardet#77 There is a new active fork https://github.com/faust-streaming/cChardet that works on python3.11
cchardet is abandonware PyYoshi/cChardet#77 There is a new active fork https://github.com/faust-streaming/cChardet that works on python3.11
... and prepare for Python 3.11 (dev).
The text was updated successfully, but these errors were encountered: