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

home-assistant: 2020.12.1 -> 2020.12.2 #107975

Merged
merged 3 commits into from Dec 30, 2020
Merged

Conversation

mweinelt
Copy link
Member

Motivation for this change

https://github.com/home-assistant/core/releases/tag/2020.12.2

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.

Convert tests to pyTestCheckHook.
Disable on Python 2.7, convert tests to pytestCheckHook.
@thiagokokada
Copy link
Contributor

thiagokokada commented Dec 30, 2020

Result of nixpkgs-review pr 107975 1

1 package failed to build:
  • python39Packages.denonavr
6 packages built:
  • home-assistant
  • python37Packages.HAP-python
  • python37Packages.denonavr
  • python38Packages.HAP-python
  • python38Packages.denonavr
  • python39Packages.HAP-python

denonavr doesn't build with Python 3.9 but builds with older Pythons. Looks like an upstream issue, should we report it and disable the build of denonavr on Python 3.9 🤔 ?

But approving it anyway since the default Python is 3.8 so it should be ok.

@@ -1,16 +1,16 @@
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k, curve25519-donna, ed25519
, cryptography, ecdsa, zeroconf, pytest }:
, cryptography, ecdsa, zeroconf, pytestCheckHook }:
Copy link
Contributor

Choose a reason for hiding this comment

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

TIL, very nice 👍 .

@mweinelt
Copy link
Member Author

mweinelt commented Dec 30, 2020

denonavr doesn't build with Python 3.9 but builds with older Pythons. Looks like an upstream issue, should we report it and disable the build of denonavr on Python 3.9 thinking ?

Thanks, reported in ol-iver/denonavr#179.

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

failures are broken on target branch

https://github.com/NixOS/nixpkgs/pull/107975

1 package failed to build:
python39Packages.denonavr

6 packages built:
home-assistant python37Packages.HAP-python python37Packages.denonavr python38Packages.HAP-python python38Packages.denonavr python39Packages.HAP-python

@jonringer jonringer merged commit 70e8dbc into NixOS:master Dec 30, 2020
@mweinelt mweinelt deleted the home-assistant branch December 30, 2020 20:15
@ol-iver
Copy link

ol-iver commented Jan 3, 2021

denonavr doesn't build with Python 3.9 but builds with older Pythons. Looks like an upstream issue, should we report it and disable the build of denonavr on Python 3.9 thinking ?

Thanks, reported in scarface-4711/denonavr#179.

Fixed, please use denonavr==0.9.10

@thiagokokada
Copy link
Contributor

@scarface-4711 Thanks, I opened a PR: #108326

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