python-b2sdk: update to 1.17.3.

backblaza-b2 is broken with python-b2sdk 1.17.2
https://github.com/Backblaze/B2_Command_Line_Tool/issues/734
This commit is contained in:
Đoàn Trần Công Danh 2022-08-27 18:30:50 +07:00
parent 440c561d2f
commit c9feca2028
2 changed files with 39 additions and 5 deletions

View file

@ -0,0 +1,32 @@
--- a/test/unit/account_info/fixtures.py
+++ b/test/unit/account_info/fixtures.py
@@ -9,6 +9,7 @@
######################################################################
import pytest
+import pytest_lazyfixture
from apiver_deps import InMemoryAccountInfo, SqliteAccountInfo
@@ -84,8 +85,8 @@ def sqlite_account_info(sqlite_account_i
@pytest.fixture(
params=[
- pytest.lazy_fixture('in_memory_account_info_factory'),
- pytest.lazy_fixture('sqlite_account_info_factory'),
+ pytest_lazyfixture.lazy_fixture('in_memory_account_info_factory'),
+ pytest_lazyfixture.lazy_fixture('sqlite_account_info_factory'),
]
)
def account_info_factory(request):
@@ -94,8 +95,8 @@ def account_info_factory(request):
@pytest.fixture(
params=[
- pytest.lazy_fixture('in_memory_account_info'),
- pytest.lazy_fixture('sqlite_account_info'),
+ pytest_lazyfixture.lazy_fixture('in_memory_account_info'),
+ pytest_lazyfixture.lazy_fixture('sqlite_account_info'),
]
)
def account_info(request):

View file

@ -1,20 +1,22 @@
# Template file for 'python-b2sdk' # Template file for 'python-b2sdk'
# keep python-b2sdk name to revert this package # keep python-b2sdk name to revert this package
pkgname=python-b2sdk pkgname=python-b2sdk
version=1.17.2 version=1.17.3
revision=1 revision=1
wrksrc="b2sdk-${version}" wrksrc="b2sdk-${version}"
build_style=python3-module build_style=python3-pep517
hostmakedepends="python3-setuptools_scm python3-pip" make_install_target="b2sdk-${version}-*-*-*.whl"
hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3-logfury python3-Arrow python3-requests python3-six" depends="python3-logfury python3-Arrow python3-requests python3-six"
checkdepends="python3-pytest $depends python3-dateutil python3-nose checkdepends="python3-pytest-lazy-fixture $depends python3-dateutil
python3-mock python3-tqdm python3-pyflakes" python3-mock python3-tqdm python3-pyflakes"
short_desc="Backblaze's B2 Python SDK" short_desc="Backblaze's B2 Python SDK"
maintainer="Andrea Brancaleoni <abc@pompel.me>" maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="MIT" license="MIT"
homepage="https://pypi.org/project/b2sdk" homepage="https://pypi.org/project/b2sdk"
distfiles="${PYPI_SITE}/b/b2sdk/b2sdk-${version}.tar.gz" distfiles="${PYPI_SITE}/b/b2sdk/b2sdk-${version}.tar.gz"
checksum=c20a9e9951da17c65d2b0aa3b9551404d4e8a6e76dedab02816704fd406edcb9 checksum=a723e38dd43cc33bd08ad95c84695f3533f0aacd0f1fac60a6548f516a63b703
make_check=no
post_install() { post_install() {
vlicense LICENSE vlicense LICENSE