From f27432537421d6c67977a4e50e16269df5a14484 Mon Sep 17 00:00:00 2001 From: Ryan Hendrickson Date: Tue, 9 May 2023 16:01:16 -0400 Subject: [PATCH] python311Packages.stem: disable for Python >= 3.11 --- pkgs/development/python-modules/stem/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/stem/default.nix b/pkgs/development/python-modules/stem/default.nix index 97e5dfa4e51f..2d72d751f2c8 100644 --- a/pkgs/development/python-modules/stem/default.nix +++ b/pkgs/development/python-modules/stem/default.nix @@ -1,9 +1,15 @@ -{ lib, buildPythonPackage, fetchPypi, python, mock }: +{ lib, buildPythonPackage, fetchPypi, python, mock, pythonAtLeast }: buildPythonPackage rec { pname = "stem"; version = "1.8.1"; + # As of May 2023, the master branch of stem contains fixes for Python 3.11 + # that the last release (1.8.1) doesn't. The test suite fails on both master + # and the 1.8.1 release, so disabling rather than switching to an unstable + # source. + disabled = pythonAtLeast "3.11"; + src = fetchPypi { inherit pname version; hash = "sha256-gdQ6fGaLqde8EQOy56kR6dFIKUs3PSelmujaee96Pi8=";