Merge pull request #248870 from fabaff/respx-bump

python311Packages.respx: 0.20.1 -> 0.20.2

authored by

Fabian Affolter and committed by
GitHub
6e59e20a c6c03954

+11 -14
+11 -14
pkgs/development/python-modules/respx/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 - , fetchpatch 4 + , flask 5 5 , httpcore 6 6 , httpx 7 - , flask 8 7 , pytest-asyncio 9 8 , pytestCheckHook 9 + , pythonOlder 10 10 , starlette 11 11 , trio 12 12 }: 13 13 14 14 buildPythonPackage rec { 15 15 pname = "respx"; 16 - version = "0.20.1"; 16 + version = "0.20.2"; 17 + format = "setuptools"; 18 + 19 + disabled = pythonOlder "3.7"; 17 20 18 21 src = fetchFromGitHub { 19 22 owner = "lundberg"; 20 23 repo = pname; 21 24 rev = version; 22 - hash = "sha256-Qs3+NWMKiAFlKTTosdyHOxWRPKFlYQD20+MKiKR371U="; 25 + hash = "sha256-OiBKNK8V9WNQDe29Q5+E/jjBWD0qFcYUzhYUWA+7oFc="; 23 26 }; 24 27 25 - patches = [ 26 - (fetchpatch { 27 - name = "httpx-0.24-test-compatibility.patch"; 28 - url = "https://github.com/lundberg/respx/commit/b014780bde8e82a65fc6bb02d62b89747189565c.patch"; 29 - hash = "sha256-wz9YYUtdptZw67ddnzUCet2iTozKaW0jrTIS62I/HXo="; 30 - }) 31 - ]; 32 - 33 28 propagatedBuildInputs = [ 34 29 httpx 35 30 ]; ··· 52 47 "test_pass_through" 53 48 ]; 54 49 55 - pythonImportsCheck = [ "respx" ]; 50 + pythonImportsCheck = [ 51 + "respx" 52 + ]; 56 53 57 54 meta = with lib; { 58 55 description = "Python library for mocking HTTPX"; 59 56 homepage = "https://lundberg.github.io/respx/"; 60 - changelog = "https://github.com/lundberg/respx/blob/${src.rev}/CHANGELOG.md"; 57 + changelog = "https://github.com/lundberg/respx/blob/${version}/CHANGELOG.md"; 61 58 license = with licenses; [ bsd3 ]; 62 59 maintainers = with maintainers; [ fab ]; 63 60 };