Bug 287123 - devel/py-b2sdk: Update to 2.9.1
Summary: devel/py-b2sdk: Update to 2.9.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Craig Leres
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-29 00:06 UTC by Craig Leres
Modified: 2025-06-19 23:32 UTC (History)
1 user (show)

See Also:
PopularMoment: maintainer-feedback-


Attachments
patch (809 bytes, patch)
2025-05-29 00:07 UTC, Craig Leres
no flags Details | Diff
updated patch (809 bytes, patch)
2025-05-29 17:39 UTC, Craig Leres
no flags Details | Diff
re-revise patch (809 bytes, patch)
2025-05-29 19:28 UTC, Craig Leres
no flags Details | Diff
update patch for 2.9.4 (809 bytes, patch)
2025-06-12 21:40 UTC, Craig Leres
PopularMoment: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Leres freebsd_committer freebsd_triage 2025-05-29 00:06:45 UTC
Changes since 2.8.1:

 - Adapt authorize_account flow to multi-bucket keys.

 - Migrate to b2 native api v4.

 - Move url_for_api func to an internal classmethod in B2Api class.

 - Release apiver v3 interface. from b2sdk.v3 import ... is now the
   recommended import, but previous versions are still supported.

 - Update application key classes to support multiple bucket ids.

 - Update create_key flow to multi-bucket keys.

 - Migrate integration tests to apiver v3.
Comment 1 Craig Leres freebsd_committer freebsd_triage 2025-05-29 00:07:57 UTC
Created attachment 260770 [details]
patch
Comment 2 Henry 2025-05-29 03:46:19 UTC
Latest update to b2sdk breaks b2 functionality in duplicity, so till thats been resolved either with a new b2sdk or duplicity release, this should not be committed.
Comment 3 Craig Leres freebsd_committer freebsd_triage 2025-05-29 04:28:14 UTC
(In reply to Henry from comment #2)
Can you tell me more? I don't see a relevant upstream issue (and I don't personally use duplicity).
Comment 5 Craig Leres freebsd_committer freebsd_triage 2025-05-29 05:00:17 UTC
(In reply to Henry from comment #4)
Subscribed, thanks!
Comment 6 Craig Leres freebsd_committer freebsd_triage 2025-05-29 17:39:17 UTC
Created attachment 260790 [details]
updated patch

Update the patch for 2.9.2 which claims to fix the regression in 2.9.1.
Comment 7 Craig Leres freebsd_committer freebsd_triage 2025-05-29 19:28:23 UTC
Created attachment 260792 [details]
re-revise patch

Update the patch for 2.9.3 which fixes another "related problem."
Comment 8 Henry 2025-05-29 20:42:51 UTC
Have you tested it with duplicity? I have not had a chance yet.

As there has been three releases in the space of a day, which include two patch releases to resolve versioned api regressions, and that there does not seem to be any obvious reasons to track the bleeding edge, 2.9.3 was only released an hour or so ago, this update should wait a few weeks for any more issues to emerge.
Comment 9 Craig Leres freebsd_committer freebsd_triage 2025-05-29 22:19:43 UTC
(In reply to Henry from comment #8)
I don't personally use duplicity.
Comment 10 Craig Leres freebsd_committer freebsd_triage 2025-06-12 21:40:34 UTC
Created attachment 261211 [details]
update patch for 2.9.4
Comment 11 Henry 2025-06-19 14:57:30 UTC
Comment on attachment 261211 [details]
update patch for 2.9.4

successfully tested with duplicity and no further issues have been reported on gh
Comment 12 commit-hook freebsd_committer freebsd_triage 2025-06-19 23:28:06 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=73c7d1359e38ed9f8424b898b6dba0643ec05f66

commit 73c7d1359e38ed9f8424b898b6dba0643ec05f66
Author:     Craig Leres <leres@FreeBSD.org>
AuthorDate: 2025-06-19 23:26:58 +0000
Commit:     Craig Leres <leres@FreeBSD.org>
CommitDate: 2025-06-19 23:26:58 +0000

    devel/py-b2sdk: Update to 2.9.4

    Changes since 2.8.1:

     - Adapt authorize_account flow to multi-bucket keys.

     - Migrate to b2 native api v4.

     - Move url_for_api func to an internal classmethod in B2Api class.

     - Release apiver v3 interface. from b2sdk.v3 import ... is now the
       recommended import, but previous versions are still supported.

     - Update application key classes to support multiple bucket ids.

     - Update create_key flow to multi-bucket keys.

     - Fix incorrect reliance on v3 abstractions in apiver v2.

     - Fix B2HttpApiConfig and Services references in exposed v2 API.

     - Fix broken StubAccountInfo.list_bucket_names_ids().

     - Fix bucket name mapping in RawSimulator.authorize_account().

     - Fix incorrect path check in LocalFolder.make_full_path.

    PR:             287123
    Approved by:    PopularMoment@protonmail.com (maintainer)

 devel/py-b2sdk/Makefile | 2 +-
 devel/py-b2sdk/distinfo | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
Comment 13 Craig Leres freebsd_committer freebsd_triage 2025-06-19 23:32:12 UTC
Thanks for testing features I cannot.