Skip to content
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

Unable to install Talon on python 3.11.4 due to dependency conflict with cchardet package #234

Open
subhashb314e opened this issue Jun 30, 2023 · 4 comments

Comments

@subhashb314e
Copy link

subhashb314e commented Jun 30, 2023

I am experiencing difficulties while attempting to install the Talon in my Python 3.11.4 environment. The installation process fails with an error related to the dependency on the cchardet package.
This is the error I'm getting:

 Backend subprocess exited when trying to invoke build_wheel
  
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-13-arm64-cpython-311
creating build/lib.macosx-13-arm64-cpython-311/cchardet
copying src/cchardet/version.py -> build/lib.macosx-13-arm64-cpython-311/cchardet
copying src/cchardet/__init__.py -> build/lib.macosx-13-arm64-cpython-311/cchardet
running build_ext
building 'cchardet._cchardet' extension
creating build/temp.macosx-13-arm64-cpython-311
creating build/temp.macosx-13-arm64-cpython-311/src
creating build/temp.macosx-13-arm64-cpython-311/src/cchardet
creating build/temp.macosx-13-arm64-cpython-311/src/ext
creating build/temp.macosx-13-arm64-cpython-311/src/ext/uchardet
creating build/temp.macosx-13-arm64-cpython-311/src/ext/uchardet/src
creating build/temp.macosx-13-arm64-cpython-311/src/ext/uchardet/src/LangModels
clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -Isrc/ext/uchardet/src -I/private/var/folders/8j/9h5rrd_s4nx5ycsy2j7dfjkw0000gn/T/tmpdbxeaean/.venv/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c src/cchardet/_cchardet.cpp -o build/temp.macosx-13-arm64-cpython-311/src/cchardet/_cchardet.o
src/cchardet/_cchardet.cpp:196:12: fatal error: 'longintrepr.h' file not found
#include "longintrepr.h"
         ^~~~~~~~~~~~~~~
1 error generated.
error: command '/usr/bin/clang' failed with exit code 1

I've tried installing it on linux as well but throws the same error

@cvansteenburg
Copy link

cchardet is no longer maintained.

@andersk opened this PR to fix it the issue - no response yet from Talon maintainers.

As an aside, this fork is an actively maintained direct replacement for cchardet.

@rpoyau
Copy link

rpoyau commented Nov 28, 2023

Talon seems to be unmaintained.

@cvansteenburg
Copy link

@rpoyau that isn't clear. Deprecated Mailgun libraries have been clearly marked as such in the docs. I've reached out directly to the Mailgun team.

@nicksellen
Copy link

nicksellen commented May 28, 2024

The zulip fork of talon @ zulip-25522 resolves this 👉 https://github.com/zulip/talon/tree/zulip-25522

I install it using pip-tools with this in requirements.in:

https://github.com/zulip/talon/archive/refs/tags/zulip-25522.zip#egg=talon-core&subdirectory=talon-core

Which gets turned into this in requirements.txt:

talon-core @ https://github.com/zulip/talon/archive/refs/tags/zulip-25522.zip#subdirectory=talon-core

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants