From a599fde7a9a3c08cf77281163c55b3dffbe58afb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 17 Oct 2025 23:00:33 -0700 Subject: [PATCH] python3Packages.asyncprawcore: 2.4.0 -> 3.0.2 Diff: https://github.com/praw-dev/asyncprawcore/compare/v2.4.0...v3.0.2 Changelog: https://github.com/praw-dev/asyncprawcore/blob/v3.0.2/CHANGES.rst --- .../python-modules/asyncprawcore/default.nix | 21 ++++++++----------- 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/asyncprawcore/default.nix b/pkgs/development/python-modules/asyncprawcore/default.nix index bc8c34f86a01..b6a34a6a2b9a 100644 --- a/pkgs/development/python-modules/asyncprawcore/default.nix +++ b/pkgs/development/python-modules/asyncprawcore/default.nix @@ -4,43 +4,35 @@ buildPythonPackage, fetchFromGitHub, flit-core, - mock, pytestCheckHook, - pytest-asyncio_0, + pytest-asyncio, pytest-vcr, - requests, - requests-toolbelt, - testfixtures, vcrpy, yarl, }: buildPythonPackage rec { pname = "asyncprawcore"; - version = "2.4.0"; + version = "3.0.2"; pyproject = true; src = fetchFromGitHub { owner = "praw-dev"; repo = "asyncprawcore"; tag = "v${version}"; - hash = "sha256-FDQdtnNjsbiEp9BUYdQFMC/hkyJDhCh2WHhQWSQwrFY="; + hash = "sha256-0FOMY/0LXGcHwDe4t+NMAovMhX83/mMv8sWvIf5gxok="; }; build-system = [ flit-core ]; dependencies = [ - requests aiohttp yarl ]; nativeCheckInputs = [ - testfixtures - mock - requests-toolbelt pytestCheckHook - pytest-asyncio_0 + pytest-asyncio pytest-vcr vcrpy ]; @@ -51,6 +43,11 @@ buildPythonPackage rec { "tests/integration/test_sessions.py" ]; + disabledTests = [ + # Test requires network access + "test_initialize" + ]; + pythonImportsCheck = [ "asyncprawcore" ]; meta = {