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.pycomfoconnect: init at 0.4 #119126

Merged
merged 3 commits into from Apr 16, 2021
Merged

Conversation

fabaff
Copy link
Member

@fabaff fabaff commented Apr 11, 2021

Motivation for this change

Python module to interact with ComfoAir Q350/450/600 units

https://github.com/michaelarnauts/comfoconnect

This is Home Assistant dependency.

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.

@fabaff
Copy link
Member Author

fabaff commented Apr 11, 2021

Result of nixpkgs-review pr 119126 run on x86_64-linux 1

3 packages built:
  • home-assistant
  • python38Packages.pycomfoconnect
  • python39Packages.pycomfoconnect

@r-rmcgibbo
Copy link

r-rmcgibbo commented Apr 11, 2021

Result of nixpkgs-review pr 119126 at e9a0be7 run on aarch64-linux 1

3 packages built successfully:
  • home-assistant
  • python38Packages.pycomfoconnect
  • python39Packages.pycomfoconnect
1 suggestion:
  • warning: unused-argument

    Unused argument: pytestCheckHook.
    Near pkgs/development/python-modules/pycomfoconnect/default.nix:5:3:

      |
    5 | , pytestCheckHook
      |   ^
    

Result of nixpkgs-review pr 119126 at e9a0be7 run on x86_64-linux 1

3 packages built successfully:
  • home-assistant
  • python38Packages.pycomfoconnect
  • python39Packages.pycomfoconnect
1 suggestion:
  • warning: unused-argument

    Unused argument: pytestCheckHook.
    Near pkgs/development/python-modules/pycomfoconnect/default.nix:5:3:

      |
    5 | , pytestCheckHook
      |   ^
    

, buildPythonPackage
, fetchFromGitHub
, protobuf
, pytestCheckHook
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
, pytestCheckHook

Copy link
Member

Choose a reason for hiding this comment

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

@Mic92
Copy link
Member

Mic92 commented Apr 14, 2021

Result of nixpkgs-review pr 119126 run on x86_64-linux 1

1 package failed to build:
  • home-assistant
2 packages built:
  • python38Packages.pycomfoconnect
  • python39Packages.pycomfoconnect

@Mic92
Copy link
Member

Mic92 commented Apr 14, 2021

/nix/store/3a9vs2wy4mqfjy0svvy3m8ddmpryv5hc-python3.8-pywemo-0.6.4.drv failed for home-assistant so it might be unrelated.

@mweinelt
Copy link
Member

Hm, ofBorg also transiently was unhappy about pywemo in #116256, but I could never reproduced that, neither on x86_64 nor on aarch64. Can you get a log? @Mic92

@Mic92
Copy link
Member

Mic92 commented Apr 14, 2021

@mweinelt
Copy link
Member

Right, somewhat racy sqlite queries. Let's disable that test and move on.

@Mic92 Mic92 merged commit ef9300b into NixOS:master Apr 16, 2021
@mweinelt
Copy link
Member

https://github.com/NixOS/nixpkgs/pull/119126/files#r611199763

Unaddressed review comment right here.

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

5 participants