Unverified Commit 57eac894 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #198285 from fabaff/aiosmtplib-bump

python310Packages.aiosmtplib: 1.1.7 -> 2.0.0
parents 9fdbf018 a9b64306
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -7,11 +7,12 @@
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, trustme
}:

buildPythonPackage rec {
  pname = "aiosmtplib";
  version = "1.1.7";
  version = "2.0.0";
  format = "pyproject";

  disabled = pythonOlder "3.7";
@@ -20,7 +21,7 @@ buildPythonPackage rec {
    owner = "cole";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-ZVNYMVg2qeMoSojmPllvJLv2Xm5IYN9h5N13oHPFXSk=";
    hash = "sha256-NdGap6sl+3tqr/8jhDSDsun/4SiuznfqLf1banIp9EQ=";
  };

  nativeBuildInputs = [
@@ -32,6 +33,7 @@ buildPythonPackage rec {
    hypothesis
    pytest-asyncio
    pytestCheckHook
    trustme
  ];

  pythonImportsCheck = [
+7 −3
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@

buildPythonPackage rec {
  pname = "fastapi-mail";
  version = "1.2.2";
  version = "1.2.4";
  format = "pyproject";

  disabled = pythonOlder "3.7";
@@ -28,12 +28,16 @@ buildPythonPackage rec {
    owner = "sabuhish";
    repo = pname;
    rev = "refs/tags/${version}";
    hash = "sha256-+i/p4KVppsOkj2TEoZKmjrlnkhk2wxPg2enh2QCXiQI=";
    hash = "sha256-6Iwgl15adc6wK7i8sFLeSf2HSvMo/Sx/BI44qboNnRM=";
  };

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace 'starlette = "^0.21.0"' 'starlette = "*"'
      --replace 'version = "1.2.2"' 'version = "${version}"' \
      --replace 'aiosmtplib = "^2.0"' 'aiosmtplib = "*"' \
      --replace 'pydantic = "^1.8"' 'pydantic = "*"' \
      --replace 'starlette = "^0.22.0"' 'starlette = "*"' \
      --replace 'black = "^22.12.0"' ""
  '';

  nativeBuildInputs = [