python310Packages.aiopvpc: 3.0.0 -> 4.0.1

Diff: https://github.com/azogue/aiopvpc/compare/refs/tags/v3.0.0...v4.0.1

Changelog: https://github.com/azogue/aiopvpc/blob/v4.0.1/CHANGELOG.md
This commit is contained in:
Fabian Affolter
2023-02-02 04:38:14 +01:00
committed by Martin Weinelt
parent 2aee105cba
commit f773239730
@@ -4,18 +4,17 @@
, backports-zoneinfo
, buildPythonPackage
, fetchFromGitHub
, holidays
, poetry-core
, pytest-asyncio
, pytest-timeout
, pytestCheckHook
, pythonOlder
, tzdata
, python-dotenv
}:
buildPythonPackage rec {
pname = "aiopvpc";
version = "3.0.0";
version = "4.0.1";
format = "pyproject";
disabled = pythonOlder "3.8";
@@ -24,17 +23,20 @@ buildPythonPackage rec {
owner = "azogue";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-eTCQddoZIaCs7iKGNBC8aSq6ek4vwYXgIXx35UlME/k=";
hash = "sha256-E5z74/5VuFuOyAfeT4PQlHUNOiVT4sPgOdxoAIIymxU=";
};
postPatch = ''
substituteInPlace pyproject.toml --replace \
" --cov --cov-report term --cov-report html" ""
'';
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
aiohttp
holidays
tzdata
async-timeout
] ++ lib.optionals (pythonOlder "3.9") [
backports-zoneinfo
@@ -44,18 +46,9 @@ buildPythonPackage rec {
pytest-asyncio
pytest-timeout
pytestCheckHook
python-dotenv
];
disabledTests = [
# Failures seem related to changes in holidays-0.13, https://github.com/azogue/aiopvpc/issues/44
"test_number_of_national_holidays"
];
postPatch = ''
substituteInPlace pyproject.toml --replace \
" --cov --cov-report term --cov-report html" ""
'';
pythonImportsCheck = [
"aiopvpc"
];