lol

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