Unverified Commit 24fbf832 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #203084 from fabaff/databases-bump

python310Packages.databases: 0.6.1 -> 0.6.2, python310Packages.sanic: 22.6.2 -> 22.9.1
parents 0d651503 ded51585
Loading
Loading
Loading
Loading
+39 −19
Original line number Diff line number Diff line
{ lib
, aiomysql
, aiopg
, aiosqlite
, asyncmy
, asyncpg
, buildPythonPackage
, fetchFromGitHub
, sqlalchemy
, aiocontextvars
, aiopg
, pythonOlder
, pytestCheckHook
, pymysql
, asyncpg
, aiomysql
, aiosqlite
, pythonOlder
, sqlalchemy
}:

buildPythonPackage rec {
  pname = "databases";
  version = "0.6.1";
  version = "0.6.2";
  format = "setuptools";

  disabled = pythonOlder "3.6";
  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "encode";
    repo = pname;
    rev = version;
    hash = "sha256-kHsA9XpolGmtuAGzRTj61igooLG9/LBQyv7TtuqiJ/A=";
    rev = "refs/tags/${version}";
    hash = "sha256-3zgHfYGiO2xWualLa4h8A85qjC32ILadw/47Ul1GTmM=";
  };

  propagatedBuildInputs = [
    sqlalchemy
  ];

  passthru.optional-dependencies = {
    postgresql = [
      asyncpg
    ];
    asyncpg = [
      asyncpg
    ];
    aiopg = [
      aiopg
    ];
    mysql = [
      aiomysql
    ];
    aiomysql = [
      aiomysql
    ];
    asyncmy = [
      asyncmy
    ];
    sqlite = [
      aiosqlite
    asyncpg
    pymysql
    sqlalchemy
  ] ++ lib.optionals (pythonOlder "3.7") [
    aiocontextvars
    ];
    aiosqlite = [
      aiosqlite
    ];
  };

  checkInputs = [
    pytestCheckHook
@@ -56,6 +75,7 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Async database support for Python";
    homepage = "https://github.com/encode/databases";
    changelog = "https://github.com/encode/databases/releases/tag/${version}";
    license = licenses.bsd3;
    maintainers = with maintainers; [ costrouc ];
  };
+5 −2
Original line number Diff line number Diff line
@@ -24,11 +24,12 @@
, tornado
, urllib3
, webob
, wrapt
}:

buildPythonPackage rec {
  pname = "elastic-apm";
  version = "6.12.0";
  version = "6.13.2";
  format = "setuptools";

  disabled = pythonOlder "3.8";
@@ -37,7 +38,7 @@ buildPythonPackage rec {
    owner = "elastic";
    repo = "apm-agent-python";
    rev = "refs/tags/v${version}";
    hash = "sha256-tAX96aOPuwtchLk5A1ANuZI5w5H9/yX3Zj9bRSyHv90=";
    hash = "sha256-HbIra8Cxgn/2xOVEvtcc7rMtSLBmWMxxHlIM44Oy+8U=";
  };

  propagatedBuildInputs = [
@@ -48,6 +49,7 @@ buildPythonPackage rec {
    starlette
    tornado
    urllib3
    wrapt
  ];

  checkInputs = [
@@ -84,6 +86,7 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Python agent for the Elastic APM";
    homepage = "https://github.com/elastic/apm-agent-python";
    changelog = "https://github.com/elastic/apm-agent-python/releases/tag/v${version}";
    license = with licenses; [ bsd3 ];
    maintainers = with maintainers; [ fab ];
  };
+2 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "bobbui";
    repo = "json-logging-python";
    rev = version;
    rev = "refs/tags/${version}";
    hash = "sha256-WOAEY1pONH+Gx1b8zHZDMNgJJSn7jvMO60LYTA8z/dE=";
  };

@@ -53,6 +53,7 @@ buildPythonPackage rec {
      infrastructure such as ELK, EFK, AWS Cloudwatch, GCP Stackdriver.
    '';
    homepage = "https://github.com/bobbui/json-logging-python";
    changelog = "https://github.com/bobbui/json-logging-python/releases/tag/${version}";
    license = licenses.asl20;
    maintainers = with maintainers; [ AluisioASG ];
  };
+16 −5
Original line number Diff line number Diff line
@@ -3,25 +3,36 @@
, fetchFromGitHub
, pytestCheckHook
, pytest-asyncio
, pythonOlder
}:

buildPythonPackage rec {
  pname = "sanic-routing";
  version = "22.3.0";
  version = "22.8.0";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "sanic-org";
    repo = "sanic-routing";
    rev = "v${version}";
    hash = "sha256-dX+uxrVjtPxX0ba3WUE/JKgj0PZzvFdKr/lXQgASN6Y=";
    rev = "refs/tags/v${version}";
    hash = "sha256-2T6WY0nzvr8Q9lBoStzmX7m7Ct35lcG53OSLcqxkEcY=";
  };

  checkInputs = [ pytestCheckHook pytest-asyncio ];
  pythonImportsCheck = [ "sanic_routing" ];
  checkInputs = [
    pytest-asyncio
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "sanic_routing"
  ];

  meta = with lib; {
    description = "Core routing component for the Sanic web framework";
    homepage = "https://github.com/sanic-org/sanic-routing";
    changelog = "https://github.com/sanic-org/sanic-routing/releases/tag/v${version}";
    license = licenses.mit;
    maintainers = with maintainers; [ AluisioASG ];
  };
+10 −8
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, callPackage
, fetchFromGitHub
, httpx
, pythonOlder
, sanic
, websockets
, callPackage
}:

buildPythonPackage rec {
  pname = "sanic-testing";
  version = "22.3.1";
  version = "22.9.0";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "sanic-org";
    repo = "sanic-testing";
    rev = "refs/tags/v${version}";
    sha256 = "sha256-6aJyc5B9e65RPG3FwXAoQByVNdrLAWTEu2/Dqf9hf+g=";
    hash = "sha256-o0uXeIw2wV9sxGkEH5jPrQvRj1W2CsUU2n+8R8Ta12Y=";
  };

  outputs = [
@@ -23,10 +27,6 @@ buildPythonPackage rec {
    "testsout"
  ];

  postPatch = ''
    sed -i 's/httpx>=.*"/httpx"/' setup.py
  '';

  propagatedBuildInputs = [
    httpx
    sanic
@@ -38,8 +38,9 @@ buildPythonPackage rec {
    cp -R tests $testsout/tests
  '';

  # check in passthru.tests.pytest to escape infinite recursion with sanic
  # Check in passthru.tests.pytest to escape infinite recursion with sanic
  doCheck = false;

  doInstallCheck = false;

  passthru.tests = {
@@ -49,6 +50,7 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Core testing clients for the Sanic web framework";
    homepage = "https://github.com/sanic-org/sanic-testing";
    changelog = "https://github.com/sanic-org/sanic-testing/releases/tag/v${version}";
    license = licenses.mit;
    maintainers = with maintainers; [ AluisioASG ];
  };
Loading