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

This commit is contained in:
Theodore Ni 2023-08-11 23:03:52 -07:00 committed by GitHub
parent 7ad1b2d4e1
commit 30df053e77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
{ 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
];