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

authored by Theodore Ni and committed by GitHub 30df053e 7ad1b2d4

+9
+9
pkgs/development/python-modules/jupyter-packaging/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 + , fetchpatch 4 5 , deprecation 5 6 , hatchling 6 7 , pythonOlder ··· 22 23 inherit version; 23 24 hash = "sha256-nZsrY7l//WeovFORwypCG8QVsmSjLJnk2NjdMdqunPQ="; 24 25 }; 26 + 27 + patches = [ 28 + (fetchpatch { 29 + name = "setuptools-68-test-compatibility.patch"; 30 + url = "https://github.com/jupyter/jupyter-packaging/commit/e963fb27aa3b58cd70c5ca61ebe68c222d803b7e.patch"; 31 + hash = "sha256-NlO07wBCutAJ1DgoT+rQFkuC9Y+DyF1YFlTwWpwsJzo="; 32 + }) 33 + ]; 25 34 26 35 nativeBuildInputs = [ 27 36 hatchling