mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-04 12:03:21 +00:00
python310Packages.jupyer-core: Fix tests on darwin
The platformdirs library in version 3 changed the config directory used on MacOS. Apply a patch, that updates the tests accordingly.
This commit is contained in:
parent
535fe95820
commit
a40463a37a
@ -2,6 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, hatchling
|
||||
, platformdirs
|
||||
, traitlets
|
||||
@ -24,6 +25,11 @@ buildPythonPackage rec {
|
||||
|
||||
patches = [
|
||||
./tests_respect_pythonpath.patch
|
||||
(fetchpatch {
|
||||
# add support for platformdirs>=3
|
||||
url = "https://github.com/jupyter/jupyter_core/commit/ff4086cdbdac2ea79c18632e4e35acebc1f7cf57.patch";
|
||||
hash = "sha256-UhHO58xZ4hH47NBhOhsfBjgsUtA+1EIHxPBvnKA5w28=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
Loading…
Reference in New Issue
Block a user