Merge pull request #147541 from fabaff/bump-py17track

python3Packages.py17track: relax async_timeout constraint
This commit is contained in:
Fabian Affolter
2021-11-27 09:14:06 +01:00
committed by GitHub
@@ -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";