Unverified Commit 30df053e authored by Theodore Ni's avatar Theodore Ni Committed by GitHub
Browse files

python3.pkgs.jupyter-packaging: fix tests with setuptools 67.5.0+ (#246919)

parent 7ad1b2d4
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
, fetchpatch
, deprecation
, hatchling
, pythonOlder
@@ -23,6 +24,14 @@ buildPythonPackage rec {
    hash = "sha256-nZsrY7l//WeovFORwypCG8QVsmSjLJnk2NjdMdqunPQ=";
  };

  patches = [
    (fetchpatch {
      name = "setuptools-68-test-compatibility.patch";
      url = "https://github.com/jupyter/jupyter-packaging/commit/e963fb27aa3b58cd70c5ca61ebe68c222d803b7e.patch";
      hash = "sha256-NlO07wBCutAJ1DgoT+rQFkuC9Y+DyF1YFlTwWpwsJzo=";
    })
  ];

  nativeBuildInputs = [
    hatchling
  ];