Commit 32433303 authored by Robert Schütz's avatar Robert Schütz
Browse files

python311Packages.stem: enable on Python 3.11

parent f2efc7f4
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
{ lib, buildPythonPackage, fetchPypi, python, mock, pythonAtLeast }:
{ lib, buildPythonPackage, fetchPypi, python, mock }:

buildPythonPackage rec {
  pname = "stem";
  version = "1.8.2";

  # 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-g/sZ/9TJ+CIHwAYFFIA4n4CvIhp+R4MACu3sTjhOtYI=";