Unverified Commit 0213fb52 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #313161 from fabaff/pydiscovergy-bump

python312Packages.pydiscovergy: 3.0.0 -> 3.0.1
parents 158f2dd7 ccad6d83
Loading
Loading
Loading
Loading
+26 −26
Original line number Diff line number Diff line
{ lib
, authlib
, buildPythonPackage
, fetchFromGitHub
, httpx
, mashumaro
, orjson
, pytest-httpx
, poetry-core
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
, pytz
, respx
{
  lib,
  authlib,
  buildPythonPackage,
  fetchFromGitHub,
  httpx,
  mashumaro,
  orjson,
  pytest-asyncio,
  pytest-httpx,
  poetry-core,
  pytestCheckHook,
  pythonOlder,
  pythonRelaxDepsHook,
  pytz,
  respx,
}:

buildPythonPackage rec {
  pname = "pydiscovergy";
  version = "3.0.0";
  format = "pyproject";
  version = "3.0.1";
  pyproject = true;

  disabled = pythonOlder "3.10";

@@ -25,19 +27,18 @@ buildPythonPackage rec {
    owner = "jpbede";
    repo = "pydiscovergy";
    rev = "refs/tags/v${version}";
    hash = "sha256-ArcH/4ZyOtIGmoXArU+oEd357trJnS9umlN9B+U0dBI=";
    hash = "sha256-0zyg1EBPOfcA1jAgtNbDCVaTv9hJQ2Xidl+doHbjKrM=";
  };

  postPatch = ''
    sed -i '/addopts =/d' pyproject.toml
  '';

  nativeBuildInputs = [
    poetry-core
    pythonRelaxDepsHook
  ];
  build-system = [ poetry-core ];

  nativeBuildInputs = [ pythonRelaxDepsHook ];

  propagatedBuildInputs = [
  dependencies = [
    authlib
    httpx
    mashumaro
@@ -46,17 +47,16 @@ buildPythonPackage rec {
  ];

  nativeCheckInputs = [
    pytest-asyncio
    pytest-httpx
    pytestCheckHook
    respx
  ];

  pythonImportsCheck = [
    "pydiscovergy"
  ];
  pythonImportsCheck = [ "pydiscovergy" ];

  meta = with lib; {
    description = "Async Python 3 library for interacting with the Discovergy API";
    description = "Library for interacting with the Discovergy API";
    homepage = "https://github.com/jpbede/pydiscovergy";
    changelog = "https://github.com/jpbede/pydiscovergy/releases/tag/v${version}";
    license = licenses.mit;