From 7b7c8bab641cefc9c720d5eb0b0e6f948e587b56 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 27 Apr 2022 09:36:28 +0200 Subject: [PATCH] python39Packages.connexion: 2.12.0 -> 2.13.0 --- .../python-modules/connexion/default.nix | 24 +++++++------------ 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/pkgs/development/python-modules/connexion/default.nix b/pkgs/development/python-modules/connexion/default.nix index 6ccd3c98c213..0eb3eec5550e 100644 --- a/pkgs/development/python-modules/connexion/default.nix +++ b/pkgs/development/python-modules/connexion/default.nix @@ -22,16 +22,16 @@ buildPythonPackage rec { pname = "connexion"; - version = "2.12.0"; + version = "2.13.0"; format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { - owner = "zalando"; + owner = "spec-first"; repo = pname; rev = version; - sha256 = "sha256-JMuI3h0Pg7nCXrJtF0fhSFJTOWelEqcvmqv3ooIfkqM="; + hash = "sha256-QOxvs2z8AAxQ2oSM/PQ6QTD9G4JomviauLSDjay8HyQ="; }; propagatedBuildInputs = [ @@ -56,24 +56,18 @@ buildPythonPackage rec { testfixtures ]; - postPatch = '' - substituteInPlace setup.py \ - --replace "PyYAML>=5.1,<6" "PyYAML>=5.1" \ - --replace "jsonschema>=2.5.1,<4" "jsonschema>=2.5.1" - ''; - - disabledTests = [ - # We have a later PyYAML release - "test_swagger_yaml" - ]; - pythonImportsCheck = [ "connexion" ]; + disabledTests = [ + # AssertionError + "test_headers" + ]; + meta = with lib; { description = "Swagger/OpenAPI First framework on top of Flask"; - homepage = "https://github.com/zalando/connexion/"; + homepage = "https://github.com/spec-first/connexion"; license = licenses.asl20; maintainers = with maintainers; [ elohmeier ]; };