Skip to content

Commit

Permalink
csvkit: fix failing test
Browse files Browse the repository at this point in the history
The build for this package was failing due to failing tests that were caused by a breaking change in a dependency. The requirements.txt for this package does not pin specific versions so it was trying to build with the new version of the dependency and failing. This commit overrides the version of the dependency that is used to build the package.
  • Loading branch information
Tim Zook authored and jonringer committed Sep 9, 2020
1 parent 43d9d1d commit 32c9ee2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pkgs/tools/text/csvkit/default.nix
Expand Up @@ -12,7 +12,14 @@ python3.pkgs.buildPythonApplication rec {
propagatedBuildInputs = with python3.pkgs; [
agate
agate-excel
agate-dbf
# dbf test fail with agate-dbf-0.2.2
(agate-dbf.overridePythonAttrs(old: rec {
version = "0.2.1";
src = python3.pkgs.fetchPypi {
inherit (old) pname;
inherit version;
sha256 = "0brprva3vjypb5r9lk6zy10jazp681rxsqxzhz2lr869ir4krj80";
};}))
# sql test fail with agate-sql-0.5.4
(agate-sql.overridePythonAttrs(old: rec {
version = "0.5.3";
Expand Down

0 comments on commit 32c9ee2

Please sign in to comment.