From 66a0247ef8c25bc041aa9acae17c2a9ccafbf57ccfe111bc6958d3885e52a464 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 1 Dec 2023 09:57:28 +0000 Subject: [PATCH] - update to 0.4.0: * Fixed typo in `batch_load_fn` TypeError * Removed `None` default value for `key` arg in `DataLoader.load()` * Removed Python 3.6 as a supported target version - update to 0.3.0: * Adds typing * Drops support for Python<3.6 * Adds support for overriding `get_cache_key` in subclasses * Improves README.md and removes README.rst OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiodataloader?expand=0&rev=7 --- python-aiodataloader-0.2.1.tar.gz | 3 --- python-aiodataloader-0.4.0.tar.gz | 3 +++ python-aiodataloader.changes | 14 ++++++++++++++ python-aiodataloader.spec | 15 +++++++++------ 4 files changed, 26 insertions(+), 9 deletions(-) delete mode 100644 python-aiodataloader-0.2.1.tar.gz create mode 100644 python-aiodataloader-0.4.0.tar.gz diff --git a/python-aiodataloader-0.2.1.tar.gz b/python-aiodataloader-0.2.1.tar.gz deleted file mode 100644 index 556a836..0000000 --- a/python-aiodataloader-0.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d6051aab9ac38dd7d4df987567799d8135ffcd7a0b3a7d067dac28490583491e -size 13664 diff --git a/python-aiodataloader-0.4.0.tar.gz b/python-aiodataloader-0.4.0.tar.gz new file mode 100644 index 0000000..83d96ce --- /dev/null +++ b/python-aiodataloader-0.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:76c06e33979b7ba817c4f53e902d307e27a7ce1c888089164509c0778e4f0e14 +size 12691 diff --git a/python-aiodataloader.changes b/python-aiodataloader.changes index 499c005..f7273c0 100644 --- a/python-aiodataloader.changes +++ b/python-aiodataloader.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Fri Dec 1 09:57:04 UTC 2023 - Dirk Müller + +- update to 0.4.0: + * Fixed typo in `batch_load_fn` TypeError + * Removed `None` default value for `key` arg in + `DataLoader.load()` + * Removed Python 3.6 as a supported target version +- update to 0.3.0: + * Adds typing + * Drops support for Python<3.6 + * Adds support for overriding `get_cache_key` in subclasses + * Improves README.md and removes README.rst + ------------------------------------------------------------------- Thu Mar 10 09:05:34 UTC 2022 - pgajdos@suse.com diff --git a/python-aiodataloader.spec b/python-aiodataloader.spec index 39e59d5..4d790dd 100644 --- a/python-aiodataloader.spec +++ b/python-aiodataloader.spec @@ -1,7 +1,7 @@ # # spec file for package python-aiodataloader # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,9 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?sle15_python_module_pythons} Name: python-aiodataloader -Version: 0.2.1 +Version: 0.4.0 Release: 0 Summary: Asyncio DataLoader implementation for Python License: MIT @@ -26,12 +26,15 @@ URL: https://github.com/syrusakbary/aiodataloader Source: https://github.com/syrusakbary/aiodataloader/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz # pypi tarball has no tests #Source: https://files.pythonhosted.org/packages/source/a/aiodataloader/aiodataloader-%%{version}.tar.gz -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module hatchling} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros # SECTION tests BuildRequires: %{python_module pytest >= 3.6} BuildRequires: %{python_module pytest-asyncio} +BuildRequires: %{python_module typing-extensions} BuildArch: noarch %python_subpackages @@ -45,10 +48,10 @@ batching and caching. %setup -q -n aiodataloader-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check