python3Packages.curl-cffi: 0.14.0b2 -> 0.14.0
CHANGELOG: https://github.com/lexiforest/curl_cffi/releases/tag/v0.14.0 DIFF: https://github.com/lexiforest/curl_cffi/compare/v0.14.0b2...v0.14.0
This commit is contained in:
@@ -18,40 +18,19 @@
|
||||
python-multipart,
|
||||
trustme,
|
||||
uvicorn,
|
||||
websockets,
|
||||
writableTmpDirAsHomeHook,
|
||||
}:
|
||||
let
|
||||
# This is only used for testing and requires 12.0 specifically
|
||||
# due to incompatible API changes in later versions.
|
||||
websockets = buildPythonPackage rec {
|
||||
pname = "websockets";
|
||||
version = "12.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aaugustin";
|
||||
repo = "websockets";
|
||||
tag = version;
|
||||
hash = "sha256-sOL3VI9Ib/PncZs5KN4dAIHOrBc7LfXqT15LO4M6qKg=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "websockets" ];
|
||||
};
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
pname = "curl-cffi";
|
||||
version = "0.14.0b2";
|
||||
version = "0.14.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lexiforest";
|
||||
repo = "curl_cffi";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-JXfqZTf26kl2P0OMAw/aTdjQaGtdyTpNnhRPlwMiZNw=";
|
||||
hash = "sha256-5Q9oHAOjefihxj6xU1UGVTl6Ib31XqhrxLtOgI5VABs=";
|
||||
};
|
||||
|
||||
patches = [ ./use-system-libs.patch ];
|
||||
@@ -114,6 +93,8 @@ buildPythonPackage rec {
|
||||
# FIXME ImpersonateError: Impersonating chrome136 is not supported
|
||||
"test_impersonate_without_version"
|
||||
"test_with_impersonate"
|
||||
# Impersonating chrome142 is not supported
|
||||
"test_cli"
|
||||
# InvalidURL: Invalid URL component 'path'
|
||||
"test_update_params"
|
||||
# tests access network
|
||||
|
||||
Reference in New Issue
Block a user