From 9cac06f8dafeb28e6e061951fe76cbfa070b5ece Mon Sep 17 00:00:00 2001 From: Maciej Urbanski Date: Mon, 17 Jun 2024 12:10:53 +0200 Subject: [PATCH] release 4.0.2 --- CHANGELOG.md | 16 ++++++++++++++++ pdm.lock | 11 ++++++----- pyproject.toml | 2 +- 3 files changed, 23 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c2063b3b..f291f591 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,22 @@ upcoming release can be found in [changelog.d](changelog.d). +## [4.0.2](https://github.com/Backblaze/B2_Command_Line_Tool/releases/tag/v4.0.2) - 2024-06-17 + + +### Fixed + +- Fix `--lifecycle-rule` validation on `python<3.10`. +- Update required `b2sdk` version which includes various fixes. + - Move scan filters before a read on filesystem access attempt. This will prevent unnecessary warnings and IO operations on paths that are not relevant to the operation. + - Fix & improve Lifecycle Rule validation. + - Don't retry on `NoPaymentHistory` exception. + +### Doc + +- Add `--lifecycle-rule` example to CLI `--help` and documentation. ([#432](https://github.com/Backblaze/B2_Command_Line_Tool/issues/432)) + + ## [4.0.1](https://github.com/Backblaze/B2_Command_Line_Tool/releases/tag/v4.0.1) - 2024-05-15 diff --git a/pdm.lock b/pdm.lock index ea3954a0..734bc68e 100644 --- a/pdm.lock +++ b/pdm.lock @@ -5,7 +5,7 @@ groups = ["default", "bundle", "doc", "format", "full", "license", "lint", "release", "test"] strategy = ["cross_platform", "inherit_metadata"] lock_version = "4.4.1" -content_hash = "sha256:ebe6f071ff22591549adda595b961246f8f9c6e6cde6fc5f63680741fc6bd810" +content_hash = "sha256:a7be23a8a567b8b42f54eeb6f537d7237e072f28a2fef404923786f0c247d144" [[package]] name = "alabaster" @@ -35,7 +35,7 @@ name = "annotated-types" version = "0.5.0" requires_python = ">=3.7" summary = "Reusable constraint types to use with typing.Annotated" -groups = ["full"] +groups = ["default", "full"] dependencies = [ "typing-extensions>=4.0.0; python_version < \"3.9\"", ] @@ -100,19 +100,20 @@ files = [ [[package]] name = "b2sdk" -version = "2.3.0" +version = "2.4.0" requires_python = ">=3.7" summary = "Backblaze B2 SDK" groups = ["default"] dependencies = [ + "annotated-types>=0.5.0", "importlib-metadata>=3.3.0; python_version < \"3.8\"", "logfury<2.0.0,>=1.0.1", "requests<3.0.0,>=2.9.1", "typing-extensions>=4.7.1; python_version < \"3.12\"", ] files = [ - {file = "b2sdk-2.3.0-py3-none-any.whl", hash = "sha256:030696ef0ee8f958975e784c5a8248b91f222fc3c31ad24c5bb9ff6296135218"}, - {file = "b2sdk-2.3.0.tar.gz", hash = "sha256:fc292fceb5ec35c0dfd681f23e76b4449b63bb82d00423fc54edc0f4363f53e1"}, + {file = "b2sdk-2.4.0-py3-none-any.whl", hash = "sha256:fe53e53febd7a84aad67ae919fae4341d62ea799095f0f7d9c07e9a9ae2213b8"}, + {file = "b2sdk-2.4.0.tar.gz", hash = "sha256:95122d163819c233e8b11b4a1d87fcd3b9c4eb62db78b69bd231e20aa91547fb"}, ] [[package]] diff --git a/pyproject.toml b/pyproject.toml index ff817d2d..3c15879a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,7 @@ classifiers = [ dependencies = [ "argcomplete>=2,<4", "arrow>=1.0.2,<2.0.0", - "b2sdk>=2.3.0,<3", + "b2sdk>=2.4.0,<3", "docutils>=0.18.1", "idna~=3.4; platform_system == 'Java'", "importlib-metadata>=3.3; python_version < '3.8'",