Merge pull request #148421 from fabaff/fix-enturclient
python3Packages.enturclient: relax aysnc_timeout constraint
This commit is contained in:
commit
7bc4ddb885
1 changed files with 9 additions and 1 deletions
|
@ -11,6 +11,7 @@ buildPythonPackage rec {
|
||||||
pname = "enturclient";
|
pname = "enturclient";
|
||||||
version = "0.2.2";
|
version = "0.2.2";
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
@ -29,10 +30,17 @@ buildPythonPackage rec {
|
||||||
async-timeout
|
async-timeout
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace pyproject.toml \
|
||||||
|
--replace 'async_timeout = "^3.0.1"' 'async_timeout = ">=3.0.1"'
|
||||||
|
'';
|
||||||
|
|
||||||
# Project has no tests
|
# Project has no tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
pythonImportsCheck = [ "enturclient" ];
|
pythonImportsCheck = [
|
||||||
|
"enturclient"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python library for interacting with the Entur.org API";
|
description = "Python library for interacting with the Entur.org API";
|
||||||
|
|
Loading…
Reference in a new issue