Merge pull request #282421 from fabaff/demetriek-fix

python311Packages.demetriek: relax pydantic
This commit is contained in:
Fabian Affolter 2024-01-21 10:37:04 +01:00 committed by GitHub
commit 62eacc67a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,23 +1,24 @@
{ lib
, aiohttp
, aresponses
, awesomeversion
, backoff
, buildPythonPackage
, pydantic
, fetchFromGitHub
, fetchpatch
, poetry-core
, yarl
, aresponses
, pydantic
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
, yarl
}:
buildPythonPackage rec {
pname = "demetriek";
version = "0.4.0";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.9";
@ -45,8 +46,13 @@ buildPythonPackage rec {
--replace "--cov" ""
'';
pythonRelaxDeps = [
"pydantic"
];
nativeBuildInputs = [
poetry-core
pythonRelaxDepsHook
];
propagatedBuildInputs = [
@ -72,6 +78,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python client for LaMetric TIME devices";
homepage = "https://github.com/frenck/python-demetriek";
changelog = "https://github.com/frenck/python-demetriek/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};