Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

llfuse: disable tests on Darwin #117695

Merged
merged 1 commit into from Mar 26, 2021

Conversation

midchildan
Copy link
Member

@midchildan midchildan commented Mar 26, 2021

Motivation for this change

Fixes #117665. The tests require macFUSE, an external dependency to be installed.

I last tested this package in #116958, and this PR is probably safe too as no change has been made to it since. I'm building this change on my local machine right now, but it would take a while for it to complete as the latest master seems to require a rebuild of stdenv. Built and tested on macOS, no rebuilds on Linux.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@ofborg ofborg bot added the 6.topic: darwin Running or building packages on Darwin label Mar 26, 2021
@ofborg ofborg bot requested a review from bjornfor March 26, 2021 13:54
@happysalada
Copy link
Contributor

I just started nixpkgs-review, hopefully it should be able to finish in 5 hours.

@midchildan midchildan force-pushed the fix/disable-llfuse-darwin-test branch from 17e7eb6 to 278ce95 Compare March 26, 2021 15:48
@midchildan
Copy link
Member Author

Rebased to fix conflicts.

propagatedBuildInputs = [ contextlib2 ];
checkInputs = [ pytestCheckHook which ];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't move around random stuff.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was the precise location of the merge conflict. I should've checked the resulting diff more closely.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@dotlambda dotlambda changed the title llfuse: disable test on Darwin llfuse: disable tests on Darwin Mar 26, 2021
@midchildan midchildan force-pushed the fix/disable-llfuse-darwin-test branch from 278ce95 to 1c36a08 Compare March 26, 2021 17:32
@ofborg ofborg bot requested a review from dotlambda March 26, 2021 17:41
@@ -26,21 +26,18 @@ buildPythonPackage rec {
};

nativeBuildInputs = [ cython pkg-config ];

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't delete random stuff.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted.

Fixes NixOS#117665. The tests require macFUSE[1], an external dependency to
be installed.

[1]: https://osxfuse.github.io/
@midchildan midchildan force-pushed the fix/disable-llfuse-darwin-test branch from 1c36a08 to f7c5b31 Compare March 26, 2021 18:08
@ofborg ofborg bot requested a review from dotlambda March 26, 2021 18:17
@dotlambda dotlambda merged commit 24ec2cd into NixOS:master Mar 26, 2021
@midchildan midchildan deleted the fix/disable-llfuse-darwin-test branch March 26, 2021 18:24
@happysalada
Copy link
Contributor

Result of nixpkgs-review pr 117695 run on x86_64-darwin 1

3 packages built:
  • borgbackup
  • python38Packages.llfuse
  • python39Packages.llfuse

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

python3Packages.llfuse fails to build on Darwin
3 participants