Skip to content

Commit

Permalink
Merge pull request #147541 from fabaff/bump-py17track
Browse files Browse the repository at this point in the history
python3Packages.py17track: relax async_timeout constraint
  • Loading branch information
fabaff authored Nov 27, 2021
2 parents 5614a1a + e71b01a commit e0c1bb7
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions pkgs/development/python-modules/py17track/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ buildPythonPackage rec {
pname = "py17track";
version = "3.3.0";
format = "pyproject";

disabled = pythonOlder "3.6";

src = fetchFromGitHub {
Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit e0c1bb7

Please sign in to comment.