commit d48063394326f155a93eebb0a2d7b4762cb577d015ed1c9b2cada9e7810704fc Author: Dirk Mueller Date: Mon Oct 28 22:07:13 2024 +0000 - update to 1.0.0: * Test fixes for changes in recent upstream Python * Drop Python 3.7 * Test against Python 3.13 * Update docs OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-toolz?expand=0&rev=31 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/python-toolz.changes b/python-toolz.changes new file mode 100644 index 0000000..7dc0b6e --- /dev/null +++ b/python-toolz.changes @@ -0,0 +1,168 @@ +------------------------------------------------------------------- +Mon Oct 28 22:06:59 UTC 2024 - Dirk Müller + +- update to 1.0.0: + * Test fixes for changes in recent upstream Python + * Drop Python 3.7 + * Test against Python 3.13 + * Update docs + +------------------------------------------------------------------- +Wed Jun 12 07:27:01 UTC 2024 - Dirk Müller + +- switch to PEP517 build + +------------------------------------------------------------------- +Sun Apr 21 11:20:54 UTC 2024 - ecsos + +- Add %{?sle15_python_module_pythons} + +------------------------------------------------------------------- +Sat Mar 16 13:43:28 UTC 2024 - Dirk Müller + +- update to 0.12.1: + * Add support for Python 3.12 and PyPy 3.10 + * Drop support for Python 3.5 and 3.6 + * Fix typos + * Use codecov for coverage instead of coveralls + +------------------------------------------------------------------- +Tue Oct 11 16:02:42 UTC 2022 - Yogalakshmi Arunachalam + +- update to version 0.12.0 + * Add apply (#411) + * Support newer Python versions--up to Python 3.11-alpha (#525, #527, #533) + * Improve warning when using toolz.compatibility (#485) + * Improve documentation (#507, #524, #526, #530) + * Improve performance of merge_with (#532) + * Improve import times (#534) + * Auto-upload new releases to PyPI (#536, #537) + +------------------------------------------------------------------- +Thu Jan 6 15:06:13 UTC 2022 - Ben Greiner + +- update to 0.11.2 + * Support Python 3.10 + +------------------------------------------------------------------- +Mon Mar 8 22:48:28 UTC 2021 - Dirk Müller + +- update to 0.11.1: + * drop python 2.x + +------------------------------------------------------------------- +Mon Jul 22 12:35:27 UTC 2019 - Tomáš Chvátal + +- Update to 0.10.0: + * no upstream changelog + +------------------------------------------------------------------- +Mon Jun 3 13:18:07 UTC 2019 - Petr Gajdos + +- run the testsuite, run spec-cleaner + +------------------------------------------------------------------- +Tue Dec 4 12:55:23 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- +Thu May 3 06:19:45 UTC 2018 - toddrme2178@gmail.com + +- Update to 0.9.0 + * do not worry abount having good introspection on breakpoint + * Backport fix to a test from cytoolz. + * A slightly faster interposed. + * Don't import or reference `toolz.curried.exceptions`. + +------------------------------------------------------------------- +Sun Mar 11 08:41:40 UTC 2018 - sebix+novell.com@sebix.at + +- Use %license macro for license. + +------------------------------------------------------------------- +Sat Apr 15 11:55:43 UTC 2017 - toddrme2178@gmail.com + +- Update to 0.8.2 + * No upstream changelog +- Implement single-spec version + +------------------------------------------------------------------- +Mon Aug 31 11:55:39 UTC 2015 - toddrme2178@gmail.com + +- Update to 0.7.4 + * No upstream changelog + +------------------------------------------------------------------- +Wed May 20 14:00:56 UTC 2015 - toddrme2178@gmail.com + +- Update to 0.7.2 + * No upstream changelog + +------------------------------------------------------------------- +Tue Mar 3 18:00:39 UTC 2015 - toddrme2178@gmail.com + +- Update to 0.7.1 + * Test `nth` with negative index on sequence and iterator. + * Add itemmap, itemfilter to api doc. + * Add `itemmap` and `itemfilter` to `dicttoolz`. + * binstar: add more platforms/versions + * add tail to itertoolz.__all__ + * take, drop, tail refer to each other in docstrings + * test tail in lazy setting + * fix tail doctest + * last is a recipe of tail + * add tail operation + * pep8 space error fix + * Identity doc string + * add dissoc function to dictoolz + * Describe the ideal contribution + * reduceby takes callable init keyword argument + * Add pypy3 to build matrix + * getter works in empty index case + * simpler check on index in get + * get([], seq) returns () + +------------------------------------------------------------------- +Thu Sep 11 13:51:49 UTC 2014 - toddrme2178@gmail.com + +- Update to 0.7.0 + * No upstream changelog + +------------------------------------------------------------------- +Fri May 9 23:36:32 UTC 2014 - toddrme2178@gmail.com + +- Update to 0.6.0 + * memoize is curried by default + * memoize support `key` keyword argument + * Cleaned up issues in curried namespace + * Unary functions memoize with just the single argument, not a tuple + * Flattened directory structure + * Add `pluck` function from underscore.js + * Remove `sandbox.jackknife` +- 0.5.3 Changelog + * get_in function + * add itervalues, iterkeys, iteritems to compatibility + * Add do function, remove side_effects from sandbox + * Add juxt, partner to map + * Performance improvements to merge_with + * Errors from curried functions propagate upwards + * keyfilter, valfilter + * do + +------------------------------------------------------------------- +Sat Mar 29 12:59:19 UTC 2014 - toddrme2178@gmail.com + +- Update to version 0.5.3 + + No changelog available + +------------------------------------------------------------------- +Sun Nov 17 16:12:10 UTC 2013 - p.drouand@gmail.com + +- Update to version 0.4.1 + + No changelog available + +------------------------------------------------------------------- +Mon Oct 21 11:38:36 UTC 2013 - toddrme2178@gmail.com + +- Initial version (0.3.0) diff --git a/python-toolz.spec b/python-toolz.spec new file mode 100644 index 0000000..ae7319c --- /dev/null +++ b/python-toolz.spec @@ -0,0 +1,62 @@ +# +# spec file for package python-toolz +# +# Copyright (c) 2024 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-toolz +Version: 1.0.0 +Release: 0 +Summary: List processing tools and functional utilities for python +License: BSD-3-Clause +Group: Development/Languages/Python +URL: https://github.com/pytoolz/toolz/ +Source: https://files.pythonhosted.org/packages/source/t/toolz/toolz-%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module pytest} +# /SECTION +%python_subpackages + +%description +A set of python utility functions for iterators, functions, and dictionaries. + +%prep +%setup -q -n toolz-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest -k "not test_inspect_wrapped_property" + +%files %{python_files} +%doc README.rst +%license LICENSE.txt +%{python_sitelib}/toolz/ +%{python_sitelib}/tlz/ +%{python_sitelib}/toolz-%{version}.dist-info + +%changelog diff --git a/toolz-0.12.1.tar.gz b/toolz-0.12.1.tar.gz new file mode 100644 index 0000000..a189c7f --- /dev/null +++ b/toolz-0.12.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ecca342664893f177a13dac0e6b41cbd8ac25a358e5f215316d43e2100224f4d +size 66550 diff --git a/toolz-1.0.0.tar.gz b/toolz-1.0.0.tar.gz new file mode 100644 index 0000000..75c9615 --- /dev/null +++ b/toolz-1.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2c86e3d9a04798ac556793bced838816296a2f085017664e4995cb40a1047a02 +size 66790