From bd7440b03d7721bc263aaf5df9550dd5eac96c7e Mon Sep 17 00:00:00 2001 From: Jamie Magee Date: Mon, 23 Mar 2026 10:19:16 -0700 Subject: [PATCH] python3Packages.radios: relax pycountry version constraint pycountry was updated from 24.6.1 to 26.2.16 (#491301), but radios pins pycountry to ^24.0.0 (i.e. <25). The only pycountry API radios uses is countries.get(alpha_2=...), which is unchanged in v26. Upstream has an open PR to bump the constraint (frenck/python-radios#1483) but no release yet. Use pythonRelaxDepsHook to drop the upper bound until upstream releases. --- pkgs/development/python-modules/radios/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/radios/default.nix b/pkgs/development/python-modules/radios/default.nix index ed4ec2d5cb0e..0ef264185cd6 100644 --- a/pkgs/development/python-modules/radios/default.nix +++ b/pkgs/development/python-modules/radios/default.nix @@ -35,6 +35,8 @@ buildPythonPackage rec { --replace-fail 'version = "0.0.0"' 'version = "${version}"' ''; + pythonRelaxDeps = [ "pycountry" ]; + build-system = [ poetry-core ];