Unverified Commit 2cde7cc0 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #313299 from r-ryantm/auto-update/python311Packages.python-telegram-bot

python311Packages.python-telegram-bot: 21.1.1 -> 21.2
parents 13c2de8b 7d37713f
Loading
Loading
Loading
Loading
+29 −33
Original line number Diff line number Diff line
{ lib
, aiolimiter
, apscheduler
, beautifulsoup4
, buildPythonPackage
, cachetools
, cryptography
, fetchFromGitHub
, flaky
, httpx
, pytest-asyncio
, pytest-timeout
, pytest-xdist
, pytestCheckHook
, pythonOlder
, pytz
, setuptools
, wheel
, tornado
{
  lib,
  aiolimiter,
  apscheduler,
  beautifulsoup4,
  buildPythonPackage,
  cachetools,
  cryptography,
  fetchFromGitHub,
  flaky,
  httpx,
  pytest-asyncio,
  pytest-timeout,
  pytest-xdist,
  pytestCheckHook,
  pythonOlder,
  pytz,
  setuptools,
  tornado,
}:

buildPythonPackage rec {
  pname = "python-telegram-bot";
  version = "21.1.1";
  version = "21.2";
  pyproject = true;

  disabled = pythonOlder "3.8";
@@ -30,24 +30,19 @@ buildPythonPackage rec {
    owner = "python-telegram-bot";
    repo = "python-telegram-bot";
    rev = "refs/tags/v${version}";
    hash = "sha256-BZrcYZxivrZIkHKqi+x9M4A9XE9dD//2PqzRwA3vuGU=";
    hash = "sha256-l5twJbyZh30+pt9DsCpQRuSav8qYNGlIhQW0qY9BmO4=";
  };

  nativeBuildInputs = [
    setuptools
    wheel
  ];
  build-system = [ setuptools ];

  propagatedBuildInputs = [
  dependencies = [
    aiolimiter
    apscheduler
    cachetools
    cryptography
    httpx
    pytz
  ]
  ++ httpx.optional-dependencies.socks
  ++ httpx.optional-dependencies.http2;
  ] ++ httpx.optional-dependencies.socks ++ httpx.optional-dependencies.http2;

  nativeCheckInputs = [
    beautifulsoup4
@@ -59,9 +54,7 @@ buildPythonPackage rec {
    tornado
  ];

  pythonImportsCheck = [
    "telegram"
  ];
  pythonImportsCheck = [ "telegram" ];

  disabledTests = [
    # Tests require network access
@@ -129,6 +122,9 @@ buildPythonPackage rec {
    homepage = "https://python-telegram-bot.org";
    changelog = "https://github.com/python-telegram-bot/python-telegram-bot/blob/v${version}/CHANGES.rst";
    license = licenses.lgpl3Only;
    maintainers = with maintainers; [ veprbl pingiun ];
    maintainers = with maintainers; [
      veprbl
      pingiun
    ];
  };
}