15
0

- 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
This commit is contained in:
2023-12-01 09:57:28 +00:00
committed by Git OBS Bridge
parent a003911b91
commit 66a0247ef8
4 changed files with 26 additions and 9 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d6051aab9ac38dd7d4df987567799d8135ffcd7a0b3a7d067dac28490583491e
size 13664

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:76c06e33979b7ba817c4f53e902d307e27a7ce1c888089164509c0778e4f0e14
size 12691

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Fri Dec 1 09:57:04 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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

View File

@@ -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