Skip to content

Commit

Permalink
python310Packages.pytest-aiohttp: 1.0.4 -> 1.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
dotlambda authored and mweinelt committed Sep 13, 2023
1 parent a1f6e6b commit 7f0072c
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions pkgs/development/python-modules/pytest-aiohttp/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, setuptools
, setuptools-scm
, wheel
, aiohttp
, pytest
, pytest-asyncio
Expand All @@ -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
Expand All @@ -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 ];
Expand Down

0 comments on commit 7f0072c

Please sign in to comment.