python3Packages.cached-ipaddress: 1.1.1 -> 1.1.2 (#527742)

This commit is contained in:
dotlambda
2026-06-03 21:24:35 +00:00
committed by GitHub
2 changed files with 16 additions and 12 deletions
@@ -5,6 +5,7 @@
cached-ipaddress,
fetchFromGitHub,
ifaddr,
libredirect,
netifaces,
poetry-core,
pyroute2,
@@ -15,14 +16,14 @@
buildPythonPackage (finalAttrs: {
pname = "aiodiscover";
version = "3.2.3";
version = "3.3.1";
pyproject = true;
src = fetchFromGitHub {
owner = "bdraco";
repo = "aiodiscover";
tag = "v${finalAttrs.version}";
hash = "sha256-GivEYa0/i/ufudYSHWQwYRhTEpzmwhlOyPHWH/JpdfU=";
hash = "sha256-QQwEYxflOzNN+J0lCIp+LzwB7m000PgZH8MSsKTUEMw=";
};
build-system = [ poetry-core ];
@@ -35,16 +36,19 @@ buildPythonPackage (finalAttrs: {
pyroute2
];
pythonRelaxDeps = [ "aiodns" ];
nativeCheckInputs = [
libredirect.hook
pytest-asyncio
pytest-cov-stub
pytestCheckHook
];
disabledTests = [
# Tests require access to /etc/resolv.conf
"test_async_discover_hosts"
];
preCheck = ''
echo "nameserver 127.0.0.1" > resolv.conf
export NIX_REDIRECTS=/etc/resolv.conf=$(realpath resolv.conf)
'';
pythonImportsCheck = [ "aiodiscover" ];
@@ -11,16 +11,16 @@
propcache,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "cached-ipaddress";
version = "1.1.1";
version = "1.1.2";
pyproject = true;
src = fetchFromGitHub {
owner = "bdraco";
repo = "cached-ipaddress";
tag = "v${version}";
hash = "sha256-VIIcScaZwd5BAidgG30edYsAQaFnqxEQX+F/t+HR278=";
tag = "v${finalAttrs.version}";
hash = "sha256-+A1kMD1L2K+dAWrZJ96qJpx0udRGMWbWApyWtMrE7lk=";
};
build-system = [
@@ -42,8 +42,8 @@ buildPythonPackage rec {
meta = {
description = "Cache construction of ipaddress objects";
homepage = "https://github.com/bdraco/cached-ipaddress";
changelog = "https://github.com/bdraco/cached-ipaddress/blob/${src.rev}/CHANGELOG.md";
changelog = "https://github.com/bdraco/cached-ipaddress/blob/${finalAttrs.src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = [ ];
};
}
})