python310Packages.flask-limiter 0 -> 1 attrpath: python310Packages.flask-limiter Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/j39gb7y30c34bn7z2q9fdngwl60wfh20-packages.json.drv building '/nix/store/j39gb7y30c34bn7z2q9fdngwl60wfh20-packages.json.drv'... Going to be running update for following packages: - python3.10-Flask-Limiter-2.6.2 Press Enter key to continue... Running update for: - python3.10-Flask-Limiter-2.6.2: UPDATING ... - python3.10-Flask-Limiter-2.6.2: DONE. Packages updated! [quotedUrls] [quotedUrls] nothing found to replace Diff after rewrites: diff --git a/pkgs/development/python-modules/flask-limiter/default.nix b/pkgs/development/python-modules/flask-limiter/default.nix index 275b4507fb3..31fac7c2ec4 100644 --- a/pkgs/development/python-modules/flask-limiter/default.nix +++ b/pkgs/development/python-modules/flask-limiter/default.nix @@ -18,13 +18,13 @@ buildPythonPackage rec { pname = "Flask-Limiter"; - version = "2.6.2"; + version = "3.1.0"; src = fetchFromGitHub { owner = "alisaifee"; repo = "flask-limiter"; - rev = version; - sha256 = "sha256-JjksKwSMWzcslXCs977/Wlq1wDMaACxm8e6Ub+r3wPg="; + rev = "refs/tags/${version}"; + sha256 = "sha256-eAJRqyAH1j1NHYfagRZM2fPE6hm9+tJHD8FMqvgvMBI="; }; propagatedBuildInputs = [ No auto update branch exists Old version 2.6.2" not present in staging derivation file with contents: { lib , buildPythonPackage , fetchFromGitHub , flask , limits , ordered-set , rich , typing-extensions , asgiref , hiro , pymemcache , pytest-mock , pytestCheckHook , redis , pymongo }: buildPythonPackage rec { pname = "Flask-Limiter"; version = "3.1.0"; format = "setuptools"; src = fetchFromGitHub { owner = "alisaifee"; repo = "flask-limiter"; rev = "refs/tags/${version}"; hash = "sha256-eAJRqyAH1j1NHYfagRZM2fPE6hm9+tJHD8FMqvgvMBI="; }; postPatch = '' substituteInPlace requirements/main.txt \ --replace "rich>=12,<13" "rich" sed -i "/--cov/d" pytest.ini # flask-restful is unmaintained and breaks regularly, don't depend on it sed -i "/import flask_restful/d" tests/test_views.py ''; propagatedBuildInputs = [ flask limits ordered-set rich typing-extensions ]; checkInputs = [ asgiref pytest-mock pytestCheckHook hiro redis pymemcache pymongo ]; disabledTests = [ # flask-restful is unmaintained and breaks regularly "test_flask_restful_resource" # Requires running a docker instance "test_clear_limits" "test_constructor_arguments_over_config" "test_custom_key_prefix" "test_custom_key_prefix_with_headers" "test_fallback_to_memory_backoff_check" "test_fallback_to_memory_config" "test_fallback_to_memory_with_global_override" "test_redis_request_slower_than_fixed_window" "test_redis_request_slower_than_moving_window" "test_reset_unsupported" # Requires redis "test_fallback_to_memory" ]; disabledTestPaths = [ # requires running redis/memcached/mongodb "tests/test_storage.py" ]; pythonImportsCheck = [ "flask_limiter" ]; meta = with lib; { description = "Rate limiting for flask applications"; homepage = "https://flask-limiter.readthedocs.org/"; license = licenses.mit; }; }