Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #268850 from a-n-n-a-l-e-e/redshift-fixes

python311Packages.redshift-connector: ignore pytest args from setup.cfg; fix build

authored by Thiago Kenji Okada and committed by GitHub 1ea4a72a 017e5588

+4 -2
+2
pkgs/development/python-modules/awswrangler/default.nix
··· 16 16 , pyarrow 17 17 , pymysql 18 18 , pyodbc 19 + , pyparsing 19 20 , pytestCheckHook 20 21 , pythonOlder 21 22 , redshift-connector ··· 57 58 58 59 nativeCheckInputs = [ 59 60 moto 61 + pyparsing 60 62 pytestCheckHook 61 63 ]; 62 64
+2 -2
pkgs/development/python-modules/redshift-connector/default.nix
··· 27 27 hash = "sha256-fGOo9FgVMI6ayyB3EMN6RGThwWciShcBZzWTZWtOt8E="; 28 28 }; 29 29 30 - # disable test coverage 30 + # remove addops as they add test directory and coverage parameters to pytest 31 31 postPatch = '' 32 - sed -i "/--cov/d" setup.cfg 32 + substituteInPlace setup.cfg --replace 'addopts =' 'no-opts =' 33 33 ''; 34 34 35 35 propagatedBuildInputs = [