Unverified Commit 2cddee30 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

python313Packages.paho-mqtt: 1.6.1 -> 2.1.0 (#380736)

parents acafb0eb 19f7ed2c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -26,7 +26,6 @@ let
  python = python312.override {
    self = python;
    packageOverrides = self: super: {
      paho-mqtt = super.paho-mqtt_2;
    };
  };

+12 −3
Original line number Diff line number Diff line
@@ -4,7 +4,16 @@
  python3,
}:

python3.pkgs.buildPythonApplication rec {
let
  python = python3.override {
    self = python;
    packageOverrides = self: super: {
      # https://github.com/unixorn/ha-mqtt-discoverable/pull/310
      paho-mqtt = self.paho-mqtt_1;
    };
  };
in
python.pkgs.buildPythonApplication rec {
  pname = "ha-mqtt-discoverable-cli";
  version = "0.16.4.1";
  pyproject = true;
@@ -18,9 +27,9 @@ python3.pkgs.buildPythonApplication rec {

  pythonRelaxDeps = [ "ha-mqtt-discoverable" ];

  build-system = with python3.pkgs; [ poetry-core ];
  build-system = with python.pkgs; [ poetry-core ];

  dependencies = with python3.pkgs; [ ha-mqtt-discoverable ];
  dependencies = with python.pkgs; [ ha-mqtt-discoverable ];

  # Project has no real tests
  doCheck = false;
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ python3.pkgs.buildPythonApplication rec {
  build-system = with python3.pkgs; [ setuptools ];

  dependencies = with python3.pkgs; [
    paho-mqtt_2
    paho-mqtt
    prometheus-client
  ];

+6 −3
Original line number Diff line number Diff line
@@ -11,14 +11,14 @@

buildPythonPackage rec {
  pname = "amshan";
  version = "2021.12.1";
  version = "2.1.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "toreamun";
    repo = "amshan";
    tag = version;
    hash = "sha256-eL8YzQB6Vj4l3cYFgWve88vLojvcxMtr2xvTUKT+Ekk=";
    rev = version;
    hash = "sha256-aw0wTqb2s84STVUN55h6L926pXwaMSppBCfXZVb87w0=";
  };

  build-system = [
@@ -37,6 +37,9 @@ buildPythonPackage rec {

  pythonImportsCheck = [ "han" ];

  # 2021.12.1 is an older version
  passthru.skipBulkUpdate = true;

  meta = {
    description = "Decode smart power meter data stream of Cosem HDLC frames used by MBUS";
    longDescription = ''
+2 −0
Original line number Diff line number Diff line
@@ -50,6 +50,8 @@ buildPythonPackage rec {
  ];

  meta = with lib; {
    # https://github.com/Azure/azure-iot-sdk-python/issues/1196
    broken = lib.versionAtLeast paho-mqtt.version "2";
    description = "Microsoft Azure IoT Device Library for Python";
    homepage = "https://github.com/Azure/azure-iot-sdk-python";
    license = licenses.mit;
Loading