devel/py-b2sdk: Update to 2.12.0 Update dependencies. Changes since 2.10.4: - Handle null case when encoding / decoding content_sha1 in BaseFileVersion. - Fix SqliteAccountInfo to explicitly close temporary sqlite connections used during setup. - Declare official support for Python 3.14. - Introduce a reusable validator to ensure remote B2 file names are safe to use as local paths. - Drop support for Python 3.9 and PyPy 3.9. PR: 295590 Reported by: github Approved by: PopularMoment@protonmail.com (maintainer)5604d659f2
Port details
devel/py-b2sdk2.12.0
Backblaze B2 SDK
- Maintainer
- PopularMoment@protonmail.com
- Packages
- py312-b2sdk 2.12.0
- Upstream
- Higher version available: 2.13.2
- CPE
- none, CVEs only via VuXML
- WWW
- https://github.com/Backblaze/b2-sdk-python
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (31)
devel/py-b2sdk: Update to 2.10.4 Update dependencies. Changes since 2.10.2: - Fixed a retry bug in upload_unbound_stream() small-file uploads where a retryable upload error could cause a one-shot buffered stream to be reopened after it was closed. - Address backwards compatibility issue for sqlite account info caused by the migration of schema to a new multi-bucket format. - Avoid http-level retries during upload requests. - Use stat.S_ISDIR check for local folder children scanning instead of Path.is_dir to account for an api change in Python 3.14. PR: 293748 Reported by: github Approved by: PopularMoment@protonmail.com (maintainer)df3f775c57
devel/py-b2sdk: Update to 2.10.2 Changes since 2.9.4: - Improve seed generation for containers' names in tests. - Fix type error in retrying behavior for 429 status with Retry-After header value set. PR: 291881 Approved by: PopularMoment@protonmail.com (maintainer)df48bbd461
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)73c7d1359e
devel/py-b2sdk: Update to 2.8.1 Changes since 2.8.0: - Fix TimeoutError handling in b2http. - Document params in FileRetentionSetting class. PR: 286353 Approved by: PopularMoment@protonmail.com (maintainer)7a24aef8fe
devel/py-b2sdk: remove py-setuptools from run dendencies PR: 284790 Reported by: John Hein Approved by: PopularMoment@protonmail.com (maintainer)e44dc26e2a
devel/py-b2sdk: Update to 2.8.0 Changes since 2.7.0: - Migrate to B2 Native API v3. - Fix continuation for started large files with no fully finished parts. - Remove yapf in favor of ruff. PR: 284302 Approved by: PopularMoment@protonmail.com (maintainer)cc412c06f9
devel/py-b2sdk: Update to 2.7.0 Changes since 2.5.1: - Fixed datetime.utcnow() deprecation warnings under Python 3.12. - Make Event Notifications generally available. - Switch a pytest hook from path to collection_path. - Add upload token reset after upload timeout. - Fix file/directory permission handling for Windows during the B2 sync. PR: 283906 Approved by: PopularMoment@protonmail.com (maintainer timeout, 2 weeks)6a13d3f0d9
devel/py-b2sdk: Update to 2.5.1 Changelog: https://github.com/Backblaze/b2-sdk-python/releases/tag/v2.5.1 PR: 281606 Event: EuroBSDcon 202469a255d184
devel/py-b2sdk: update to 1.33.0 - convert to pep517 Changelog: https://github.com/Backblaze/b2-sdk-python/compare/v1.29.0...v1.33.0 PR: 27735769a281a193
devel/py-setuptools-scm: update to 8.0.4
Directory and PORTNAME changed to match normalised name in release
tarball; consumers updated to match.
Although setuptools itself is specified as a run dependency in the
Python package metadata, it is currently left out here to prevent
environment pollution until at least PR 270510 is committed.
Additionally, this version of setuptools-scm requires setuptools>=61,
which means this version is only meant for USE_PYTHON=pep517 ports
as all USE_PYTHON=distutils ports will switch to devel/py-setuptools58
also after PR 270510. science/py-emmet-core is switched to
devel/py-setuptools_scm7 accordingly, as it specifies setuptools-scm<8.
devel/py-{flit-scm,hatch-vcs} have ${PY_SETUPTOOLS} added to
RUN_DEPENDS to compensate.
Further details: https://wiki.freebsd.org/Python/setuptools
Reported by: yuri
Co-authored by: matthew
Exp-run by: antoine (earlier iteration)
Approved by: yuri (science/py-emmet-core, previous iteration)
PR: 272134
Differential Revision: https://reviews.freebsd.org/D392885d4139f8bddevel/py-b2sdk: Update to 1.29.0 PR: 276343 Reported by: PopularMoment@protonmail.com(maintainer)9e6934dd7a
devel/py-b2sdk: Remove outdated PYTHON_REL check after lang/python37 removal Approved by: portmgr (blanket) With hat: pythona36bacfce2
devel/py-setuptools: convert individual consumers to ${PY_SETUPTOOLS}
Currently a no-op, but in the future outputs the correct setuptools
port depending on whether USES_PYTHON=distutils is specified.
With hat: python
PR: 270510, 2703589a80a6ee5eall: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>3d9a815d9c*/*: rename CHEESESHOP to PYPI in MASTER_SITES PR: 267994 Differential revision: D37518 Approved by: bapt77d68471ad
Remove WWW entries moved into port Makefiles Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)fb16dfecae
Add WWW entries to port Makefiles It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
devel/py-b2sdk: Fix 4c48c70106552373e916142d220655da57350d22 - While I'm here, remove no-op PORTREVISION=0 Approved by: portmgr (blanket)65d148204b
devel/py-b2sdk: update to 1.17.3 PR: 2661664c48c70106
devel/py-b2sdk: Change RUN_DEPENDS from py-logfury to py-logfury0 - Bump PORTREVISION for dependency change9a3bb871b4
devel/py-b2sdk: Update to 1.12.0 [1] * Pet portclippy/portlint [1] * Update testsuite and prepare the port for the 6.x release of devel/py-setuptools_scm while I'm here. Changelog: https://github.com/Backblaze/b2-sdk-python/releases/tag/v1.12.0 PR: 258033 Reported by: Henry <PopularMoment@protonmail.com> (maintainer) [1] Reviewed by: eduardo, koobs (earlier revision)35e10dcc8d
Mk: switch PYTHON_REL to 5 digits to support python 3.10.x PR: 255013 Differential Revision: https://reviews.freebsd.org/D29418 Exp-run by: antoine Approved by: wen@, no objection from python@ or portmgr@0729af4255
devel/py-b2sdk: Update to 1.6.0 Changelog: https://github.com/Backblaze/b2-sdk-python/releases PR: 255312 Submitted by: Henry <PopularMoment@protonmail.com> (maintainer)a36eb0f518
One more small cleanup, forgotten yesterday. Reported by: lwhsucf118ccf87
Remove # $FreeBSD$ from Makefiles.305f148f48
Remove empty PY_ENUM34 from ports using Python 3.6+850accd611
Follow up on devel/py-futures port removal in r559976 The devel/py-futures port was removed in r559976 as it was for Python 2.7 only and no longer referenced in the default cases. However it was still defined in Mk/Uses/python.mk in PY_FUTURES, leaving a dangling reference. Remove it from Mk/Uses/python.mk and from affected ports, as it was already an empty definition for Python 3.6+ Bump minimal Python version of security/theonionbox to 3.6+42ca9d7a26
Drop python 2.7 support from a few ports With hat: portmgraa7a6c429e
devel/py-b2sdk: Update to 1.1.4 PR: 248054 Submitted by: Henry <PopularMoment@protonmail.com> (maintainer)9ce0c25085
[NEW] devel/py-b2sdk: Backblaze B2 SDK Python client library and a few handy utilities for easy access to all of the capabilities of B2 Cloud Storage. WWW: https://github.com/Backblaze/b2-sdk-python PR: 242562 Submitted by: Henry David Bartholomew <PopularMoment protonmail com>8a642417fe