Merge pull request #303734 from fabaff/pytest-aio-bump

python312Packages.pytest-aio: 1.5.0 -> 1.8.1
This commit is contained in:
Fabian Affolter 2024-04-13 10:06:38 +02:00 committed by GitHub
commit 5497d564c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,21 +1,23 @@
{ lib
, anyio
, buildPythonPackage
, curio
, fetchFromGitHub
, hypothesis
, pytest
, pytestCheckHook
, pythonOlder
, sniffio
, trio
, trio-asyncio
{
lib,
anyio,
buildPythonPackage,
curio,
fetchFromGitHub,
hypothesis,
pytest,
pytestCheckHook,
pythonOlder,
poetry-core,
sniffio,
trio,
trio-asyncio,
}:
buildPythonPackage rec {
pname = "pytest-aio";
version = "1.5.0";
format = "setuptools";
version = "1.8.1";
pyproject = true;
disabled = pythonOlder "3.7";
@ -23,34 +25,30 @@ buildPythonPackage rec {
owner = "klen";
repo = "pytest-aio";
rev = "refs/tags/${version}";
hash = "sha256-BIVorMRWyboKFZCiELoBh/1oxSpdV263zfLce1fNVhU=";
hash = "sha256-MexIL9yFTzhkJ/61GgYoT54MWV8B0c1/CWkN5FVTvnw=";
};
postPatch = ''
sed -i '/addopts/d' setup.cfg
'';
build-system = [ poetry-core ];
buildInputs = [
pytest
];
buildInputs = [ pytest ];
nativeCheckInputs = [
dependencies = [
anyio
curio
hypothesis
pytestCheckHook
sniffio
trio
trio-asyncio
];
pythonImportsCheck = [
"pytest_aio"
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pytest_aio" ];
meta = with lib; {
homepage = "https://github.com/klen/pytest-aio";
description = "Pytest plugin for aiohttp support";
homepage = "https://github.com/klen/pytest-aio";
changelog = "https://github.com/klen/pytest-aio/blob/${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};