-
-
Notifications
You must be signed in to change notification settings - Fork 14k
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
Build failure: python311Packages.cchardet #239816
Comments
@davidak greetings ! builds for me
I've noticed that hash is different, maybe something in your overlays ? can you try |
Here's a rundown of the issue: At some point, changes to CPython in python/cpython#79315 must have made their way into Python. This broke any code generated by Cython until around version 0.29.25 (it was fixed in cython/cython#4428). Unfortunately, cchardet 2.1.7 was using Cython 0.29.21. The cchardet project was not actively maintained at that time, so a fork of it was created and the Cython version was updated to 0.29.30 in faust-streaming/cChardet@e8426f8 and released as faust-cchardet. This was pulled into nixpkgs in d8fe683 and became a drop-in replacement for cchardet in 1bd4b71 and 2d53019. One way to get this to just work is to pick up all these changes by updating to 23.05. I don't know whether a backport would be possible. |
@tjni thank you very much for your summary, I am sure we can sort out a backport if it's necessary. I'll just add one more bit of info, to clear confusion on my side Original report claims that but from build logs ( in original report )
but that commit already contains cchardet-2.1.8 |
@davidak do you still encounter this failure? I want to do some maintenance on old issues. |
Steps To Reproduce
Steps to reproduce the behavior:
[davidak@gaming:~/code/nixpkgs]$ nix-shell -I . -p python311Packages.cchardet
Build log
Additional context
Needed for Nikola and others.
Same issue with python310.
Notify maintainers
@dotlambda @ivan
Metadata
Built from nixpkgs master (c873717)
"x86_64-linux"
Linux 6.3.5, NixOS, 22.11 (Raccoon), 22.11.4588.93fddcf640c
yes
yes
nix-env (Nix) 2.11.1
"home-manager-22.11.tar.gz, nixos-22.11, nixos-hardware, nixos-unstable"
/nix/var/nix/profiles/per-user/root/channels/nixos
The text was updated successfully, but these errors were encountered: