Package Details: python-curl-cffi 0.7.1-1

Git Clone URL: https://aur.archlinux.org/python-curl-cffi.git (read-only, click to copy)
Package Base: python-curl-cffi
Description: Python binding for curl-impersonate via CFFI
Upstream URL: https://github.com/yifeikong/curl_cffi
Licenses: MIT
Submitter: WSDMatty
Maintainer: 0xmrtt
Last Packager: Junker
Votes: 6
Popularity: 0.79
First Submitted: 2023-06-22 09:25 (UTC)
Last Updated: 2024-09-07 13:20 (UTC)

Latest Comments

1 2 Next › Last »

jibbrroar commented on 2024-11-13 15:40 (UTC)

Upstream is now at v0.7.3

simona commented on 2024-09-07 13:25 (UTC)

perfect

electronarchy commented on 2024-09-02 20:35 (UTC)

build/temp.linux-x86_64-cpython-312/curl_cffi._wrapper.c:929:10: error: implicit declaration of function ‘curl_easy_impersonate’; did you mean ‘curl_easy_perform’? [-Wimplicit-function-declaration]
  929 |   return curl_easy_impersonate(x0, x1, x2);
      |          ^~~~~~~~~~~~~~~~~~~~~
      |          curl_easy_perform
error: command '/usr/bin/gcc' failed with exit code 1

Nebulosa commented on 2024-08-21 21:36 (UTC) (edited on 2024-08-23 14:51 (UTC) by Nebulosa)

Updated to 0.7.1-2

simona commented on 2024-07-28 15:42 (UTC)

same error

lmat commented on 2024-07-28 14:08 (UTC)

Thank you for fixing PKGBUILD. I had the same error and now it works for me.

simona commented on 2024-07-13 19:02 (UTC)

ERROR Backend subprocess exited when trying to invoke build_wheel

dllud commented on 2024-07-12 12:12 (UTC) (edited on 2024-07-12 12:13 (UTC) by dllud)

As AKSoo correctly points out:

1) Nebulosa's PKGBUILD works.

2) It is possible to create the symlink inside package() to keep it all nice and tidy. Example:

# Fix certificates
local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
ln -s /etc/ca-certificates/extracted/tls-ca-bundle.pem "${pkgdir}/usr/lib/python${python_version}/site-packages/curl_cffi/cacert.pem"

Here's a PKGBUILD with all changes: https://gist.github.com/dllud/d301640a88abf7d736344243c45ecfcc

WSDMatty: could you please incorporate this? In case you no longer have the time, could you please disown the package so someone else (perhaps Nebulosa) can step in?

Maxr1998 commented on 2024-07-02 08:50 (UTC)

0.6.X is unsupported due to bugs, so the latest version yt-dlp works with is 0.5.10: https://github.com/yt-dlp/yt-dlp/issues/9682#issuecomment-2053765564 https://github.com/yt-dlp/yt-dlp/issues/9682#issuecomment-2054160311

Maybe it'd make sense to create a separate package for the yt-dlp version of this package pinned to 0.5.10, so this version can theoretically be updated to the latest version for other use cases.

AKSoo commented on 2024-06-13 05:40 (UTC)

@Nebulosa Your PKGBUILD is much cleaner and actually works. I think you could just create the symlink without sudo during install since it happens in fakeroot. And maybe also add ca-certificates as dependency.

Wish you could maintain this package!