Merge pull request #333913 from fabaff/requests-ratelimiter-bump

python312Packages.requests-ratelimiter: 0.6.0 -> 0.7.0
This commit is contained in:
Pol Dellaiera
2024-08-11 20:02:00 +02:00
committed by GitHub
2 changed files with 20 additions and 14 deletions
@@ -6,18 +6,18 @@
fetchPypi,
od,
pygments,
pytestCheckHook,
pythonOlder,
python-dateutil,
pythonOlder,
repeated-test,
setuptools-scm,
sigtools,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "clize";
version = "5.0.2";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.7";
@@ -26,23 +26,23 @@ buildPythonPackage rec {
hash = "sha256-BH9aRHNgJxirG4VnKn4VMDOHF41agcJ13EKd+sHstRA=";
};
nativeBuildInputs = [ setuptools-scm ];
build-system = [ setuptools-scm ];
propagatedBuildInputs = [
dependencies = [
attrs
docutils
od
sigtools
];
passthru.optional-dependencies = {
optional-dependencies = {
datetime = [ python-dateutil ];
};
nativeCheckInputs = [
pytestCheckHook
python-dateutil
pygments
unittestCheckHook
python-dateutil
repeated-test
];
@@ -51,6 +51,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Command-line argument parsing for Python";
homepage = "https://github.com/epsy/clize";
changelog = "https://github.com/epsy/clize/releases/tag/v${version}";
license = licenses.mit;
maintainers = [ ];
};
@@ -4,39 +4,44 @@
fetchFromGitHub,
poetry-core,
pyrate-limiter,
requests,
pytestCheckHook,
pythonOlder,
requests-mock,
requests,
requests-cache,
}:
buildPythonPackage rec {
pname = "requests-ratelimiter";
version = "0.6.0";
version = "0.7.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "JWCook";
repo = "requests-ratelimiter";
rev = "refs/tags/v${version}";
hash = "sha256-ctCD+vlV90KCO7DdPUZJipBC/lz6NXx0gYuHHrs22IY=";
hash = "sha256-DS4BzS8AD4axniyV6jVYXWZ6cQLvMPp8tdGoBhYu51o=";
};
nativeBuildInputs = [ poetry-core ];
build-system = [ poetry-core ];
propagatedBuildInputs = [
dependencies = [
pyrate-limiter
requests
];
nativeCheckInputs = [
pytestCheckHook
requests-cache
requests-mock
];
pythonImportsCheck = [ "requests_ratelimiter" ];
meta = with lib; {
description = "Easy rate-limiting for python requests";
description = "Module for rate-limiting for requests";
homepage = "https://github.com/JWCook/requests-ratelimiter";
changelog = "https://github.com/JWCook/requests-ratelimiter/blob/${src.rev}/HISTORY.md";
license = licenses.mit;