summary refs log tree commit diff
path: root/pkgs/development/tools/b4
diff options
context:
space:
mode:
authorRouven Czerwinski <rouven@czerwinskis.de>2021-04-29 07:13:17 +0200
committerRouven Czerwinski <rouven@czerwinskis.de>2021-04-29 07:20:52 +0200
commitda99ec9f3a2ddbf7da867800c79627a9e0411a4b (patch)
treec462cb3cc8ace5327683021b84ef10741b49eade /pkgs/development/tools/b4
parent8e4fe32876ca15e3d5eb3ecd3ca0b224417f5f17 (diff)
downloadnixpkgs-da99ec9f3a2ddbf7da867800c79627a9e0411a4b.tar
nixpkgs-da99ec9f3a2ddbf7da867800c79627a9e0411a4b.tar.gz
nixpkgs-da99ec9f3a2ddbf7da867800c79627a9e0411a4b.tar.bz2
nixpkgs-da99ec9f3a2ddbf7da867800c79627a9e0411a4b.tar.lz
nixpkgs-da99ec9f3a2ddbf7da867800c79627a9e0411a4b.tar.xz
nixpkgs-da99ec9f3a2ddbf7da867800c79627a9e0411a4b.tar.zst
nixpkgs-da99ec9f3a2ddbf7da867800c79627a9e0411a4b.zip
b4: loosen versions for request and dnspython
Until the next stable release, we need to loosen the version
requirements ourselves by hand for dnspython, since NixOS has updated to
version 2.1. While at it, adjust requests from ~=2.24.0 to ~=2.25 which
effectively enables all 2.* versions for requests.

Fixes the following build error:

  adding 'b4-0.6.2.dist-info/RECORD'
  removing build/bdist.linux-x86_64/wheel
  Finished executing setuptoolsBuildPhase
  installing
  Executing pipInstallPhase
  /build/b4-0.6.2/dist /build/b4-0.6.2
  Processing ./b4-0.6.2-py3-none-any.whl
  Requirement already satisfied: dkimpy~=1.0.5 in /nix/store/3war2scyn6pnrhhcfdx48vd5023x2rkp-python3.8-dkimpy-1.0.5/lib/python3.8/site-packages (from b4==0.6.2) (1.0.5)
  ERROR: Could not find a version that satisfies the requirement dnspython~=2.0.0 (from b4)
  ERROR: No matching distribution found for dnspython~=2.0.0
Diffstat (limited to 'pkgs/development/tools/b4')
-rw-r--r--pkgs/development/tools/b4/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/tools/b4/default.nix b/pkgs/development/tools/b4/default.nix
index 8210f7c409a..30d38aac2ae 100644
--- a/pkgs/development/tools/b4/default.nix
+++ b/pkgs/development/tools/b4/default.nix
@@ -11,7 +11,8 @@ python3Packages.buildPythonApplication rec {
 
   preConfigure = ''
     substituteInPlace setup.py \
-      --replace 'requests~=2.24' 'requests~=2.25'
+      --replace 'requests~=2.24.0' 'requests~=2.25' \
+      --replace 'dnspython~=2.0.0' 'dnspython~=2.1'
   '';
 
   # tests make dns requests and fails