Unverified Commit d4db290a authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

Merge pull request #301378 from fabaff/aioopenexchangerates-bump

python312Packages.aioopenexchangerates: 0.4.8 -> 0.4.9
parents 58e7a73c b7ce74df
Loading
Loading
Loading
Loading
+21 −25
Original line number Diff line number Diff line
{ lib
, aiohttp
, aioresponses
, pydantic
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pytest-aiohttp
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
{
  lib,
  aiohttp,
  aioresponses,
  pydantic,
  buildPythonPackage,
  fetchFromGitHub,
  poetry-core,
  pytest-aiohttp,
  pytestCheckHook,
  pythonOlder,
  pythonRelaxDepsHook,
}:

buildPythonPackage rec {
  pname = "aioopenexchangerates";
  version = "0.4.8";
  version = "0.4.9";
  pyproject = true;

  disabled = pythonOlder "3.9";
@@ -22,24 +23,21 @@ buildPythonPackage rec {
    owner = "MartinHjelmare";
    repo = "aioopenexchangerates";
    rev = "refs/tags/v${version}";
    hash = "sha256-qwqhbHp4JPsbA6g7SI2frtqhayCmA1s3pTW2S4r6gmw=";
    hash = "sha256-goOzp5nPkQCtGV7U71ek1LQ93Ko5BdEvawYb/feGRQQ=";
  };

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace " --cov=aioopenexchangerates --cov-report=term-missing:skip-covered" ""
      --replace-fail " --cov=aioopenexchangerates --cov-report=term-missing:skip-covered" ""
  '';

  nativeBuildInputs = [
    poetry-core
    pythonRelaxDepsHook
  ];
  pythonRelaxDeps = [ "pydantic" ];

  pythonRelaxDeps = [
    "pydantic"
  ];
  build-system = [ poetry-core ];

  propagatedBuildInputs = [
  nativeBuildInputs = [ pythonRelaxDepsHook ];

  dependencies = [
    aiohttp
    pydantic
  ];
@@ -50,9 +48,7 @@ buildPythonPackage rec {
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "aioopenexchangerates"
  ];
  pythonImportsCheck = [ "aioopenexchangerates" ];

  meta = with lib; {
    description = "Library for the Openexchangerates API";