From fd47630b8b6fb814af7768384dc9cdcfe7d69664 Mon Sep 17 00:00:00 2001 From: Sirio Balmelli Date: Tue, 25 Oct 2022 06:41:19 +0200 Subject: [PATCH] python3Packages.connexion: add missing dependency on 'packages' Without 'packages' dependency: $ nix-shell -I nixpkgs=./default.nix --pure -p python3Packages.connexion \ --command "python -m connexion --version" ... ModuleNotFoundError: No module named 'packaging' With 'packages' dependency added: $ nix-shell -I nixpkgs=./default.nix --pure -p python3Packages.connexion \ --command "python -m connexion --version" Connexion 2020.0.dev1 nix-info -m: - system: `"x86_64-darwin"` - host os: `Darwin 20.6.0, macOS 10.16` - multi-user?: `no` - sandbox: `yes` - version: `nix-env (Nix) 2.10.3` Signed-off-by: Sirio Balmelli --- pkgs/development/python-modules/connexion/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/connexion/default.nix b/pkgs/development/python-modules/connexion/default.nix index 77e47f07dc4c..2db1e11b271c 100644 --- a/pkgs/development/python-modules/connexion/default.nix +++ b/pkgs/development/python-modules/connexion/default.nix @@ -11,6 +11,7 @@ , inflection , jsonschema , openapi-spec-validator +, packaging , pytest-aiohttp , pytestCheckHook , pythonOlder @@ -43,6 +44,7 @@ buildPythonPackage rec { inflection jsonschema openapi-spec-validator + packaging pyyaml requests swagger-ui-bundle