From 508eb5bead4029f5f5b25e0fa49cd09bd23ca701 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 5 Aug 2025 04:42:19 +0200 Subject: [PATCH] python3Packages.py7zr: 0.22.0 -> 1.0.0 https://github.com/miurahr/py7zr/blob/v1.0.0/docs/Changelog.rst#v100 This commit was automatically generated using update-python-libraries. --- .../development/python-modules/py7zr/default.nix | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/py7zr/default.nix b/pkgs/development/python-modules/py7zr/default.nix index 9e986b4cae52..0a96e999ec49 100644 --- a/pkgs/development/python-modules/py7zr/default.nix +++ b/pkgs/development/python-modules/py7zr/default.nix @@ -15,31 +15,25 @@ texttable, py-cpuinfo, pytest-benchmark, + pytest-httpserver, pytest-remotedata, pytest-timeout, pytestCheckHook, + requests, }: buildPythonPackage rec { pname = "py7zr"; - version = "0.22.0"; + version = "1.0.0"; pyproject = true; src = fetchFromGitHub { owner = "miurahr"; repo = "py7zr"; tag = "v${version}"; - hash = "sha256-YR2cuHZWwqrytidAMbNvRV1/N4UZG8AMMmzcTcG9FvY="; + hash = "sha256-uV4zBQZlHfHgM/NiVSjI5I9wJRk9i4ihJn4B2R6XRuM="; }; - postPatch = - # Replace inaccessible mirror (qt.mirrors.tds.net): - # upstream PR: https://github.com/miurahr/py7zr/pull/637 - '' - substituteInPlace tests/test_concurrent.py \ - --replace-fail 'http://qt.mirrors.tds.net/qt/' 'https://download.qt.io/' - ''; - build-system = [ setuptools setuptools-scm @@ -60,9 +54,11 @@ buildPythonPackage rec { nativeCheckInputs = [ py-cpuinfo pytest-benchmark + pytest-httpserver pytest-remotedata pytest-timeout pytestCheckHook + requests ]; pytestFlags = [ "--benchmark-disable" ];