diff --git a/pkgs/by-name/ba/backblaze-b2/0001-fix-error-with-pytest-4.0.patch b/pkgs/by-name/ba/backblaze-b2/0001-fix-error-with-pytest-4.0.patch deleted file mode 100644 index 7a1a44954fbe..000000000000 --- a/pkgs/by-name/ba/backblaze-b2/0001-fix-error-with-pytest-4.0.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 898cfcc19af66f5a9273cd04b43cf76ae9ec6da9 Mon Sep 17 00:00:00 2001 -From: Michael Daniels -Date: Tue, 17 Feb 2026 21:17:33 -0500 -Subject: [PATCH] fix error with pytest 4.0 - -https://docs.pytest.org/en/stable/deprecations.html#pytest-plugins-in-non-top-level-conftest-files ---- - test/conftest.py | 1 + - test/integration/conftest.py | 3 --- - 2 files changed, 1 insertion(+), 3 deletions(-) - -diff --git a/test/conftest.py b/test/conftest.py -index 8f0629b..53f3e32 100644 ---- a/test/conftest.py -+++ b/test/conftest.py -@@ -12,6 +12,7 @@ import sys - - import pytest - -+pytest_plugins = ['b2sdk.v3.testing'] - - @pytest.hookimpl - def pytest_configure(config): -diff --git a/test/integration/conftest.py b/test/integration/conftest.py -index 1a7226d..035a2be 100755 ---- a/test/integration/conftest.py -+++ b/test/integration/conftest.py -@@ -47,9 +47,6 @@ ROOT_PATH = pathlib.Path(__file__).parent.parent.parent - GENERAL_BUCKET_NAME_PREFIX = 'clitst' - - --pytest_plugins = ['b2sdk.v3.testing'] -- -- - @pytest.fixture(scope='session', autouse=True) - def summary_notes(request, worker_id): - capmanager = request.config.pluginmanager.getplugin('capturemanager') --- -2.51.2 - diff --git a/pkgs/by-name/ba/backblaze-b2/package.nix b/pkgs/by-name/ba/backblaze-b2/package.nix index beb32465cae5..137439d6be56 100644 --- a/pkgs/by-name/ba/backblaze-b2/package.nix +++ b/pkgs/by-name/ba/backblaze-b2/package.nix @@ -11,24 +11,25 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "backblaze-b2"; - version = "4.6.0"; + version = "4.7.0"; pyproject = true; src = fetchFromGitHub { owner = "Backblaze"; repo = "B2_Command_Line_Tool"; tag = "v${finalAttrs.version}"; - hash = "sha256-/JCvCydW+oaPSs94Crfia9VFNSuHO02j6n+CFnxMKDE="; + hash = "sha256-canG8uEgPukNJiFk+SoSANkKvOBFBZ8lV3lH0tnEzrY="; }; - patches = [ ./0001-fix-error-with-pytest-4.0.patch ]; - nativeBuildInputs = with python3Packages; [ installShellFiles argcomplete ]; - build-system = with python3Packages; [ pdm-backend ]; + build-system = with python3Packages; [ + hatchling + hatch-vcs + ]; dependencies = with python3Packages; [ argcomplete