Merge pull request #246922 from tjni/hydra-core

python3.pkgs.hydra-core: fix tests with setuptools 67.5.0+
This commit is contained in:
Robert Scott 2023-08-03 22:39:04 +01:00 committed by GitHub
commit d29508c4db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,6 +4,7 @@
, antlr4-python3-runtime
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, importlib-resources
, jre_headless
, omegaconf
@ -32,6 +33,12 @@ buildPythonPackage rec {
src = ./antlr4.patch;
antlr_jar = "${antlr4.out}/share/java/antlr-${antlr4.version}-complete.jar";
})
# https://github.com/facebookresearch/hydra/pull/2731
(fetchpatch {
name = "setuptools-67.5.0-test-compatibility.patch";
url = "https://github.com/facebookresearch/hydra/commit/25873841ed8159ab25a0c652781c75cc4a9d6e08.patch";
hash = "sha256-oUfHlJP653o3RDtknfb8HaaF4fpebdR/OcbKHzJFK/Q=";
})
];
postPatch = ''