From 6da0c647d5affc180aba3f65f5e62f96d8ca753c6bdb9ed5ac42fcd371557bef Mon Sep 17 00:00:00 2001 From: Nico Krapp Date: Thu, 13 Nov 2025 16:38:24 +0000 Subject: [PATCH] - Update to 0.13.0 * Modernized project metadata (#208) * Fixed references to old branch (#209) * Tested up to Python 3.14 (#208) * Drop support for Python 3.8 (#208) * Use modern type annotations, clean up lint (#219, #220, #221) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aioitertools?expand=0&rev=12 --- .gitattributes | 23 ++++++++++ .gitignore | 1 + aioitertools-0.12.0.tar.gz | 3 ++ aioitertools-0.13.0.tar.gz | 3 ++ python-aioitertools.changes | 85 +++++++++++++++++++++++++++++++++++++ python-aioitertools.spec | 61 ++++++++++++++++++++++++++ 6 files changed, 176 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 aioitertools-0.12.0.tar.gz create mode 100644 aioitertools-0.13.0.tar.gz create mode 100644 python-aioitertools.changes create mode 100644 python-aioitertools.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/aioitertools-0.12.0.tar.gz b/aioitertools-0.12.0.tar.gz new file mode 100644 index 0000000..5b90894 --- /dev/null +++ b/aioitertools-0.12.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:68adc7afe6f428f9b93a118cba3c5f844fb2677bf74b28295882242d51bccd24 +size 26993 diff --git a/aioitertools-0.13.0.tar.gz b/aioitertools-0.13.0.tar.gz new file mode 100644 index 0000000..63f27bf --- /dev/null +++ b/aioitertools-0.13.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:10ea8a96655a27783afd58985bf505c4d258c3b8eb0da51117ab11651e73581b +size 26782 diff --git a/python-aioitertools.changes b/python-aioitertools.changes new file mode 100644 index 0000000..7903560 --- /dev/null +++ b/python-aioitertools.changes @@ -0,0 +1,85 @@ +------------------------------------------------------------------- +Thu Nov 13 13:37:44 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 0.13.0 + * Modernized project metadata (#208) + * Fixed references to old branch (#209) + * Tested up to Python 3.14 (#208) + * Drop support for Python 3.8 (#208) + * Use modern type annotations, clean up lint (#219, #220, #221) + +------------------------------------------------------------------- +Mon Nov 4 13:09:07 UTC 2024 - John Paul Adrian Glaubitz + +- Update to 0.12.0: + * New: added `itertools.batched()` from Python 3.13 (#177) + * New: added `builtins.tuple()` (#152) + * Docs: fixed rendering of shell sections (#183) + * Python: added support for 3.12 and 3.13 (#154, #192) + * Python: dropped support for 3.6 and 3.7 (#154) + * Dev: updated gitignore and contributing guide (#176, #192) + * Dev: use `uv` for creating venv and installing deps when available (#192) +- Switch package to modern Python Stack on SLE-15 + * Use Python 3.11 on SLE-15 by default + * Drop support for older Python versions +- Switch upstream source tarball from PyPi to Github + +------------------------------------------------------------------- +Mon Oct 17 12:04:35 UTC 2022 - John Paul Adrian Glaubitz + +- Update to 0.11.0: + - New: `before_and_after` from `more_itertools` (#111) + - Removed: `loop` parameter is now removed from asyncio functions (#136) + - Docs: fixed docstring for `builtins.max` (#107) + - Docs: can now be built without installing package (#135) + - Python: Added support for Python 3.11 (#133) + - Python: Deprecated support for Python 3.6, to be removed in 0.12.0 +- from version 0.10.0: + - New `as_generated()` function for consuming multiple iterables (#99) +- from version 0.10.0b1: + - New `as_generated()` function for consuming multiple iterables (#99) +- from version 0.9.0: + - Python 3.10 support (#84, #97) + - Fixed: `as_completed()` will now cancel pending tasks when the timeout + threshold has been reached. + - Fixed: `zip()` will now gather all tasks correctly when exceptions are + raised, resulting in no pending tasks being unawaited. + - DEPRECATED: `loop` parameters to asyncio functions are ignored, and will + be removed entirely in v0.11.0. This is for 3.10 compatibility, as well + as to follow common practice and guidance around asyncio. +- Drop patches for issues fixed upstream + - aioitertools-remove-loop.patch +- Switch build system to pyproject.toml +- Update BuildRequires from pyproject.toml + +------------------------------------------------------------------- +Thu Jan 6 22:21:54 UTC 2022 - Ben Greiner + +- Add aioitertools-remove-loop.patch for python310 compatibility + gh#omnilib/aioitertools#84 + +------------------------------------------------------------------- +Tue Aug 17 10:11:54 UTC 2021 - John Paul Adrian Glaubitz + +- Update to 0.8.0: + - Added `builtins.any()` and `builtins.all()` (#44) + - `builtins.next()` takes an optional `default` parameter (#40, #41) + - `asyncio.gather()` now handles cancellation (#64) + - Better exception handling in `itertools.tee()` (#47) + - Removed dependency on typing_extensions for Python 3.8 and newer (#49) + - Improved documentation and formatting +- Drop patches for issues fixed upstream + - stdlib-typing_extensions.patch + +------------------------------------------------------------------- +Thu May 13 17:58:59 UTC 2021 - Matej Cepl + +- Update to 0.7.1: + - Fix groupby() not working with empty iterables (#39) +- Add stdlib-typing_extensions.patch making typing_extensions + package just an optional requirement (gh#omnilib/aioitertools#49). + +------------------------------------------------------------------- +Fri Jul 3 13:03:16 UTC 2020 - Marketa Calabkova + +- Initial packaging (v0.7.0) diff --git a/python-aioitertools.spec b/python-aioitertools.spec new file mode 100644 index 0000000..1d92758 --- /dev/null +++ b/python-aioitertools.spec @@ -0,0 +1,61 @@ +# +# spec file for package python-aioitertools +# +# Copyright (c) 2022 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + +%{?sle15_python_module_pythons} +Name: python-aioitertools +Version: 0.13.0 +Release: 0 +Summary: Itertools and builtins for AsyncIO and mixed iterables +License: MIT +Group: Development/Languages/Python +URL: https://aioitertools.omnilib.dev +Source: https://github.com/omnilib/aioitertools/archive/v%{version}.tar.gz#/aioitertools-%{version}.tar.gz +BuildRequires: %{python_module asyncio} +BuildRequires: %{python_module flit-core > 2} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module typing_extensions if %python-base < 3.10} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +%if 0%{?python_version_nodots} < 310 +Requires: python-typing_extensions >= 4.0 +%endif +BuildArch: noarch +%python_subpackages + +%description +Implementation of itertools, builtins, and more for AsyncIO and mixed-type iterables. + +%prep +%autosetup -p1 -n aioitertools-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pyunittest -v + +%files %{python_files} +%doc README.md CHANGELOG.md +%license LICENSE +%{python_sitelib}/aioitertools +%{python_sitelib}/aioitertools-%{version}*-info + +%changelog