diff options
author | Joshua Bronson <jabronson@gmail.com> | 2024-03-29 13:31:59 -0400 |
---|---|---|
committer | Joshua Bronson <jabronson@gmail.com> | 2024-04-02 12:55:16 -0400 |
commit | ba4f6569d258f2d9473c4b51834219c4a3b61431 (patch) | |
tree | 20799140c967bca5580a091be5278797acab22f1 /pkgs/development/python-modules/bidict/default.nix | |
parent | f8614a1c3ae496be635cee99efde79641c6ccba4 (diff) |
python3Packages.bidict: rm bundled pytest.ini
...instead of calling pytest with `-c /dev/null` to bypass it. For some reason the latter suddenly started failing with a PermissionError on Darwin after working fine for a while. Fixes #299933.
Diffstat (limited to 'pkgs/development/python-modules/bidict/default.nix')
-rw-r--r-- | pkgs/development/python-modules/bidict/default.nix | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/bidict/default.nix b/pkgs/development/python-modules/bidict/default.nix index 871e896dbd957..811fb7055fea7 100644 --- a/pkgs/development/python-modules/bidict/default.nix +++ b/pkgs/development/python-modules/bidict/default.nix @@ -36,12 +36,11 @@ buildPythonPackage rec { typing-extensions ]; - pytestFlagsArray = [ - # Pass -c /dev/null so that pytest does not use the bundled pytest.ini, which adds - # options to run additional integration tests that are overkill for our purposes. - "-c" - "/dev/null" - ]; + # Remove the bundled pytest.ini, which adds options to run additional integration + # tests that are overkill for our purposes. + preCheck = '' + rm pytest.ini + ''; pythonImportsCheck = [ "bidict" ]; |