python310Packages.pytest-aiohttp: 1.0.4 -> 1.0.5

Changelog: https://github.com/aio-libs/pytest-aiohttp/blob/v1.0.5/CHANGES.rst
This commit is contained in:
Robert Schütz 2023-09-10 23:24:59 -07:00 committed by Martin Weinelt
parent 836da00391
commit 7aaa5ba972

View file

@ -1,7 +1,9 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, setuptools
, setuptools-scm
, wheel
, aiohttp
, pytest
, pytest-asyncio
@ -10,22 +12,26 @@
buildPythonPackage rec {
pname = "pytest-aiohttp";
version = "1.0.4";
version = "1.0.5";
format = "setuptools";
format = "pyproject";
__darwinAllowLocalNetworking = true;
src = fetchPypi {
inherit pname version;
sha256 = "39ff3a0d15484c01d1436cbedad575c6eafbf0f57cdf76fb94994c97b5b8c5a4";
src = fetchFromGitHub {
owner = "aio-libs";
repo = "pytest-aiohttp";
rev = "refs/tags/v${version}";
hash = "sha256-UACf0frMTOAgSsXQ0oqROHKR1zn4OfLPhd9MwBK002Y=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
wheel
];
SETUPTOOLS_SCM_PRETEND_VERSION = version;
env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
buildInputs = [
pytest
@ -40,15 +46,9 @@ buildPythonPackage rec {
pytestCheckHook
];
disabledTestPaths = [
# pytest 7.2.0 incompatibilities
# https://github.com/aio-libs/pytest-aiohttp/issues/50
"tests/test_fixtures.py"
];
meta = with lib; {
homepage = "https://github.com/aio-libs/pytest-aiohttp/";
changelog = "https://github.com/aio-libs/pytest-aiohttp/blob/v${version}/CHANGES.rst";
changelog = "https://github.com/aio-libs/pytest-aiohttp/blob/${src.rev}/CHANGES.rst";
description = "Pytest plugin for aiohttp support";
license = licenses.asl20;
maintainers = with maintainers; [ dotlambda ];