15 buildPythonPackage rec {
18 disabled = pythonOlder "3.7";
20 format = "setuptools";
23 inherit pname version;
24 hash = "sha256-lj6NTpAmL/bY3sBy6pcoXcN0ovacrXd29AgqvPah2K4=";
27 # https://github.com/gawel/pyquery/issues/248
29 substituteInPlace tests/test_pyquery.py \
30 --replace test_selector_html skip_test_selector_html
33 propagatedBuildInputs = [
38 __darwinAllowLocalNetworking = true;
40 pythonImportsCheck = [ "pyquery" ];
46 (webtest.overridePythonAttrs (_: {
54 "--deselect=tests/test_pyquery.py::TestWebScrappingEncoding::test_get"
57 disabledTests = lib.optionals (pythonAtLeast "3.12") [
58 # https://github.com/gawel/pyquery/issues/249
59 "pyquery.pyquery.PyQuery.serialize_dict"
63 description = "Jquery-like library for Python";
64 homepage = "https://github.com/gawel/pyquery";
65 changelog = "https://github.com/gawel/pyquery/blob/${version}/CHANGES.rst";
66 license = licenses.bsd0;