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

python311Packages.python-telegram-bot: 21.1.1 -> 21.2
This commit is contained in:
Fabian Affolter
2024-05-21 10:33:17 +02:00
committed by GitHub
@@ -1,27 +1,27 @@
{ 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
];
};
}