python3Packages.py17track: relax async_timeout constraint

This commit is contained in:
Fabian Affolter
2021-11-26 23:14:41 +01:00
parent fc9ee3bc0b
commit e71b01a8fc
@@ -16,6 +16,7 @@ buildPythonPackage rec {
pname = "py17track";
version = "3.3.0";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
@@ -44,13 +45,18 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace pyproject.toml \
--replace ">=19.3,<21.0" ">=19.3,<22.0"
--replace 'attrs = ">=19.3,<21.0"' 'attrs = ">=19.3,<22.0"' \
--replace 'async-timeout = "^3.0.1"' 'async-timeout = ">=3.0.1,<5.0.0"'
'';
# Ignore the examples directory as the files are prefixed with test_
disabledTestPaths = [ "examples/" ];
disabledTestPaths = [
# Ignore the examples directory as the files are prefixed with test_
"examples/"
];
pythonImportsCheck = [ "py17track" ];
pythonImportsCheck = [
"py17track"
];
meta = with lib; {
description = "Python library to track package info from 17track.com";