Unverified Commit 4e8cc56b authored by Robert Schütz's avatar Robert Schütz Committed by GitHub
Browse files

Merge pull request #281448 from dotlambda/pamqp-3.3.0

python311Packages.pamqp: 3.2.1 -> 3.3.0
parents 2441ee71 d9610201
Loading
Loading
Loading
Loading
+3 −8
Original line number Diff line number Diff line
@@ -7,36 +7,31 @@
, poetry-core
, pytestCheckHook
, pythonOlder
, setuptools
, shortuuid
, typing-extensions
, yarl
}:

buildPythonPackage rec {
  pname = "aio-pika";
  version = "9.3.1";
  version = "9.4.0";
  pyproject = true;

  disabled = pythonOlder "3.7";
  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "mosquito";
    repo = "aio-pika";
    rev = "refs/tags/${version}";
    hash = "sha256-RbDiJvbFNuXIqFvevLpk5sy5WDinwaWwSqa+XI6Dljo=";
    hash = "sha256-EntV/CBvT4II4nxsVe3KjNA4EPV7Oc6h2G0fX0fHKTU=";
  };

  nativeBuildInputs = [
    setuptools
    poetry-core
  ];

  propagatedBuildInputs = [
    aiormq
    yarl
  ] ++ lib.optionals (pythonOlder "3.8") [
    typing-extensions
  ];

  nativeCheckInputs = [
+11 −6
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pythonRelaxDepsHook
, pytestCheckHook
, pamqp
, yarl
@@ -11,21 +12,25 @@

buildPythonPackage rec {
  pname = "aiormq";
  version = "6.7.6";
  format = "pyproject";
  version = "6.8.0";
  pyproject = true;

  disabled = pythonOlder "3.7";
  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "mosquito";
    repo = "aiormq";
    # https://github.com/mosquito/aiormq/issues/189
    rev = "72c44f55313fc14e2a760a45a09831237b64c48d";
    hash = "sha256-IIlna8aQY6bIA7OZHthfvMFFWnf3DDRBP1uiFCD7+Do=";
    rev = "refs/tags/${version}";
    hash = "sha256-XD1g4JXQJlJyXuZbo4hYW7cwQhy8+p4/inwNw2WOD9Y=";
  };

  nativeBuildInputs = [
    poetry-core
    pythonRelaxDepsHook
  ];

  pythonRelaxDeps = [
    "pamqp"
  ];

  propagatedBuildInputs = [
+9 −3
Original line number Diff line number Diff line
@@ -2,24 +2,29 @@
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, setuptools
, pytestCheckHook
}:

buildPythonPackage rec {
  version = "3.2.1";
  version = "3.3.0";
  pname = "pamqp";

  disabled = pythonOlder "3.7";

  format = "setuptools";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "gmr";
    repo = "pamqp";
    rev = version;
    hash = "sha256-zvvRoGMNP4NMy3Etjif5MYUPdRqmQXATbFgxaPp1TaM=";
    hash = "sha256-0vjiPBLd8afnATjmV2sINsBd4j7L544u5DA3jLiLSsY=";
  };

  nativeBuildInputs = [
    setuptools
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];
@@ -38,6 +43,7 @@ buildPythonPackage rec {
  ];

  meta = with lib; {
    changelog = "https://github.com/gmr/pamqp/blob/${src.rev}/docs/changelog.rst";
    description = "RabbitMQ Focused AMQP low-level library";
    homepage = "https://github.com/gmr/pamqp";
    license = licenses.bsd3;