From 1b2c716b6801654686a5e86efce70eb4eae46ba1 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 25 May 2023 22:37:38 +0200 Subject: [PATCH] python311Packages.opentracing: disable The upstream project has been archived. --- pkgs/development/python-modules/opentracing/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/opentracing/default.nix b/pkgs/development/python-modules/opentracing/default.nix index f21bf4aa7825..706c47714afe 100644 --- a/pkgs/development/python-modules/opentracing/default.nix +++ b/pkgs/development/python-modules/opentracing/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchPypi +, pythonAtLeast , isPy27 , futures ? null , gevent @@ -15,6 +16,10 @@ buildPythonPackage rec { version = "2.4.0"; format = "setuptools"; + # incompatible with asyncio changes in 3.11 and deprecated + # https://github.com/opentracing/specification/issues/163 + disabled = pythonAtLeast "3.11"; + src = fetchPypi { inherit pname version; sha256 = "a173117e6ef580d55874734d1fa7ecb6f3655160b8b8974a2a1e98e5ec9c840d";