Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-swifter for openSUSE:Factory checked in at 2021-02-09 21:17:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-swifter (Old) and /work/SRC/openSUSE:Factory/.python-swifter.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-swifter" Tue Feb 9 21:17:37 2021 rev:5 rq:870582 version:1.0.7 Changes: -------- --- /work/SRC/openSUSE:Factory/python-swifter/python-swifter.changes 2020-05-07 17:52:15.965494286 +0200 +++ /work/SRC/openSUSE:Factory/.python-swifter.new.28504/python-swifter.changes 2021-02-09 21:17:38.590868913 +0100 @@ -1,0 +2,54 @@ +Tue Feb 9 09:48:29 UTC 2021 - Ben Greiner <[email protected]> + +- Update to 1.0.7 + * Sample applies now suppress logging in addition to stdout and + stderr + * Allow new kwargs offset and origin for pandas df.resample +- Changes in 1.0.5 + * Added warnings/errors for swifter methods which do not exist + when using modin dataframes + * Updated Dask Dataframe dependencies to require a more recent + version + * Updated examples/speed benchmark notebooks +- Changes in 1.0.3 + * Fixed bug with string, axis=1 applies for pandas dataframes + that prevented swifter from leveraging modin for + parallelization when returning a series instead of a dataframe +- Changes in 1.0.2 + * Remove pickle5 hard dependency +- Changes in 1.0.1 + * Reduce resources consumed by swifter by only importing modin/ + ray when necessary. + * Added swifter.register_modin() function, which gives access to + modin.DataFrame.swifter.apply(...), but is only required if + modin is imported after swifter. If you import modin before + swifter, this is not necessary. +- Changes in 1.0.0 + * Two major enhancements are included in this release, both + involving the use of modin in swifter. Special thanks to Devin + Petersohn for the collaboration. + * Enable compatibility with modin dataframes. Compatibility not + only allows modin dataframes to work with + df.swifter.apply(...), but still attempts to vectorize the + operation which can lead to a performance boost. + Example: + import modin.pandas as pd + df = pd.DataFrame(...) + df.swifter.apply(...) + * Significantly speed up swifter axis=1 string applies by using + Modin, resolving a long-standing issue for swifter. + * Use Modin for axis=1 string applies, unless + allow_dask_on_strings(True) is set. If that flag is set, still + use Dask. + NOTE: this means that allow_dask_on_strings() is no longer + required to work with text data using swifter. +- Changes in 0.305 + * Remove Numba hard dependency, but still handle TypingErrors + when numba is installed + * Only call tqdm's progress_apply on transformations (e.g. + Resampler, Rolling) when tqdm has an implementation for that + object. +- Do not require modin and skip the tests involving it. + gh#jmcarpenter2/swifter#147 + +------------------------------------------------------------------- Old: ---- swifter-0.304.tar.gz New: ---- swifter-1.0.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-swifter.spec ++++++ --- /var/tmp/diff_new_pack.sE61zV/_old 2021-02-09 21:17:39.486869967 +0100 +++ /var/tmp/diff_new_pack.sE61zV/_new 2021-02-09 21:17:39.490869971 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-swifter # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-swifter -Version: 0.304 +Version: 1.0.7 Release: 0 Summary: Tool to speed up pandas calculations License: MIT @@ -29,21 +29,24 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-bleach >= 3.1.1 -Requires: python-dask-all >= 0.19.0 +Requires: python-dask-dataframe >= 2.10.0 Requires: python-ipywidgets >= 7.0.0 -Requires: python-numba >= 0.49.0 -Requires: python-pandas >= 0.23.0 -Requires: python-parso > 0.4.0 +Requires: python-pandas >= 1.0 Requires: python-psutil >= 5.6.6 Requires: python-tqdm >= 4.33.0 +# modin is not yet available. Upstream does not declare it as optional, but it is. gh#jmcarpenter2/swifter#147 +Recommends: python-modin >= 0.8.1.1 +# upstream declares parso and cloudpickle in install_requires (parso for security) but they are not used in the code. +Recommends: python-cloudpickle >= 0.2.2 +Recommends: python-parso > 0.4 BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module bleach >= 3.1.1} -BuildRequires: %{python_module dask-all >= 0.19.0} +BuildRequires: %{python_module dask-dataframe >= 2.10.0} BuildRequires: %{python_module ipywidgets >= 7.0.0} -BuildRequires: %{python_module numba >= 0.49.0} -BuildRequires: %{python_module pandas >= 0.23.0} -BuildRequires: %{python_module parso > 0.4.0} +# see above +#BuildRequires: %%{python_module modin-ray >= 0.8.1.1} +BuildRequires: %{python_module pandas >= 1.0} BuildRequires: %{python_module psutil >= 5.6.6} BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest} @@ -66,7 +69,14 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest -n auto swifter/swifter_tests.py +# we fail the speedtests on the build service machines. Disable that portion of the tests +sed -i 's/if self.ncores > 1: # speed test/if False: # no speed test/' swifter/swifter_tests.py +# optional modin[ray] (see comment above) not available +donttest+=" or (TestSetup and set_ray)" +donttest+=" or (TestPandasDataFrame and modin)" +donttest+=" or TestModinSeries" +donttest+=" or TestModinDataFrame" +%pytest -n auto swifter/swifter_tests.py -k "not (${donttest:4})" %files %{python_files} %doc README.md ++++++ swifter-0.304.tar.gz -> swifter-1.0.7.tar.gz ++++++ ++++ 5870 lines of diff (skipped)
