Change:
Describe the bug gremlinpython (a dependency of cassandra-driver, but otherwise no idea how important it is) fails to build. To Reproduce Steps to reproduce the behavior: a recent checkout of nixpkgs -build -I nixpkgs=. -p python3Packages.gremlinpython how attempts to fetch something from the interwebs Notify maintainers Metadata system: host os: multi-user?: sandbox: version: channels(root): channels(cmm): nixpkgs: Maintainer information:
Should be fixed by .

Discussion:
<del> { stdenv, lib, buildPythonPackage, fetchFromGitHub, python, pythonOlder </del> <ins> { stdenv , lib , buildPythonPackage , fetchFromGitHub , pythonOlder </ins> , cython , eventlet , futures ? null

buildPythonPackage rec { pname = "cassandra-driver"; <del> version = "3.24.0"; </del> <ins> version = "3.25.0"; </ins> # pypi tarball doesn't include tests src = fetchFromGitHub { owner = "datastax"; repo = "python-driver"; rev = version; <del> sha256 = "1rr69hly5q810xpn8rkzxwzlq55wxxp7kwki9vfri3gh674d2wip"; </del> <ins> sha256 = "1dn7iiavsrhh6i9hcyw0mk8j95r5ym0gbrvdca998hx2rnz5ark6"; </ins> }; nativeBuildInputs = [ cython ];

pytestFlagsArray = [ "tests/unit" <ins> ]; disabledTestPaths = [ </ins> # requires puresasl <del> "--ignore=tests/unit/advanced/test_auth.py" </del> <ins> "tests/unit/advanced/test_auth.py" </ins> ]; disabledTests = [ # doesn't seem to be intended to be run directly

<del> { lib, buildPythonPackage, fetchFromGitHub , pytestCheckHook, pyhamcrest, pytestrunner , six, isodate, tornado, aenum, radish-bdd, mock </del> <ins> { lib , buildPythonPackage , fetchFromGitHub , aenum , importlib-metadata , isodate , six , tornado , pytestCheckHook , mock , pyhamcrest , radish-bdd </ins> }: buildPythonPackage rec {

--replace 'PyHamcrest>=1.9.0,<2.0.0' 'PyHamcrest'  --replace 'radish-bdd==0.8.6' 'radish-bdd'  --replace 'mock>=3.0.5,<4.0.0' 'mock'  <del> --replace 'pytest>=4.6.4,<5.0.0' 'pytest' </del> <ins> --replace 'pytest>=4.6.4,<5.0.0' 'pytest'  --replace 'importlib-metadata<3.0.0' 'importlib-metadata'  --replace 'pytest-runner==5.2' ' ' </ins> ''; <del> nativeBuildInputs = [ pytestrunner ];  # simply to placate requirements propagatedBuildInputs = [ six isodate tornado aenum ]; </del> <ins> # setup-requires requirements nativeBuildInputs = [ importlib-metadata ]; propagatedBuildInputs = [ aenum isodate six tornado ]; </ins> <del> checkInputs = [ pytestCheckHook pyhamcrest radish-bdd mock ]; </del> <ins> checkInputs = [ pytestCheckHook mock pyhamcrest radish-bdd ]; </ins> # disable custom pytest report generation preCheck = ''

''; # many tests expect a running tinkerpop server <ins> disabledTestPaths = [ "tests/driver/test_client.py" "tests/driver/test_driver_remote_connection.py" "tests/driver/test_driver_remote_connection_threaded.py" "tests/process/test_dsl.py" "tests/structure/io/test_functionalityio.py" ]; </ins> pytestFlagsArray = [ <del> "--ignore=tests/driver/test_client.py" "--ignore=tests/driver/test_driver_remote_connection.py" "--ignore=tests/driver/test_driver_remote_connection_threaded.py" "--ignore=tests/process/test_dsl.py" "--ignore=tests/structure/io/test_functionalityio.py" </del> # disabledTests doesn't quite allow us to be precise enough for this "-k 'not (TestFunctionalGraphSONIO and (test_timestamp or test_datetime or test_uuid))'" ];

{ lib , buildPythonPackage , fetchFromGitHub <ins> , python </ins> , regex <del> # Test inputs , pytestCheckHook </del> }: buildPythonPackage rec { pname = "lark-parser"; <del> version = "0.11.2"; </del> <ins> version = "0.11.3"; </ins> src = fetchFromGitHub { owner = "lark-parser"; repo = "lark"; rev = version; <del> sha256 = "1v1piaxpz4780km2z5i6sr9ygi9wpn09yyh999b3f4y0dcz20pbd"; </del> <ins> sha256 = "1ggvlzpdzlrxl46fgi8cfq2rzlwn21shpdkm4pknnhfjlsinv913"; </ins> }; <ins> # Optional import, but fixes some re known bugs & allows advanced regex features </ins> propagatedBuildInputs = [ regex ]; <del> checkInputs = [ pytestCheckHook ]; disabledTestPaths = [ "tests/test_nearley" # requires Js2Py package (not in nixpkgs) ]; disabledTests = [ "test_override_rule"  # has issue with file access paths ]; </del> <ins> checkPhase = '' runHook preCheck # Official way to run the tests. Runs unittest internally. # pytest produces issues with some test resource paths (relies on __main__) ${python.interpreter} -m tests runHook postCheck ''; </ins> meta = with lib; { description = "A modern parsing library for Python, implementing Earley & LALR(1) and an easy interface"; <del> homepage = "https://github.com/lark-parser/lark"; </del> <ins> homepage = "https://lark-parser.readthedocs.io/"; changelog = "https://github.com/lark-parser/lark/releases/tag/${version}"; </ins> license = licenses.mit; maintainers = with maintainers; [ fridh drewrisinger ]; };