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

python3Packages.brother: init at 0.1.14 #94568

Merged
merged 4 commits into from Aug 4, 2020
Merged

Conversation

mweinelt
Copy link
Member

@mweinelt mweinelt commented Aug 2, 2020

Motivation for this change

Enable the brother integration in home-assistant.

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.

Copy link
Member

@lsix lsix left a comment

Choose a reason for hiding this comment

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

nix-review gives me that:

[8 built (2 failed), 105 copied (197.3 MiB), 43.9 MiB DL]
error: build of '/nix/store/wark1gyjszmbycf8xw9k1sn9cm5s2cbz-env.drv' failed
https://github.com/NixOS/nixpkgs/pull/94568
2 packages failed to build:
python27Packages.pytest-tornasync python37Packages.brother

5 packages built:
python37Packages.pytest-tornasync python37Packages.pytest-trio python38Packages.brother python38Packages.pytest-tornasync python38Packages.pytest-trio

I did not look into it, but it should be looked into or some packages should probably be disabled for some python versions (if this is the problem).

@mweinelt
Copy link
Member Author

mweinelt commented Aug 3, 2020

I set pytest-toransync to >=3.5.

The python3.7 version of brother is failing in asynctest, which has had its test disabled for 3.8, which is apparently also necessary for 3.7, see 25b91c2.

@mweinelt
Copy link
Member Author

mweinelt commented Aug 4, 2020

Disabled the asynctest tests on python 3.7 in #94655. Thinks are looking good now afaict.

Copy link
Contributor

@jonringer jonringer left a comment

Choose a reason for hiding this comment

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

LGTM

Result of nixpkgs-review pr 94568 1

1 package failed to build:
- python27Packages.pytest-tornasync
6 packages built:
- python37Packages.brother
- python37Packages.pytest-tornasync
- python37Packages.pytest-trio
- python38Packages.brother
- python38Packages.pytest-tornasync
- python38Packages.pytest-trio

@jonringer jonringer merged commit 0480361 into NixOS:master Aug 4, 2020
@mweinelt mweinelt deleted the brother branch August 4, 2020 20:14
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.

None yet

3 participants