commit python-awkward for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-awkward for openSUSE:Factory checked in at 2024-02-07 18:50:24 Comparing /work/SRC/openSUSE:Factory/python-awkward (Old) and /work/SRC/openSUSE:Factory/.python-awkward.new.1815 (New) Package is "python-awkward" Wed Feb 7 18:50:24 2024 rev:32 rq:1144833 version:2.6.1 Changes: --- /work/SRC/openSUSE:Factory/python-awkward/python-awkward.changes 2024-01-15 22:21:47.536496174 +0100 +++ /work/SRC/openSUSE:Factory/.python-awkward.new.1815/python-awkward.changes 2024-02-07 18:52:45.288118884 +0100 @@ -1,0 +2,31 @@ +Tue Feb 6 18:35:44 UTC 2024 - Daniel Garcia + +- Update to version 2.6.1: + The purpose of this release is to provide a lower-bound on the + fsspec dependency version (#3006). +- 2.6.0: + From this point onward, awkward strictly depends on fsspec. + * feat: turn on CUDA unit tests for working kernels and add some CUDA kernels +(gh#scikit-hep/awkward#2930) + * feat: add string builder +(gh#scikit-hep/awkward#2899) + * feat: add to_parquet_row_groups +(gh#scikit-hep/awkward#2979) + * feat!: array is no longer allowed on NumpyArray and EmptyArray +(gh#scikit-hep/awkward#2997) + * fix: include header-only files in sdist +(gh#scikit-hep/awkward#2909) + * fix: touching of unions +(gh#scikit-hep/awkward#2906) + * fix: lazily project union contents +(gh#scikit-hep/awkward#2913) + * fix: support typetracer in to_packed for IndexedOptionArray +(gh#scikit-hep/awkward#2912) + * fix: cartesian nested record +(gh#scikit-hep/awkward#2929) + * fix: cast bool_ to int8 for positional reducers +(gh#scikit-hep/awkward#2935) + * fix: ak.std and ak.var for axis != -1. +(gh#scikit-hep/awkward#2918) + +--- Old: awkward-2.5.2.tar.gz New: awkward-2.6.1.tar.gz Other differences: -- ++ python-awkward.spec ++ --- /var/tmp/diff_new_pack.RU78ww/_old 2024-02-07 18:52:45.740135313 +0100 +++ /var/tmp/diff_new_pack.RU78ww/_new 2024-02-07 18:52:45.744135459 +0100 @@ -19,7 +19,7 @@ %define awkward_cpp_version 28 %{?sle15_python_module_pythons} Name: python-awkward -Version:2.5.2 +Version:2.6.1 Release:0 Summary:Manipulate arrays of complex data structures as easily as Numpy License:BSD-3-Clause @@ -33,6 +33,7 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-awkward-cpp = %{awkward_cpp_version} +Requires: python-fsspec Requires: python-numpy >= 1.17.0 Requires: python-packaging Requires: (python-importlib-resources if python-base < 3.9) @@ -43,6 +44,7 @@ # SECTION test requirements BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module awkward-cpp = %{awkward_cpp_version}} +BuildRequires: %{python_module fsspec} BuildRequires: %{python_module importlib-resources if %python-base < 3.9} BuildRequires: %{python_module numba >= 0.50 if %python-base < 3.11} BuildRequires: %{python_module numexpr} ++ awkward-2.5.2.tar.gz -> awkward-2.6.1.tar.gz ++ 7979 lines of diff (skipped)
commit python-awkward for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-awkward for openSUSE:Factory checked in at 2024-01-15 22:21:17 Comparing /work/SRC/openSUSE:Factory/python-awkward (Old) and /work/SRC/openSUSE:Factory/.python-awkward.new.21961 (New) Package is "python-awkward" Mon Jan 15 22:21:17 2024 rev:31 rq:1138857 version:2.5.2 Changes: --- /work/SRC/openSUSE:Factory/python-awkward/python-awkward.changes 2023-12-17 21:34:52.071128227 +0100 +++ /work/SRC/openSUSE:Factory/.python-awkward.new.21961/python-awkward.changes 2024-01-15 22:21:47.536496174 +0100 @@ -1,0 +2,24 @@ +Mon Jan 15 10:10:38 UTC 2024 - Atri Bhattacharya + +- Update to version 2.5.2: + * feat: add some simpler cuda_kernels +(gh#scikit-hep/awkward#2880). + * feat: add recursive flag to Content.to_packed +(gh#scikit-hep/awkward#2933). + * feat: configure Julia version and required packages +(gh#scikit-hep/awkward#2896). + * fix: include header-only files in sdist +(gh#scikit-hep/awkward#2909). + * fix: touching of unions (gh#scikit-hep/awkward#2906). + * fix: lazily project union contents +(gh#scikit-hep/awkward#2913). + * fix: support typetracer in to_packed for IndexedOptionArray +(gh#scikit-hep/awkward#2912). + * fix: cartesian nested record (gh#scikit-hep/awkward#2929). + * fix: cast bool_ to int8 for positional reducers +(gh#scikit-hep/awkward#2935). + * fix: ak.std and ak.var for axis != -1. +(gh#scikit-hep/awkward#2918). +- Bump required version of awkward-cpp to 28. + +--- Old: awkward-2.5.1.tar.gz New: awkward-2.5.2.tar.gz Other differences: -- ++ python-awkward.spec ++ --- /var/tmp/diff_new_pack.Uh4hBf/_old 2024-01-15 22:21:48.976549097 +0100 +++ /var/tmp/diff_new_pack.Uh4hBf/_new 2024-01-15 22:21:48.992549686 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-awkward # -# Copyright (c) 2023 SUSE LLC +# 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 @@ -16,10 +16,10 @@ # -%define awkward_cpp_version 27 +%define awkward_cpp_version 28 %{?sle15_python_module_pythons} Name: python-awkward -Version:2.5.1 +Version:2.5.2 Release:0 Summary:Manipulate arrays of complex data structures as easily as Numpy License:BSD-3-Clause ++ awkward-2.5.1.tar.gz -> awkward-2.5.2.tar.gz ++ 135731 lines of diff (skipped)
commit python-awkward for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-awkward for openSUSE:Factory checked in at 2023-11-22 18:55:22 Comparing /work/SRC/openSUSE:Factory/python-awkward (Old) and /work/SRC/openSUSE:Factory/.python-awkward.new.25432 (New) Package is "python-awkward" Wed Nov 22 18:55:22 2023 rev:29 rq:1128142 version:2.4.5 Changes: --- /work/SRC/openSUSE:Factory/python-awkward/python-awkward.changes 2023-10-10 20:59:28.192275673 +0200 +++ /work/SRC/openSUSE:Factory/.python-awkward.new.25432/python-awkward.changes 2023-11-22 18:55:39.781897931 +0100 @@ -1,0 +2,5 @@ +Wed Nov 22 13:44:35 UTC 2023 - Daniel Garcia + +- Update required version for python-awkward-cpp to 26. + +--- Other differences: -- ++ python-awkward.spec ++ --- /var/tmp/diff_new_pack.Nuy7Pt/_old 2023-11-22 18:55:41.249951808 +0100 +++ /var/tmp/diff_new_pack.Nuy7Pt/_new 2023-11-22 18:55:41.261952248 +0100 @@ -16,7 +16,7 @@ # -%define awkward_cpp_version 24 +%define awkward_cpp_version 26 %{?sle15_python_module_pythons} Name: python-awkward Version:2.4.5
commit python-awkward for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-awkward for openSUSE:Factory checked in at 2023-10-10 20:59:09 Comparing /work/SRC/openSUSE:Factory/python-awkward (Old) and /work/SRC/openSUSE:Factory/.python-awkward.new.28202 (New) Package is "python-awkward" Tue Oct 10 20:59:09 2023 rev:28 rq:1116351 version:2.4.5 Changes: --- /work/SRC/openSUSE:Factory/python-awkward/python-awkward.changes 2023-09-20 13:29:03.642368340 +0200 +++ /work/SRC/openSUSE:Factory/.python-awkward.new.28202/python-awkward.changes 2023-10-10 20:59:28.192275673 +0200 @@ -1,0 +2,14 @@ +Sun Oct 8 01:12:07 UTC 2023 - Atri Bhattacharya + +- Update to version 2.4.5: + - feat: add recursive argument to expected_from_buffers +(gh#scikit-hep/awkward#2724). + - feat: infer unknown lengths from context in from_buffers +(gh#scikit-hep/awkward#2732). + - fix: don't use np.asarray on Index or Content objects +(gh#scikit-hep/awkward#2740). + - fix: swap names for __dlpack__ (gh#scikit-hep/awkward#2741). + - fix: __array__ accepts positional arguments +(gh#scikit-hep/awkward#2744). + +--- Old: awkward-2.4.2.tar.gz New: awkward-2.4.5.tar.gz Other differences: -- ++ python-awkward.spec ++ --- /var/tmp/diff_new_pack.dw11bU/_old 2023-10-10 20:59:29.412319916 +0200 +++ /var/tmp/diff_new_pack.dw11bU/_new 2023-10-10 20:59:29.416320061 +0200 @@ -16,10 +16,10 @@ # -%define awkward_cpp_version 23 +%define awkward_cpp_version 24 %{?sle15_python_module_pythons} Name: python-awkward -Version:2.4.2 +Version:2.4.5 Release:0 Summary:Manipulate arrays of complex data structures as easily as Numpy License:BSD-3-Clause ++ awkward-2.4.2.tar.gz -> awkward-2.4.5.tar.gz ++ 5771 lines of diff (skipped)
commit python-awkward for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-awkward for openSUSE:Factory checked in at 2023-09-20 13:27:09 Comparing /work/SRC/openSUSE:Factory/python-awkward (Old) and /work/SRC/openSUSE:Factory/.python-awkward.new.16627 (New) Package is "python-awkward" Wed Sep 20 13:27:09 2023 rev:27 rq:1112026 version:2.4.2 Changes: --- /work/SRC/openSUSE:Factory/python-awkward/python-awkward.changes 2023-09-12 21:03:22.257219083 +0200 +++ /work/SRC/openSUSE:Factory/.python-awkward.new.16627/python-awkward.changes 2023-09-20 13:29:03.642368340 +0200 @@ -1,0 +2,46 @@ +Sun Sep 17 15:20:45 UTC 2023 - Atri Bhattacharya + +- Update to version 2.4.2: + * fix: support placeholder arrays in +ArrayModuleNumpyLike.frombuffer (gh#scikit-hep/awkward#2693). + * fix: drop zero-cost views of ak.Array +(gh#scikit-hep/awkward#2697). +- Changes from version 2.4.1: + * Fix docs version selector +- Changes from version 2.4.0: + * New features: +- Form.expected_from_buffers for names/dtypes ak.from_buffers + needs (gh#scikit-hep/awkward#2660). +- support out-of-band buffers in pickling + (gh#scikit-hep/awkward#2665). +- add touch_data to ak.typetracer + (gh#scikit-hep/awkward#2672). +- add support for custom picklers + (gh#scikit-hep/awkward#2682). +- deprecate forget_length, add parameters to + typetracer_with_report (gh#scikit-hep/awkward#2671). +- remove deprecations for 1.4.0 release + (gh#scikit-hep/awkward#2688). + * Bug fixes: +- support placeholders in shape-only routines + (gh#scikit-hep/awkward#2652). +- multiple-output ufuncs e.g. divmod + (gh#scikit-hep/awkward#2654). +- support unflattening a typetracer-backed array at axis != 0 + (gh#scikit-hep/awkward#2657). +- fix IPython inspection (gh#scikit-hep/awkward#2658). +- using numba.core.errors.Numba instead of Error in a + Numba typing context. (gh#scikit-hep/awkward#2659). +- raise error for invalid object in from_dlpack + (gh#scikit-hep/awkward#2662). +- fix/harden broadcasting through tuples + (gh#scikit-hep/awkward#2663). +- update string to search for in determing parquet column list + separator (gh#scikit-hep/awkward#2670). +- guard broadcast_and_apply from mixed backends + (gh#scikit-hep/awkward#2678). +- support typetracer in ak.str. operations + (gh#scikit-hep/awkward#2679). +- Requires python-awkward-cpp = 23. + +--- Old: awkward-2.3.3.tar.gz New: awkward-2.4.2.tar.gz Other differences: -- ++ python-awkward.spec ++ --- /var/tmp/diff_new_pack.l278Z9/_old 2023-09-20 13:29:04.834411046 +0200 +++ /var/tmp/diff_new_pack.l278Z9/_new 2023-09-20 13:29:04.838411188 +0200 @@ -16,10 +16,10 @@ # -%define awkward_cpp_version 22 +%define awkward_cpp_version 23 %{?sle15_python_module_pythons} Name: python-awkward -Version:2.3.3 +Version:2.4.2 Release:0 Summary:Manipulate arrays of complex data structures as easily as Numpy License:BSD-3-Clause ++ awkward-2.3.3.tar.gz -> awkward-2.4.2.tar.gz ++ 9929 lines of diff (skipped)
commit python-awkward for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-awkward for openSUSE:Factory checked in at 2023-09-12 21:02:42 Comparing /work/SRC/openSUSE:Factory/python-awkward (Old) and /work/SRC/openSUSE:Factory/.python-awkward.new.1766 (New) Package is "python-awkward" Tue Sep 12 21:02:42 2023 rev:26 rq:1110380 version:2.3.3 Changes: --- /work/SRC/openSUSE:Factory/python-awkward/python-awkward.changes 2023-07-12 17:27:02.806387856 +0200 +++ /work/SRC/openSUSE:Factory/.python-awkward.new.1766/python-awkward.changes 2023-09-12 21:03:22.257219083 +0200 @@ -1,0 +2,13 @@ +Mon Sep 11 21:23:39 UTC 2023 - Dirk Müller + +- update to 2.3.3: + * feat: add support for expected termination of transform functions + * feat: export error classes + * feat: unpickle arrays made in Awkward v1 (as v2). + * feat: use pyarrow for string functions + * feat: add support for dictionary encoding from Arrow + * feat: add CPU kernel for to_numpy support for strings/bytestrings + * feat: add support for __arrow_array__ + * feat: add __dlpack__, from_dlpack support + +--- Old: awkward-2.3.1.tar.gz New: awkward-2.3.3.tar.gz Other differences: -- ++ python-awkward.spec ++ --- /var/tmp/diff_new_pack.8vngoZ/_old 2023-09-12 21:03:23.297256180 +0200 +++ /var/tmp/diff_new_pack.8vngoZ/_new 2023-09-12 21:03:23.297256180 +0200 @@ -16,10 +16,10 @@ # -%define awkward_cpp_version 21 +%define awkward_cpp_version 22 %{?sle15_python_module_pythons} Name: python-awkward -Version:2.3.1 +Version:2.3.3 Release:0 Summary:Manipulate arrays of complex data structures as easily as Numpy License:BSD-3-Clause @@ -77,13 +77,14 @@ %install %pyproject_install %{python_expand # remove devel files -rm -r %{buildroot}%{$python_sitelib}/awkward/_connect/header-only rm -r %{buildroot}%{$python_sitelib}/awkward/_connect/rdataframe/include %fdupes %{buildroot}%{$python_sitelib} } %check export PYTEST_DEBUG_TEMPROOT=$(mktemp -d -p ./) +# need to package cupy +rm -rvf ./tests-cuda-kernels %pytest -n auto --ignore tests-cuda/ %files %{python_files} ++ awkward-2.3.1.tar.gz -> awkward-2.3.3.tar.gz ++ 35530 lines of diff (skipped)
commit python-awkward for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-awkward for openSUSE:Factory checked in at 2023-07-12 17:26:47 Comparing /work/SRC/openSUSE:Factory/python-awkward (Old) and /work/SRC/openSUSE:Factory/.python-awkward.new.8922 (New) Package is "python-awkward" Wed Jul 12 17:26:47 2023 rev:25 rq:1098092 version:2.3.1 Changes: --- /work/SRC/openSUSE:Factory/python-awkward/python-awkward.changes 2023-07-03 17:42:24.656586297 +0200 +++ /work/SRC/openSUSE:Factory/.python-awkward.new.8922/python-awkward.changes 2023-07-12 17:27:02.806387856 +0200 @@ -1,0 +2,34 @@ +Mon Jul 10 18:30:18 UTC 2023 - Atri Bhattacharya + +- Update to version 2.3.1: + * Bug fix: Added kernel specializations for +awkward_ListOffsetArray_reduce_local_nextparents_64 +[gh#scikit-hep/awkward#2572]. +- Changes from version 2.3.0: + * New features: +- LayoutBuilder in Numba [gh#scikit-hep/awkward#2408]. +- Move string features into core [gh#scikit-hep/awkward#2547]. +- Add new __list__ parameter for list-based array types + [gh#scikit-hep/awkward#2549]. +- Deprecate string behavior classes + [gh#scikit-hep/awkward#2528]. +- Apply retroactive deprecations [gh#scikit-hep/awkward#2566]. + * Bug fixes and performance +- support dict-likes in form.from_dict, convert fields to list + [gh#scikit-hep/awkward#2548]. +- check validity error properly [gh#scikit-hep/awkward#2550]. +- string broadcasting [gh#scikit-hep/awkward#2552]. +- make C++ LayoutBuilder API consistent with the Numba's + [gh#scikit-hep/awkward#2553]. +- convert unknown-length to index in + ListOffsetArray.to_RegularArray + [gh#scikit-hep/awkward#2560]. +- prefer known to unknown lengths in broadcasting + [gh#scikit-hep/awkward#2561]. +- broadcasting of regular strings + [gh#scikit-hep/awkward#2564]. +- restore NEP-18 overloads for concatenate and where + [gh#scikit-hep/awkward#2567]. +- Require python-awkward-cpp >= 21, python >= 3.8 + +--- Old: awkward-2.2.4.tar.gz New: awkward-2.3.1.tar.gz Other differences: -- ++ python-awkward.spec ++ --- /var/tmp/diff_new_pack.nlL1Up/_old 2023-07-12 17:27:03.534392100 +0200 +++ /var/tmp/diff_new_pack.nlL1Up/_new 2023-07-12 17:27:03.538392123 +0200 @@ -16,17 +16,17 @@ # -%define awkward_cpp_version 18 +%define awkward_cpp_version 21 %{?sle15_python_module_pythons} Name: python-awkward -Version:2.2.4 +Version:2.3.1 Release:0 Summary:Manipulate arrays of complex data structures as easily as Numpy License:BSD-3-Clause URL:https://awkward-array.org/ # SourceRepository: https://github.com/scikit-hep/awkward Source0: https://files.pythonhosted.org/packages/source/a/awkward/awkward-%{version}.tar.gz -BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module hatch-fancy-pypi-readme} BuildRequires: %{python_module hatchling >= 1.10.0} BuildRequires: %{python_module pip} @@ -83,6 +83,7 @@ } %check +export PYTEST_DEBUG_TEMPROOT=$(mktemp -d -p ./) %pytest -n auto --ignore tests-cuda/ %files %{python_files} ++ awkward-2.2.4.tar.gz -> awkward-2.3.1.tar.gz ++ 10429 lines of diff (skipped)
commit python-awkward for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-awkward for openSUSE:Factory checked in at 2023-07-03 17:42:21 Comparing /work/SRC/openSUSE:Factory/python-awkward (Old) and /work/SRC/openSUSE:Factory/.python-awkward.new.13546 (New) Package is "python-awkward" Mon Jul 3 17:42:21 2023 rev:24 rq:1096327 version:2.2.4 Changes: --- /work/SRC/openSUSE:Factory/python-awkward/python-awkward.changes 2023-06-21 22:40:16.106518960 +0200 +++ /work/SRC/openSUSE:Factory/.python-awkward.new.13546/python-awkward.changes 2023-07-03 17:42:24.656586297 +0200 @@ -1,0 +2,10 @@ +Sat Jul 1 20:49:37 UTC 2023 - Dirk Müller + +- update to 2.2.4: + * feat!: canonicalise union of indexed + * feat: add array dispatcher (inline) + * fix: patch NDArrayOperatorsMixin + * fix: improve performance of Form.select_columns + * refactor: add internal with_operation_context + +--- Old: awkward-2.2.3.tar.gz New: awkward-2.2.4.tar.gz Other differences: -- ++ python-awkward.spec ++ --- /var/tmp/diff_new_pack.3HSmD1/_old 2023-07-03 17:42:25.412590748 +0200 +++ /var/tmp/diff_new_pack.3HSmD1/_new 2023-07-03 17:42:25.416590771 +0200 @@ -16,10 +16,10 @@ # -%define awkward_cpp_version 17 +%define awkward_cpp_version 18 %{?sle15_python_module_pythons} Name: python-awkward -Version:2.2.3 +Version:2.2.4 Release:0 Summary:Manipulate arrays of complex data structures as easily as Numpy License:BSD-3-Clause ++ awkward-2.2.3.tar.gz -> awkward-2.2.4.tar.gz ++ 7207 lines of diff (skipped)
commit python-awkward for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-awkward for openSUSE:Factory checked in at 2023-06-21 22:39:17 Comparing /work/SRC/openSUSE:Factory/python-awkward (Old) and /work/SRC/openSUSE:Factory/.python-awkward.new.15902 (New) Package is "python-awkward" Wed Jun 21 22:39:17 2023 rev:23 rq:1094142 version:2.2.3 Changes: --- /work/SRC/openSUSE:Factory/python-awkward/python-awkward.changes 2023-06-11 19:58:33.148343665 +0200 +++ /work/SRC/openSUSE:Factory/.python-awkward.new.15902/python-awkward.changes 2023-06-21 22:40:16.106518960 +0200 @@ -1,0 +2,11 @@ +Tue Jun 20 16:41:07 UTC 2023 - Dirk Müller + +- update to 2.2.3: + * feat!: deprecate to_NumpyForm's ``dtype` argument + * feat!: deprecate the time __unit__ parameter + * fix: don't project records during broadcasting; push index down + * fix: protect ak.to_parquet against memory explosion when args are swapped. + * fix: str of KeyError for <3.11 + * fix: support axis != -1 for record reduction + +--- Old: awkward-2.2.2.tar.gz New: awkward-2.2.3.tar.gz Other differences: -- ++ python-awkward.spec ++ --- /var/tmp/diff_new_pack.py76tX/_old 2023-06-21 22:40:16.730522715 +0200 +++ /var/tmp/diff_new_pack.py76tX/_new 2023-06-21 22:40:16.734522739 +0200 @@ -16,10 +16,10 @@ # -%define awkward_cpp_version 16 +%define awkward_cpp_version 17 %{?sle15_python_module_pythons} Name: python-awkward -Version:2.2.2 +Version:2.2.3 Release:0 Summary:Manipulate arrays of complex data structures as easily as Numpy License:BSD-3-Clause ++ awkward-2.2.2.tar.gz -> awkward-2.2.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/awkward-2.2.2/PKG-INFO new/awkward-2.2.3/PKG-INFO --- old/awkward-2.2.2/PKG-INFO 2023-06-05 20:34:57.0 +0200 +++ new/awkward-2.2.3/PKG-INFO 2023-06-15 17:47:29.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: awkward -Version: 2.2.2 +Version: 2.2.3 Summary: Manipulate JSON-like data with NumPy-like idioms. Project-URL: Bug Tracker, https://github.com/scikit-hep/awkward-1.0/issues Project-URL: Chat, https://gitter.im/Scikit-HEP/awkward-array @@ -36,7 +36,7 @@ Classifier: Topic :: Software Development Classifier: Topic :: Utilities Requires-Python: >=3.7 -Requires-Dist: awkward-cpp==16 +Requires-Dist: awkward-cpp==17 Requires-Dist: importlib-resources; python_version < '3.9' Requires-Dist: numpy>=1.17.0 Requires-Dist: packaging diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/awkward-2.2.2/pyproject.toml new/awkward-2.2.3/pyproject.toml --- old/awkward-2.2.2/pyproject.toml2023-06-05 20:34:57.0 +0200 +++ new/awkward-2.2.3/pyproject.toml2023-06-15 17:47:29.0 +0200 @@ -7,7 +7,7 @@ [project] name = "awkward" -version = "2.2.2" +version = "2.2.3" description = "Manipulate JSON-like data with NumPy-like idioms." license = { text = "BSD-3-Clause" } requires-python = ">=3.7" @@ -40,7 +40,7 @@ "Topic :: Utilities", ] dependencies = [ -"awkward_cpp==16", +"awkward_cpp==17", "importlib_resources;python_version < \"3.9\"", "numpy>=1.17.0", "packaging", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/awkward-2.2.2/src/awkward/_backends/backend.py new/awkward-2.2.3/src/awkward/_backends/backend.py --- old/awkward-2.2.2/src/awkward/_backends/backend.py 2023-06-05 20:34:57.0 +0200 +++ new/awkward-2.2.3/src/awkward/_backends/backend.py 2023-06-15 17:47:29.0 +0200 @@ -59,8 +59,6 @@ message = error.str.decode(errors="surrogateescape") -assert not error.pass_through - if error.attempt != ak._util.kSliceNone: message += f" while attempting to get index {error.attempt}" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/awkward-2.2.2/src/awkward/_broadcasting.py new/awkward-2.2.3/src/awkward/_broadcasting.py --- old/awkward-2.2.2/src/awkward/_broadcasting.py 2023-06-05 20:34:57.0 +0200 +++ new/awkward-2.2.3/src/awkward/_broadcasting.py 2023-06-15 17:47:29.0 +0200 @@ -934,7 +934,13 @@ ) def broadcast_any_indexed(): -nextinputs = [x.project() if isinstance(x, IndexedArray) else x for x in inputs] +# The `apply` function may exit at the level of a `RecordArray`. We can avoid projection +# of the record array in such cases, in favour of a deferred carry. This can be done by +#
commit python-awkward for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-awkward for openSUSE:Factory checked in at 2023-06-11 19:55:53 Comparing /work/SRC/openSUSE:Factory/python-awkward (Old) and /work/SRC/openSUSE:Factory/.python-awkward.new.15902 (New) Package is "python-awkward" Sun Jun 11 19:55:53 2023 rev:22 rq:1092133 version:2.2.2 Changes: --- /work/SRC/openSUSE:Factory/python-awkward/python-awkward.changes 2023-06-06 19:56:40.722622470 +0200 +++ /work/SRC/openSUSE:Factory/.python-awkward.new.15902/python-awkward.changes 2023-06-11 19:58:33.148343665 +0200 @@ -1,0 +2,10 @@ +Sun Jun 11 08:21:15 UTC 2023 - Dirk Müller + +- update to 2.2.2: + * drop string broadcasting overloading + * add Index._touch_XXX methods + * add ak.typetracer.length_one_if_typetracer + * add placeholder array + * bugfixes and other changes see https://github.com/scikit-hep/awkward/releases/tag/v2.2.2 + +--- Old: awkward-2.2.1.tar.gz New: awkward-2.2.2.tar.gz Other differences: -- ++ python-awkward.spec ++ --- /var/tmp/diff_new_pack.BmRIu0/_old 2023-06-11 19:58:33.692346946 +0200 +++ /var/tmp/diff_new_pack.BmRIu0/_new 2023-06-11 19:58:33.696346970 +0200 @@ -16,10 +16,10 @@ # -%define awkward_cpp_version 15 +%define awkward_cpp_version 16 %{?sle15_python_module_pythons} Name: python-awkward -Version:2.2.1 +Version:2.2.2 Release:0 Summary:Manipulate arrays of complex data structures as easily as Numpy License:BSD-3-Clause ++ awkward-2.2.1.tar.gz -> awkward-2.2.2.tar.gz ++ 9192 lines of diff (skipped)
commit python-awkward for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-awkward for openSUSE:Factory checked in at 2023-06-06 19:55:50 Comparing /work/SRC/openSUSE:Factory/python-awkward (Old) and /work/SRC/openSUSE:Factory/.python-awkward.new.15902 (New) Package is "python-awkward" Tue Jun 6 19:55:50 2023 rev:21 rq:1090965 version:2.2.1 Changes: --- /work/SRC/openSUSE:Factory/python-awkward/python-awkward.changes 2023-05-05 15:58:39.596557734 +0200 +++ /work/SRC/openSUSE:Factory/.python-awkward.new.15902/python-awkward.changes 2023-06-06 19:56:40.722622470 +0200 @@ -1,0 +2,24 @@ +Mon May 29 16:43:11 UTC 2023 - Dirk Müller + +- update to 2.2.1: + * feat: add validity error for duplicate record field + * feat: add empty_if_typetracer & expose more of typetracer to L2 + * feat!: remove use of typestr in ak.types.Type + * feat: improve performance of behavior lookups + * feat: support record reducer overloads + * fix: ak.to_numpy does not properly convert lists of empty string + * fix: handle indexed nodes in ak.almost_equal + * feat: canonicalise union[?X, Y] into union[?X, ?Y] + * feat: add ak.forms.from_type + * feat: add ak.enforce_type + * feat!: deprecate length_zero_array highlevel argument + * Bug-fixes and performance + * fix: avoid reference cycles with the error-handling machinery + * fix: proper unknown size broadcasting for all-regular + +--- +Sat May 27 20:59:09 UTC 2023 - Dirk Müller + +- add sle15_python_module_pythons + +--- Old: awkward-2.1.4.tar.gz New: awkward-2.2.1.tar.gz Other differences: -- ++ python-awkward.spec ++ --- /var/tmp/diff_new_pack.wtSuhS/_old 2023-06-06 19:56:41.478626953 +0200 +++ /var/tmp/diff_new_pack.wtSuhS/_new 2023-06-06 19:56:41.482626975 +0200 @@ -17,8 +17,9 @@ %define awkward_cpp_version 15 +%{?sle15_python_module_pythons} Name: python-awkward -Version:2.1.4 +Version:2.2.1 Release:0 Summary:Manipulate arrays of complex data structures as easily as Numpy License:BSD-3-Clause ++ awkward-2.1.4.tar.gz -> awkward-2.2.1.tar.gz ++ 10433 lines of diff (skipped)
commit python-awkward for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-awkward for openSUSE:Factory checked in at 2023-05-05 15:58:15 Comparing /work/SRC/openSUSE:Factory/python-awkward (Old) and /work/SRC/openSUSE:Factory/.python-awkward.new.1533 (New) Package is "python-awkward" Fri May 5 15:58:15 2023 rev:20 rq:1084866 version:2.1.4 Changes: --- /work/SRC/openSUSE:Factory/python-awkward/python-awkward.changes 2023-05-02 16:24:04.987609593 +0200 +++ /work/SRC/openSUSE:Factory/.python-awkward.new.1533/python-awkward.changes 2023-05-05 15:58:39.596557734 +0200 @@ -1,0 +2,5 @@ +Thu May 4 16:29:51 UTC 2023 - Atri Bhattacharya + +- Update required version for python-awkward-cpp to 15. + +--- Other differences: -- ++ python-awkward.spec ++ --- /var/tmp/diff_new_pack.sWKZK1/_old 2023-05-05 15:58:40.140560851 +0200 +++ /var/tmp/diff_new_pack.sWKZK1/_new 2023-05-05 15:58:40.152560919 +0200 @@ -16,7 +16,7 @@ # -%define awkward_cpp_version 8 +%define awkward_cpp_version 15 Name: python-awkward Version:2.1.4 Release:0
commit python-awkward for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-awkward for openSUSE:Factory checked in at 2023-05-02 16:19:21 Comparing /work/SRC/openSUSE:Factory/python-awkward (Old) and /work/SRC/openSUSE:Factory/.python-awkward.new.1533 (New) Package is "python-awkward" Tue May 2 16:19:21 2023 rev:19 rq:1083964 version:2.1.4 Changes: --- /work/SRC/openSUSE:Factory/python-awkward/python-awkward.changes 2023-04-24 22:31:18.503544572 +0200 +++ /work/SRC/openSUSE:Factory/.python-awkward.new.1533/python-awkward.changes 2023-05-02 16:24:04.987609593 +0200 @@ -1,0 +2,30 @@ +Fri Apr 28 06:48:19 UTC 2023 - Atri Bhattacharya + +- Update to version 2.1.4: + * feat: raise error for out-of-bounds axis in ak.cartesian +(gh#scikit-hep/awkward#2411). + * feat: make ak.numba.GrowableBuffer visible +(gh#scikit-hep/awkward#2403). + * fix: unify C++ and Python GrowableBuffer::extend algorithm +(gh#scikit-hep/awkward#2396). + * fix: return empty list if broadcasting no arrays +(gh#scikit-hep/awkward#2407). + * fix: only convert NEP18 arguments to layouts if required +(gh#scikit-hep/awkward#2409). + * fix: partially fix string broadcasting +(gh#scikit-hep/awkward#2410). + * fix: correctly convert unknown scalar from kernel to a length +(gh#scikit-hep/awkward#2417). + * fix: support unknown lengths when broadcasting unions +(gh#scikit-hep/awkward#2418). + * fix: consistently set a resize default value to 8 - that is +passed to GrowableBuffer (gh#scikit-hep/awkward#2421). + * fix: is_equal_to bug in UnionArray +(gh#scikit-hep/awkward#2426). + * fix: handle reordered contents in ak.almost_equal +(gh#scikit-hep/awkward#2424). + * fix: typetracer nplike.repeat & ak.with_field +(gh#scikit-hep/awkward#2429). + * refactor: add custom axis error (gh#scikit-hep/awkward#2412). + +--- Old: awkward-2.1.3.tar.gz New: awkward-2.1.4.tar.gz Other differences: -- ++ python-awkward.spec ++ --- /var/tmp/diff_new_pack.fVG3Lw/_old 2023-05-02 16:24:05.415612131 +0200 +++ /var/tmp/diff_new_pack.fVG3Lw/_new 2023-05-02 16:24:05.419612155 +0200 @@ -18,7 +18,7 @@ %define awkward_cpp_version 8 Name: python-awkward -Version:2.1.3 +Version:2.1.4 Release:0 Summary:Manipulate arrays of complex data structures as easily as Numpy License:BSD-3-Clause ++ awkward-2.1.3.tar.gz -> awkward-2.1.4.tar.gz ++ 2015 lines of diff (skipped)
commit python-awkward for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-awkward for openSUSE:Factory checked in at 2023-04-24 22:31:09 Comparing /work/SRC/openSUSE:Factory/python-awkward (Old) and /work/SRC/openSUSE:Factory/.python-awkward.new.1533 (New) Package is "python-awkward" Mon Apr 24 22:31:09 2023 rev:18 rq:1082324 version:2.1.3 Changes: --- /work/SRC/openSUSE:Factory/python-awkward/python-awkward.changes 2023-03-15 18:54:54.304510224 +0100 +++ /work/SRC/openSUSE:Factory/.python-awkward.new.1533/python-awkward.changes 2023-04-24 22:31:18.503544572 +0200 @@ -1,0 +2,40 @@ +Sun Apr 23 20:26:58 UTC 2023 - Dirk Müller + +- update to 2.1.3: + * fix: support empty records in ak.with_field by @agoose77 in #2387 + * fix: only format exception for primary context + * fix: only touch data in nplike.asarray if copy is required + * fix: update GrowableBuffer::move_to algorithm + * fix: don't touch for ascontiguousarray + * feat: use cppyy for JIT + * feat!: rename cpptype + * feat: implemented GrowableBuffer in Numba as a start toward LayoutBuilder + * feat: add to_backend to ak.record.Record + * feat: add type equality is_equal_to member + * fix: expose array interface for CUDA + * fix: test untested path in ak.cartesian & broadcasting + * fix: ak.cartesian for typetracer + * fix: Numba string reference count memory leak. + * fix: generate an array view when an Array C++ type is requested + * fix: do not expose an rdfentry_ column + * fix: generate RDataSource API based on ROOT attribute + * fix: simplify depth limit test to support bigger-than-depth values + * fix: use cppyy include + * fix: convert ufunc arguments to same backend + * fix: support N-d sequences in TypeTracer.asarray + * fix: make from_iter require iterables! + * fix: avoid stack overflow with std::unique_ptr linked list + * fix: ak.unzip visits all contents + * fix: remove spurious typetracer conversion + * feat: add support for arrays in from_buffers + * feat: validate axis in L1 + * feat: add examples to header-only module + * fix: support typetracer in ak.unflatten + * fix: view for unknown scalar + * fix: common backend in functions accepting multiple arrays + * fix: support unknown scalars in __getitem__ + * fix: fail early if index is too dimensional + * fix: uneccessary use of nplike_of + * fix: jupyterlite dependency changes + +--- Old: awkward-2.1.0.tar.gz New: awkward-2.1.3.tar.gz Other differences: -- ++ python-awkward.spec ++ --- /var/tmp/diff_new_pack.X8Bijo/_old 2023-04-24 22:31:19.219548828 +0200 +++ /var/tmp/diff_new_pack.X8Bijo/_new 2023-04-24 22:31:19.223548852 +0200 @@ -18,7 +18,7 @@ %define awkward_cpp_version 8 Name: python-awkward -Version:2.1.0 +Version:2.1.3 Release:0 Summary:Manipulate arrays of complex data structures as easily as Numpy License:BSD-3-Clause ++ awkward-2.1.0.tar.gz -> awkward-2.1.3.tar.gz ++ 22340 lines of diff (skipped)
commit python-awkward for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-awkward for openSUSE:Factory checked in at 2023-03-15 18:54:41 Comparing /work/SRC/openSUSE:Factory/python-awkward (Old) and /work/SRC/openSUSE:Factory/.python-awkward.new.31432 (New) Package is "python-awkward" Wed Mar 15 18:54:41 2023 rev:17 rq:1071882 version:2.1.0 Changes: --- /work/SRC/openSUSE:Factory/python-awkward/python-awkward.changes 2023-03-07 16:51:26.625935217 +0100 +++ /work/SRC/openSUSE:Factory/.python-awkward.new.31432/python-awkward.changes 2023-03-15 18:54:54.304510224 +0100 @@ -1,0 +2,6 @@ +Tue Mar 14 22:34:10 UTC 2023 - Dirk Müller + +- update to 2.1.0: + * bump numpy to 1.17.0 + +--- Old: awkward-2.0.9.tar.gz New: awkward-2.1.0.tar.gz Other differences: -- ++ python-awkward.spec ++ --- /var/tmp/diff_new_pack.lyPN7x/_old 2023-03-15 18:54:54.824512990 +0100 +++ /var/tmp/diff_new_pack.lyPN7x/_new 2023-03-15 18:54:54.828513012 +0100 @@ -18,7 +18,7 @@ %define awkward_cpp_version 8 Name: python-awkward -Version:2.0.9 +Version:2.1.0 Release:0 Summary:Manipulate arrays of complex data structures as easily as Numpy License:BSD-3-Clause @@ -32,7 +32,7 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-awkward-cpp = %{awkward_cpp_version} -Requires: python-numpy >= 1.14.5 +Requires: python-numpy >= 1.17.0 Requires: python-packaging Requires: (python-importlib-resources if python-base < 3.9) Requires: (python-typing-extensions >= 4.1.0 if python-base < 3.11) @@ -45,7 +45,7 @@ BuildRequires: %{python_module importlib-resources if %python-base < 3.9} BuildRequires: %{python_module numba >= 0.50 if %python-base < 3.11} BuildRequires: %{python_module numexpr} -BuildRequires: %{python_module numpy >= 1.14.5} +BuildRequires: %{python_module numpy >= 1.17.0} BuildRequires: %{python_module packaging} BuildRequires: %{python_module pandas} BuildRequires: %{python_module pytest-xdist} ++ awkward-2.0.9.tar.gz -> awkward-2.1.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/awkward-2.0.9/PKG-INFO new/awkward-2.1.0/PKG-INFO --- old/awkward-2.0.9/PKG-INFO 2023-03-01 16:02:45.0 +0100 +++ new/awkward-2.1.0/PKG-INFO 2023-03-07 20:33:13.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: awkward -Version: 2.0.9 +Version: 2.1.0 Summary: Manipulate JSON-like data with NumPy-like idioms. Project-URL: Bug Tracker, https://github.com/scikit-hep/awkward-1.0/issues Project-URL: Chat, https://gitter.im/Scikit-HEP/awkward-array @@ -36,9 +36,9 @@ Classifier: Topic :: Software Development Classifier: Topic :: Utilities Requires-Python: >=3.7 -Requires-Dist: awkward-cpp==10 +Requires-Dist: awkward-cpp==12 Requires-Dist: importlib-resources; python_version < '3.9' -Requires-Dist: numpy>=1.14.5 +Requires-Dist: numpy>=1.17.0 Requires-Dist: packaging Requires-Dist: typing-extensions>=4.1.0; python_version < '3.11' Description-Content-Type: text/markdown diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/awkward-2.0.9/docs/user-guide/how-to-use-header-only-layoutbuilder.md new/awkward-2.1.0/docs/user-guide/how-to-use-header-only-layoutbuilder.md --- old/awkward-2.0.9/docs/user-guide/how-to-use-header-only-layoutbuilder.md 2023-03-01 16:02:45.0 +0100 +++ new/awkward-2.1.0/docs/user-guide/how-to-use-header-only-layoutbuilder.md 2023-03-07 20:33:13.0 +0100 @@ -17,7 +17,8 @@ ```{code-cell} :tags: [hide-cell] -// Make Awkward headers available in this notebook +// Make Awkward headers available in this notebook, because we know these headers are available from the Python sources +// Don't refer to the Git repo location, because they do not exist in sdist #pragma cling add_include_path("../../src/awkward/_connect/header-only") ``` @@ -47,22 +48,27 @@ 2. GrowableBuffer.h 3. LayoutBuilder.h 4. utils.h + +If you are using the CMake project generator, then the `awkward-headers` library can be installed using `FetchContent` for a particular version: +```cmake +include(FetchContent) -It is recommended to download these headers from the [release artifacts on GitHub](https://github.com/scikit-hep/awkward/releases) +set(AWKWARD_VERSION "v2.1.0") -Awkward Array can be installed from PyPI using pip: - -```shell -pip install awkward +FetchContent_Declare( + awkward-headers + URL https://github.com/scikit-hep/awkward/releases/download/${AWKWARD_VERSION}/header-only.zip +)
commit python-awkward for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-awkward for openSUSE:Factory checked in at 2023-03-07 16:51:05 Comparing /work/SRC/openSUSE:Factory/python-awkward (Old) and /work/SRC/openSUSE:Factory/.python-awkward.new.31432 (New) Package is "python-awkward" Tue Mar 7 16:51:05 2023 rev:16 rq:1069926 version:2.0.9 Changes: --- /work/SRC/openSUSE:Factory/python-awkward/python-awkward.changes 2023-03-01 16:15:23.179013780 +0100 +++ /work/SRC/openSUSE:Factory/.python-awkward.new.31432/python-awkward.changes 2023-03-07 16:51:26.625935217 +0100 @@ -1,0 +2,16 @@ +Tue Mar 7 12:25:58 UTC 2023 - Dirk Müller + +- update to 2.0.9: + * feat: keep column order after filtering flag + * feat: Awkward Arrays in Numba's CUDA target + * feat: add 'highlevel' and 'behavior' arguments to +'ak.from_rdataframe' function + * fix: set dtype in full_like + * fix: use simplified in ak._do.merge_as_union + * fix: support unknown content length in to_packed + * fix: run-lengths with typetracer + * fix: add trivial nan_to_num impl + * fix: add ak.broadcast_fields + * fix: keep column order in all tests + +--- Old: awkward-2.0.8.tar.gz New: awkward-2.0.9.tar.gz Other differences: -- ++ python-awkward.spec ++ --- /var/tmp/diff_new_pack.7hnF2i/_old 2023-03-07 16:51:27.237938444 +0100 +++ /var/tmp/diff_new_pack.7hnF2i/_new 2023-03-07 16:51:27.241938465 +0100 @@ -18,7 +18,7 @@ %define awkward_cpp_version 8 Name: python-awkward -Version:2.0.8 +Version:2.0.9 Release:0 Summary:Manipulate arrays of complex data structures as easily as Numpy License:BSD-3-Clause ++ awkward-2.0.8.tar.gz -> awkward-2.0.9.tar.gz ++ 7903 lines of diff (skipped)
commit python-awkward for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-awkward for openSUSE:Factory checked in at 2023-03-01 16:14:57 Comparing /work/SRC/openSUSE:Factory/python-awkward (Old) and /work/SRC/openSUSE:Factory/.python-awkward.new.31432 (New) Package is "python-awkward" Wed Mar 1 16:14:57 2023 rev:15 rq:1068476 version:2.0.8 Changes: --- /work/SRC/openSUSE:Factory/python-awkward/python-awkward.changes 2023-02-17 16:45:49.367138954 +0100 +++ /work/SRC/openSUSE:Factory/.python-awkward.new.31432/python-awkward.changes 2023-03-01 16:15:23.179013780 +0100 @@ -1,0 +2,29 @@ +Wed Mar 1 14:04:21 UTC 2023 - Dirk Müller + +- update to 2.0.8: + * allow awkward type arrays filtering based on rdfentry + * feat!: re-introduce unknown-length + * fix: keep EmptyArray in remove_structure + * fix: add is_c_contiguous method to Cupy + * fix: boolean indexing with non-zero starting offsets + * fix: add license to _backends + * fix: use of size in to_RegularArray + * fix: indexing into RegularArray with typetracer + * fix: support length-zero outer arrays in almost_equal + * fix: support options in ak.merge_union_of_records + * fix: don't merge non-union parameters + * fix: boolean slicing with non-packed arrays + * refactor: add type hints for Content._getitem_XXX + * refactor: drop NumpyLike.known_shape + * refactor: change Content._getitem_range to use explicit indices + * docs: fix example for merge_union_of_records + * docs: add 1.10 legacy docs to switcher.json + * docs: reintroduce Content documentation from v1 reST files. + * docs: add how-to-examine-type.md + * docs: improve ragged indexing docs + * chore: include cuda kernel tests in sdist + * chore(deps): bump amannn/action-semantic-pull-request +from 5.0.2 to 5.1.0 + * chore: update pre-commit hooks + +--- Old: awkward-2.0.7.tar.gz New: awkward-2.0.8.tar.gz Other differences: -- ++ python-awkward.spec ++ --- /var/tmp/diff_new_pack.k8XaPw/_old 2023-03-01 16:15:23.775016863 +0100 +++ /var/tmp/diff_new_pack.k8XaPw/_new 2023-03-01 16:15:23.779016883 +0100 @@ -18,7 +18,7 @@ %define awkward_cpp_version 8 Name: python-awkward -Version:2.0.7 +Version:2.0.8 Release:0 Summary:Manipulate arrays of complex data structures as easily as Numpy License:BSD-3-Clause ++ awkward-2.0.7.tar.gz -> awkward-2.0.8.tar.gz ++ 14935 lines of diff (skipped)
commit python-awkward for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-awkward for openSUSE:Factory checked in at 2023-02-17 16:45:30 Comparing /work/SRC/openSUSE:Factory/python-awkward (Old) and /work/SRC/openSUSE:Factory/.python-awkward.new.22824 (New) Package is "python-awkward" Fri Feb 17 16:45:30 2023 rev:14 rq:1066313 version:2.0.7 Changes: --- /work/SRC/openSUSE:Factory/python-awkward/python-awkward.changes 2023-01-28 19:00:24.291749337 +0100 +++ /work/SRC/openSUSE:Factory/.python-awkward.new.22824/python-awkward.changes 2023-02-17 16:45:49.367138954 +0100 @@ -1,0 +2,36 @@ +Mon Feb 13 02:01:38 UTC 2023 - Steve Kowalik + +- awkward 2.0.7 actually requires awkward-cpp 8. + +--- +Fri Feb 10 12:33:42 UTC 2023 - Dirk Müller + +- update to 2.0.7 + * feat: add ability to forget length of typetracer created with +typetracer_from_report + * feat: start hardening nplike signatures + * feat: implement all ufuncs on TypeTracer. + * feat: use None for unknown lengths (1 of 2) + * feat: coerce backends to same zero-copy type (2 of 2) + * feat: growable buffer move_to method + * feat: add ak.merge_union_of_records + * feat: add support for histogram module + * feat: add ak.approx_equal + * fix: re-order cases to handle NumPy scalar types properly + * fix: specify dtype for buffers in from_rdataframe. + * fix: unify typestr with _repr + * fix: update type_to_name for Layout builder cxx_14 target + * fix: Layout builders clean and length bug fixes + * fix: support mask_identity=True for axis=None in ptp, std, etc. + * fix: preserve dimensions for keepdims=True, axis=None +reductions + * fix: some usages of len(layout) under typetracer + * fix: rdataframe memory check + * fix: rework parameter merging rules + * fix: don't raise NotImplementedError when reading empty array +from Parquet + * fix: ignore object arrays + * fix: ak.values_astype now turns 'unknown' type into the +requested type. + +--- Old: awkward-2.0.6.tar.gz New: awkward-2.0.7.tar.gz Other differences: -- ++ python-awkward.spec ++ --- /var/tmp/diff_new_pack.umXC78/_old 2023-02-17 16:45:50.139143301 +0100 +++ /var/tmp/diff_new_pack.umXC78/_new 2023-02-17 16:45:50.143143323 +0100 @@ -16,9 +16,9 @@ # -%define awkward_cpp_version 7 +%define awkward_cpp_version 8 Name: python-awkward -Version:2.0.6 +Version:2.0.7 Release:0 Summary:Manipulate arrays of complex data structures as easily as Numpy License:BSD-3-Clause ++ awkward-2.0.6.tar.gz -> awkward-2.0.7.tar.gz ++ 24376 lines of diff (skipped)
commit python-awkward for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-awkward for openSUSE:Factory checked in at 2023-01-28 18:44:19 Comparing /work/SRC/openSUSE:Factory/python-awkward (Old) and /work/SRC/openSUSE:Factory/.python-awkward.new.32243 (New) Package is "python-awkward" Sat Jan 28 18:44:19 2023 rev:13 rq:1061725 version:2.0.6 Changes: --- /work/SRC/openSUSE:Factory/python-awkward/python-awkward.changes 2022-11-12 17:41:01.054113846 +0100 +++ /work/SRC/openSUSE:Factory/.python-awkward.new.32243/python-awkward.changes 2023-01-28 19:00:24.291749337 +0100 @@ -1,0 +2,173 @@ +Fri Jan 27 21:34:45 UTC 2023 - Ben Greiner + +- Update to 2.0.6 + * feat: expose typetracer in public backend API by @agoose77 in #2066 + * feat: add byteorder argument to to_buffers by @agoose77 in #2095 + * feat: add exception for missing field by @agoose77 in #2120 +- Release 2.0.3 and 2.0.4 + * The flatten_records argument of all reducers (ak.all, ak.any, + ..., ak.var) has effectively been removed: setting it now raises + an error (PR #2020). This argument applies a reducer to all + contents of a record, merging fields, and it had to be removed + to properly implement axis=None. The old default, + flatten_records=False, is now the only behavior, and to get the + equivalent of flatten_records=True, you can use ak.ravel: +ak.sum(array, flatten_records=True) + becomes + ak.sum(ak.ravel(array)) + * Removing the feature is still the right thing to do, but the +function argument needs to go through a deprecation cycle, +since libraries like dask-awkward pass arguments through to +Awkward. Removing flatten_records as an argument introduces an +error, even if the surviving case of flatten_records=False is +desired. +- Release 2.0.2 + * feat: add ak.drop_none() by @ioanaif in #1904 +- Release 2.0.1 + * feat: add ak.without_field by @agoose77 in #1963 +- Release 2.0.0 + * The Awkward Array version 2 project started in June of 2021 and +has been developed alongside version 1 updates. For most of +that time, it was available as a submodule, awkward._v2, so +that it could be tested with the same tests as version 1 and +could be experimented upon by early adopters. + * Despite the long list of PRs, the high-level interface changes +from version 1 to version 2 were kept at a minimum. For the +most part, the Awkward 1.x API is fine, but the internal +implementation needed an overhaul to prevent technical debt. + ## Summary of changes + * Nearly all of the code is written in Python now. Exceptions are +the "kernel" functions, GrowableBuffer, LayoutBuilder, +ArrayBuilder, AwkwardForth, and dynamically generated C++ code +for RDataFrame. + * Maintains performance because any algorithms that scale with +the size of an array are implemented in compiled "kernel" +functions. + * Split into two packages: awkward-cpp for the C++ part +(infrequently updated, binary distribution for most platforms +and Python versions) and awkward, the Python part (frequently +updated). + * Virtual arrays and Partitions (collectively, "lazy arrays") +have been removed in favor of dask-awkward. + * Awkward Arrays can be converted to and from RDataFrame, +generating C++ for ROOT to JIT-compile so that iteration over +Awkward Array input is fast (adapted from the Numba +implementation). + * Auto-differentiation of functions on Awkward Arrays using JAX. +(But not JAX JIT-compilation.) + * Suite of header-only C++ that does not depend on Awkward +Arrays, but can be used to produce them and quickly get them +from C++ to Python. The header-only suite includes +GrowableBuffer and LayoutBuilder. + * New documentation website (https://awkward-array.org/), based +on JupyterBooks, the NumPy/SciPy/Pandas style and organization, +as well as a notebook that can be executed in your web browser. + * More expressive error-messages, highlighting the ak.* function +that was in progress when the error occurred, with its +arguments. (That is, highlighting ak.* functions as the +granularity of feedback to users of Awkward Array, rather than +making you search through the stack trace to the hand-off from +your code to ours.) + * Brackets are always balanced in the console representation of +an array: + +>>> ak.Array([ +... [{"x": 1.1, "y": [1]}, {"x": 2.2, "y": [1, 2]}], +... [], +... [{"x": 3.3, "y": [1, 2, 3]}], +... ]) + + +as opposed to + + + +in version 1. Also, show methods for values + +[[{x: 1.1, y: [1]}, {x: 2.2, y: [1, 2]}], + [], + [{x: 3.3, y: [1, 2, 3]}]] + +and
commit python-awkward for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-awkward for openSUSE:Factory checked in at 2022-11-12 17:40:48 Comparing /work/SRC/openSUSE:Factory/python-awkward (Old) and /work/SRC/openSUSE:Factory/.python-awkward.new.1597 (New) Package is "python-awkward" Sat Nov 12 17:40:48 2022 rev:12 rq:1035176 version:1.10.2 Changes: --- /work/SRC/openSUSE:Factory/python-awkward/python-awkward.changes 2022-11-04 17:41:39.310907429 +0100 +++ /work/SRC/openSUSE:Factory/.python-awkward.new.1597/python-awkward.changes 2022-11-12 17:41:01.054113846 +0100 @@ -1,0 +2,29 @@ +Fri Nov 11 08:52:09 UTC 2022 - Daniel Garcia + +- Rvert the devel package requirement, python-awkward is not provided by any of + subpackages, the real package provided is python3-awkward. + +--- +Thu Nov 10 09:04:56 UTC 2022 - Daniel Garcia + +- Remove not needed tests filter +- Improve devel package requirement to use the package name variable instead of + python3-awkward +- Update to 1.10.2: + # New features + * feat: add RegularArray._reduce_next implementation (backport) by @agoose77 + in #1813 + + # Bug-fixes and performance + * fix: don't assume trailing . for module name in is_XXX_buffer (backport) + by @agoose77 in #1746 + * fix: use proper lengths in ByteMaskedArray.mergemany (backport) by + @agoose77 in #1750 + * fix: simplify ListOffsetArray_reduce_nonlocal_outstartsstops (backport) by + @agoose77 in #1797 + + # Other + * chore: remove v2 Python highlevel LayoutBuilder from main-v1. by + @jpivarski in #1863 + +--- Old: awkward-1.10.1.tar.gz New: awkward-1.10.2.tar.gz Other differences: -- ++ python-awkward.spec ++ --- /var/tmp/diff_new_pack.aXws8n/_old 2022-11-12 17:41:01.626117252 +0100 +++ /var/tmp/diff_new_pack.aXws8n/_new 2022-11-12 17:41:01.630117275 +0100 @@ -19,7 +19,7 @@ %global modname awkward %global skip_python2 1 Name: python-awkward -Version:1.10.1 +Version:1.10.2 Release:0 Summary:Manipulate arrays of complex data structures as easily as Numpy License:BSD-3-Clause @@ -99,13 +99,7 @@ %check # test-cuda: we don't have python-cupy yet -# test_numpy_complex_form breaks the interpreter with "realloc(): invalid next -# size" gh#scikit-hep/awkward#1862 -%ifarch %ix86 -%pytest_arch --ignore tests-cuda/ -k 'not test_numpy_complex_form' -%else %pytest_arch --ignore tests-cuda/ -%endif %files %{python_files} %doc README.md ++ awkward-1.10.1.tar.gz -> awkward-1.10.2.tar.gz ++ 4282 lines of diff (skipped)
commit python-awkward for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-awkward for openSUSE:Factory checked in at 2022-11-04 17:37:53 Comparing /work/SRC/openSUSE:Factory/python-awkward (Old) and /work/SRC/openSUSE:Factory/.python-awkward.new.2275 (New) Package is "python-awkward" Fri Nov 4 17:37:53 2022 rev:11 rq:1033486 version:1.10.1 Changes: --- /work/SRC/openSUSE:Factory/python-awkward/python-awkward.changes 2022-08-24 15:11:52.900546119 +0200 +++ /work/SRC/openSUSE:Factory/.python-awkward.new.2275/python-awkward.changes 2022-11-04 17:41:39.310907429 +0100 @@ -1,0 +2,26 @@ +Fri Nov 4 09:10:44 UTC 2022 - Daniel Garcia + +- Update tests to skip broken tests in i586. gh#scikit-hep/awkward#1862 +- Remove python_module macro definition + +--- +Mon Oct 17 01:58:31 UTC 2022 - Steve Kowalik + +- Update to 1.10.1: + * fix: support non-hashable parameter values in broadcasting + * feat: raise Error for Record.setattr + * fix: allow string arrays to merge without unions + * fix: carry parameters through broadcasting + * fix: don't project categorical in ak._v2.packed + * fix: reduce runtime dependency from setuptools to just packaging + * fix: ensure that __copy__ and __deepcopy__ are enabled. + * fix: pass memo to deepcopy + * perf: improve Array initialisation performance + * fix: Removed bytemask() in favour of mask_as_bool() +- Add importlib-resources to BuildRequires. +- Drop patches: + * awkward-correct-includedir.patch + * awkward-import-packging-not-setuptools_external.patch +- No longer attempt to skip 3.6. + +--- Old: awkward-1.8.0.tar.gz awkward-correct-includedir.patch awkward-import-packging-not-setuptools_external.patch New: awkward-1.10.1.tar.gz Other differences: -- ++ python-awkward.spec ++ --- /var/tmp/diff_new_pack.x8Sz7I/_old 2022-11-04 17:41:39.934910688 +0100 +++ /var/tmp/diff_new_pack.x8Sz7I/_new 2022-11-04 17:41:39.938910709 +0100 @@ -16,12 +16,10 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %global modname awkward %global skip_python2 1 -%global skip_python36 1 Name: python-awkward -Version:1.8.0 +Version:1.10.1 Release:0 Summary:Manipulate arrays of complex data structures as easily as Numpy License:BSD-3-Clause @@ -29,10 +27,6 @@ Source: https://files.pythonhosted.org/packages/source/a/awkward/awkward-%{version}.tar.gz # PATCH-FETAURE-OPENSUSE awkward-cmake-build-with-RelWithDebInfo.patch badshah...@gmail.com -- Set CMAKE_BUILD_TYPE to RelWithDebInfo by default instead of Release Patch0: awkward-cmake-build-with-RelWithDebInfo.patch -# PATCH-FEATURE-OPENSUSE awkward-correct-includedir.patch badshah400#gmail.com -- Make awkward.config return the correct includedir where we move the header files to -Patch1: awkward-correct-includedir.patch -# PATCH-FEATURE-OPENSUSE awkward-import-packging-not-setuptools_external.patch badshah...@gmail.com -- Directly use packaging module instead of setuptools.extern -Patch2: awkward-import-packging-not-setuptools_external.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: cmake @@ -46,6 +40,7 @@ Recommends: python-pandas # SECTION test requirements BuildRequires: %{python_module PyYAML} +BuildRequires: %{python_module importlib-resources} BuildRequires: %{python_module numpy >= 1.13.1} BuildRequires: %{python_module packaging} BuildRequires: %{python_module pandas} @@ -104,9 +99,10 @@ %check # test-cuda: we don't have python-cupy yet -# test_0914 uses float128, not available on i586 +# test_numpy_complex_form breaks the interpreter with "realloc(): invalid next +# size" gh#scikit-hep/awkward#1862 %ifarch %ix86 -%pytest_arch --ignore tests-cuda/ -k 'not test_0914' +%pytest_arch --ignore tests-cuda/ -k 'not test_numpy_complex_form' %else %pytest_arch --ignore tests-cuda/ %endif ++ awkward-1.8.0.tar.gz -> awkward-1.10.1.tar.gz ++ 123303 lines of diff (skipped)
commit python-awkward for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-awkward for openSUSE:Factory checked in at 2022-08-24 15:11:29 Comparing /work/SRC/openSUSE:Factory/python-awkward (Old) and /work/SRC/openSUSE:Factory/.python-awkward.new.2083 (New) Package is "python-awkward" Wed Aug 24 15:11:29 2022 rev:10 rq:998940 version:1.8.0 Changes: --- /work/SRC/openSUSE:Factory/python-awkward/python-awkward.changes 2022-03-11 11:52:08.667040737 +0100 +++ /work/SRC/openSUSE:Factory/.python-awkward.new.2083/python-awkward.changes 2022-08-24 15:11:52.900546119 +0200 @@ -1,0 +2,5 @@ +Wed Aug 24 03:17:19 UTC 2022 - Steve Kowalik + +- Copy the heaers ourselves now that setuptools does not. + +--- Other differences: -- ++ python-awkward.spec ++ --- /var/tmp/diff_new_pack.JvcBqs/_old 2022-08-24 15:11:53.340546543 +0200 +++ /var/tmp/diff_new_pack.JvcBqs/_new 2022-08-24 15:11:53.344546547 +0200 @@ -89,17 +89,16 @@ # Remove static libs %python_expand find %{buildroot}%{$python_sitearch}/%{modname}/ -name "*.a" -delete -print -mkdir -p %{buildroot}%{_includedir}/awkward -%{python_expand # Move headers to standard include dir for the primary python3 version and delete for the others +%{python_expand # Create a symlink to shared library in _libdir for the C/C++ devel pkg if [ "$python_" = "python3_" -o "%{$python_provides}" = "python3" ]; then -mv %{buildroot}%{$python_sitearch}/%{modname}/include/* %{buildroot}%{_includedir}/awkward/ -# Create a symlink to shared library in _libdir for the C/C++ devel pkg ln -s %{$python_sitearch}/libawkward.so %{buildroot}%{_libdir}/ ln -s %{$python_sitearch}/libawkward-cpu-kernels.so %{buildroot}%{_libdir}/ -else -rm -fr %{buildroot}%{$python_sitearch}/%{modname}/include fi } +# setuptools no longer installs headers, copy them ourselves +# The "build" directory is the result from the primary interpreter +mkdir -p %{buildroot}%{_includedir}/awkward +cp -a build/lib.linux-*/awkward/include %{buildroot}%{_includedir}/awkward %python_expand %fdupes %{buildroot}%{$python_sitearch}
commit python-awkward for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-awkward for openSUSE:Factory checked in at 2022-03-09 18:47:41 Comparing /work/SRC/openSUSE:Factory/python-awkward (Old) and /work/SRC/openSUSE:Factory/.python-awkward.new.2349 (New) Package is "python-awkward" Wed Mar 9 18:47:41 2022 rev:9 rq:960301 version:1.8.0 Changes: --- /work/SRC/openSUSE:Factory/python-awkward/python-awkward.changes 2021-12-12 21:28:27.944371974 +0100 +++ /work/SRC/openSUSE:Factory/.python-awkward.new.2349/python-awkward.changes 2022-03-11 11:52:08.667040737 +0100 @@ -1,0 +2,19 @@ +Sat Mar 5 15:25:15 UTC 2022 - Atri Bhattacharya + +- Update to version 1.8.0: + * Bumped pybind11 to 2.9.1 [gh#scikit-hep/awkward-1.0#1316]. + * Added optiontype_outside_record option to ak.zip +[gh#scikit-hep/awkward-1.0#1308]. + * Fixed typo in ArrayBuilder documentation +[gh#scikit-hep/awkward-1.0#1326]. + * Many more changes through various 1.8.0rc versions, see +https://awkward-array.readthedocs.io/en/latest/_auto/changelog.html. +- Add awkward-import-packging-not-setuptools_external.patch: + Directly use packaging module instead of setuptools.extern; the + latter is used by upstream to keep dependencies to a minimum, + but importing setuptools and trying to then use + setuptools.external does not work on openSUSE. +- Add python-packaging BuildRequires, needed for tests in light of + above patch, and Requires. + +--- Old: awkward-1.7.0.tar.gz New: awkward-1.8.0.tar.gz awkward-import-packging-not-setuptools_external.patch Other differences: -- ++ python-awkward.spec ++ --- /var/tmp/diff_new_pack.tGfrF1/_old 2022-03-11 11:52:09.119041268 +0100 +++ /var/tmp/diff_new_pack.tGfrF1/_new 2022-03-11 11:52:09.123041273 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-awkward # -# Copyright (c) 2021 SUSE LLC +# 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 @@ -21,7 +21,7 @@ %global skip_python2 1 %global skip_python36 1 Name: python-awkward -Version:1.7.0 +Version:1.8.0 Release:0 Summary:Manipulate arrays of complex data structures as easily as Numpy License:BSD-3-Clause @@ -31,6 +31,8 @@ Patch0: awkward-cmake-build-with-RelWithDebInfo.patch # PATCH-FEATURE-OPENSUSE awkward-correct-includedir.patch badshah400#gmail.com -- Make awkward.config return the correct includedir where we move the header files to Patch1: awkward-correct-includedir.patch +# PATCH-FEATURE-OPENSUSE awkward-import-packging-not-setuptools_external.patch badshah...@gmail.com -- Directly use packaging module instead of setuptools.extern +Patch2: awkward-import-packging-not-setuptools_external.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: cmake @@ -38,12 +40,14 @@ BuildRequires: gcc-c++ BuildRequires: python-rpm-macros Requires: python-numpy >= 1.13.1 +Requires: python-packaging Recommends: python-cupy Recommends: python-numba Recommends: python-pandas # SECTION test requirements BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module numpy >= 1.13.1} +BuildRequires: %{python_module packaging} BuildRequires: %{python_module pandas} BuildRequires: %{python_module pytest} %if 0%{?suse_version} >= 1550 ++ awkward-1.7.0.tar.gz -> awkward-1.8.0.tar.gz ++ 110957 lines of diff (skipped) ++ awkward-cmake-build-with-RelWithDebInfo.patch ++ --- /var/tmp/diff_new_pack.tGfrF1/_old 2022-03-11 11:52:09.615041852 +0100 +++ /var/tmp/diff_new_pack.tGfrF1/_new 2022-03-11 11:52:09.619041856 +0100 @@ -1,8 +1,8 @@ -Index: awkward-1.4.0/setup.py +Index: awkward-1.8.0/setup.py === awkward-1.4.0.orig/setup.py -+++ awkward-1.4.0/setup.py -@@ -85,7 +85,7 @@ class CMakeBuild(setuptools.command.buil +--- awkward-1.8.0.orig/setup.py awkward-1.8.0/setup.py +@@ -79,7 +79,7 @@ class CMakeBuild(setuptools.command.buil if not extdir.endswith(os.path.sep): extdir += os.path.sep ++ awkward-import-packging-not-setuptools_external.patch ++ Index: awkward-1.8.0/src/awkward/_v2/_util.py === --- awkward-1.8.0.orig/src/awkward/_v2/_util.py +++ awkward-1.8.0/src/awkward/_v2/_util.py @@ -6,7 +6,7 @@ # import re # import os.path # import warnings -import setuptools
commit python-awkward for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-awkward for openSUSE:Factory checked in at 2021-12-12 21:27:42 Comparing /work/SRC/openSUSE:Factory/python-awkward (Old) and /work/SRC/openSUSE:Factory/.python-awkward.new.2520 (New) Package is "python-awkward" Sun Dec 12 21:27:42 2021 rev:8 rq:940010 version:1.7.0 Changes: --- /work/SRC/openSUSE:Factory/python-awkward/python-awkward.changes 2021-09-23 23:04:17.656333788 +0200 +++ /work/SRC/openSUSE:Factory/.python-awkward.new.2520/python-awkward.changes 2021-12-12 21:28:27.944371974 +0100 @@ -1,0 +2,15 @@ +Wed Dec 8 22:58:00 UTC 2021 - Atri Bhattacharya + +- Update to version 1.7.0: + * Fixed a division-by-zero bug: [gh#scikit-hep/awkward-1.0#1168, +gh#scikit-hep/awkward-1.0#1169]. + * Applied the 1.7.0 deprecation (see Roadmap): +[gh#scikit-hep/awkward-1.0#1118]. + * Enabled codecov: [gh#scikit-hep/awkward-1.0#1120]. + * Updated Azure's Windows VM: [gh#scikit-hep/awkward-1.0#1129]. + * Fixed order in RecordForm.contents property: +[gh#scikit-hep/awkward-1.0#1166]. + * Fixed Parquet reading for files with zero RecordBatches: +[gh#scikit-hep/awkward-1.0#1170]. + +--- Old: awkward-1.5.0.tar.gz New: awkward-1.7.0.tar.gz Other differences: -- ++ python-awkward.spec ++ --- /var/tmp/diff_new_pack.lYv4HG/_old 2021-12-12 21:28:28.404372247 +0100 +++ /var/tmp/diff_new_pack.lYv4HG/_new 2021-12-12 21:28:28.408372249 +0100 @@ -21,7 +21,7 @@ %global skip_python2 1 %global skip_python36 1 Name: python-awkward -Version:1.5.0 +Version:1.7.0 Release:0 Summary:Manipulate arrays of complex data structures as easily as Numpy License:BSD-3-Clause ++ awkward-1.5.0.tar.gz -> awkward-1.7.0.tar.gz ++ 115144 lines of diff (skipped)
commit python-awkward for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-awkward for openSUSE:Factory checked in at 2021-09-23 23:04:10 Comparing /work/SRC/openSUSE:Factory/python-awkward (Old) and /work/SRC/openSUSE:Factory/.python-awkward.new.1899 (New) Package is "python-awkward" Thu Sep 23 23:04:10 2021 rev:7 rq:921135 version:1.5.0 Changes: --- /work/SRC/openSUSE:Factory/python-awkward/python-awkward.changes 2021-07-12 21:41:15.959622054 +0200 +++ /work/SRC/openSUSE:Factory/.python-awkward.new.1899/python-awkward.changes 2021-09-23 23:04:17.656333788 +0200 @@ -1,0 +2,82 @@ +Sat Sep 18 20:15:02 UTC 2021 - Atri Bhattacharya + +- Update to version 1.5.0: + * Reverting the spelling of ak.nplike.NumPy ??? ak.nplike.Numpy, +etc. (including CuPy ??? Cupy) to avoid needlessly breaking +interfaces. + * Unrestricted the jaxlib version bounds, thanks to a fix that +he prompted in JAX: PR gh#scikit-hep/awkward#988. + * Added support for n-dimensional NumpyArrays in ak.where: PR +gh#scikit-hep/awkward#980. + * Added axis parameter to ak.fill_none: PR +gh#scikit-hep/awkward#917. Added np.ravel: PR +gh#scikit-hep/awkward#985. + * Fixed ak.from_buffers to support empty buffers: PR +gh#scikit-hep/awkward#1009. + * Fixed ak.packed for RegularArrays with size=0: PR +gh#scikit-hep/awkward#1008. + * Fixed ak.zip to not convert regular to jagged: +gh#scikit-hep/awkward#1013. + * Clarified the documentation of left and right broadcasting: PR +gh#scikit-hep/awkward#1016. + * Fixed ak.broadcast_arrays by setting numpy_to_regular=True: PR +gh#scikit-hep/awkward#1019. + * Added support for ak.Record in ak.packed: PR +gh#scikit-hep/awkward#1021. + * Fixed gh#scikit-hep/awkward#1026, jagged slicing of a +multidimensional NumpyArray: PR gh#scikit-hep/awkward#1029. + * Added a name parameter to ak.mixin_class: PR +gh#scikit-hep/awkward#1030. + * Added a spell-checker in pre-commit that fixed a lot of +spelling mistakes in comments and documentation: PR +gh#scikit-hep/awkward#1003. + * Fixed the stack level of the deprecation warning: PR +gh#scikit-hep/awkward#1058. + * Made the source code reproducible by allowing the build date +to be overridden by SOURCE_DATE_EPOCH: PR +gh#scikit-hep/awkward#1050. + * Optimized common array slice ("take") operations: PR +gh#scikit-hep/awkward#1062. + * Added a better set of kernel unit tests to continuous +integration, which will be important for testing GPU kernels: +PRs gh#scikit-hep/awkward#1065 and gh#scikit-hep/awkward#1081. + * Added a default for NEP-18, so now any NumPy function can be +used with Awkward Arrays, as long as the Awkward Array can be +cast as NumPy (i.e. is rectilinear): +gh#scikit-hep/awkward#1005. + * Reverted the ill-conceived gh#scikit-hep/awkward#694, +SliceVarNewAxis: PR gh#scikit-hep/awkward#1028. + * Made ak.Record iterable (iterates over field names, like +dict): PR gh#scikit-hep/awkward#1061. + * Fixed the UnionForm bug described in gh#scikit-hep/awkward#770 +and gh#scikit-hep/awkward#930: PR gh#scikit-hep/awkward#991. + * Fixed gh#scikit-hep/awkward#546, ak.fill_none losing the +replacement's dtype: PR gh#scikit-hep/awkward#995. + * Fixed double-masking of reducers and unmasking of ak.ptp: PR +gh#scikit-hep/awkward#994. + * Fixed ak.Array.__dir__ to include methods/properties of +overridden classees: PR gh#scikit-hep/awkward#993. + * Fixed gh#scikit-hep/awkward#982 by accounting for another kind +of "gap" in nonlocal reducers: PR gh#scikit-hep/awkward#997. + * Fixed gh#scikit-hep/awkward#998 and +gh#scikit-hep/awkward#1000, ak.argmax for ListOffsetArray with +nonzero start: PR gh#scikit-hep/awkward#1001. + * Fixed ak.fill_none fill value's handling of NumPy dimension: +PR gh#scikit-hep/awkward#1056. + * Fixed ak.to_numpy for structured arrays that are also masked +arrays: PR gh#scikit-hep/awkward#1067. + * Finished __getitem__ for all array types: PRs +gh#scikit-hep/awkward#959, gh#scikit-hep/awkward#1031, +gh#scikit-hep/awkward#1036, and gh#scikit-hep/awkward#1073. + * Refactored ArrayBuilder to not depend on C++ that will be +removed in v2: PRs gh#scikit-hep/awkward#977, +gh#scikit-hep/awkward#1045, and gh#scikit-hep/awkward#1063. + * Implemented _localindex in v2: PR gh#scikit-hep/awkward#1059. +And combinations: PR gh#scikit-hep/awkward#1074. + * Renamed _getitem_array as _carry and made it take an Index: PR +gh#scikit-hep/awkward#1025. Added VirtualArray: PR +gh#scikit-hep/awkward#1079. +- Disable python2 builds explicitly by setting skip_python2 in + specfile; otherwise builds for openSUSE <= 1550 fail. +
commit python-awkward for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-awkward for openSUSE:Factory checked in at 2021-07-12 21:40:42 Comparing /work/SRC/openSUSE:Factory/python-awkward (Old) and /work/SRC/openSUSE:Factory/.python-awkward.new.2625 (New) Package is "python-awkward" Mon Jul 12 21:40:42 2021 rev:6 rq:905860 version:1.4.0 Changes: --- /work/SRC/openSUSE:Factory/python-awkward/python-awkward.changes 2021-02-21 22:15:01.470144476 +0100 +++ /work/SRC/openSUSE:Factory/.python-awkward.new.2625/python-awkward.changes 2021-07-12 21:41:15.959622054 +0200 @@ -1,0 +2,12 @@ +Sat Jul 3 00:39:43 UTC 2021 - Atri Bhattacharya + +- Update to version 1.4.0: + * Long list of changes since last packaged version, see +https://awkward-array.readthedocs.io/en/latest/_auto/changelog.html. +- Adapt symlinks and file-list for changes to shared object + locations (directly in python_sitearch instead of + python_sitearch/awkward/). +- Skip a test on 32-bit that uses float128, since float32 is not + available. + +--- Old: awkward-1.1.2.tar.gz New: awkward-1.4.0.tar.gz Other differences: -- ++ python-awkward.spec ++ --- /var/tmp/diff_new_pack.gH25EA/_old 2021-07-12 21:41:16.359618901 +0200 +++ /var/tmp/diff_new_pack.gH25EA/_new 2021-07-12 21:41:16.363618870 +0200 @@ -20,7 +20,7 @@ %global modname awkward %global skip_python36 1 Name: python-awkward -Version:1.1.2 +Version:1.4.0 Release:0 Summary:Manipulate arrays of complex data structures as easily as Numpy License:BSD-3-Clause @@ -37,9 +37,9 @@ BuildRequires: gcc-c++ BuildRequires: python-rpm-macros Requires: python-numpy >= 1.13.1 +Recommends: python-cupy Recommends: python-numba Recommends: python-pandas -Recommends: python-cupy # SECTION test requirements BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module numpy >= 1.13.1} @@ -89,8 +89,8 @@ if [ "$python_" = "python3_" -o "%{$python_provides}" = "python3" ]; then mv %{buildroot}%{$python_sitearch}/%{modname}/include/* %{buildroot}%{_includedir}/awkward/ # Create a symlink to shared library in _libdir for the C/C++ devel pkg -ln -s %{$python_sitearch}/awkward/libawkward.so %{buildroot}%{_libdir}/ -ln -s %{$python_sitearch}/awkward/libawkward-cpu-kernels.so %{buildroot}%{_libdir}/ +ln -s %{$python_sitearch}/libawkward.so %{buildroot}%{_libdir}/ +ln -s %{$python_sitearch}/libawkward-cpu-kernels.so %{buildroot}%{_libdir}/ else rm -fr %{buildroot}%{$python_sitearch}/%{modname}/include fi @@ -100,11 +100,17 @@ %check # test-cuda: we don't have python-cupy yet +# test_0914 uses float128, not available on i586 +%ifarch %ix86 +%pytest_arch --ignore tests-cuda/ -k 'not test_0914' +%else %pytest_arch --ignore tests-cuda/ +%endif %files %{python_files} %doc README.md %license LICENSE +%{python_sitearch}/*.so %{python_sitearch}/%{modname}/ %{python_sitearch}/%{modname}-%{version}*-info/ ++ awkward-1.1.2.tar.gz -> awkward-1.4.0.tar.gz ++ 55762 lines of diff (skipped) ++ awkward-cmake-build-with-RelWithDebInfo.patch ++ --- /var/tmp/diff_new_pack.gH25EA/_old 2021-07-12 21:41:16.671616442 +0200 +++ /var/tmp/diff_new_pack.gH25EA/_new 2021-07-12 21:41:16.671616442 +0200 @@ -1,13 +1,13 @@ -Index: awkward-1.0.0/setup.py +Index: awkward-1.4.0/setup.py === awkward-1.0.0.orig/setup.py -+++ awkward-1.0.0/setup.py -@@ -59,7 +59,7 @@ class CMakeBuild(setuptools.command.buil - except AttributeError: - print("Not able to access compiler path, using CMake default") +--- awkward-1.4.0.orig/setup.py awkward-1.4.0/setup.py +@@ -85,7 +85,7 @@ class CMakeBuild(setuptools.command.buil + if not extdir.endswith(os.path.sep): + extdir += os.path.sep -cfg = "Debug" if self.debug else "Release" -+cfg = "Debug" if self.debug else "RelWithDeInfo" - build_args += ["--config", cfg] - cmake_args += ["-DCMAKE_BUILD_TYPE=" + cfg] ++cfg = "Debug" if self.debug else "RelWithDebInfo" + # CMake lets you override the generator - we need to check this. + # Can be set with Conda-Build, for example.
commit python-awkward for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-awkward for openSUSE:Factory checked in at 2021-02-21 22:14:53 Comparing /work/SRC/openSUSE:Factory/python-awkward (Old) and /work/SRC/openSUSE:Factory/.python-awkward.new.28504 (New) Package is "python-awkward" Sun Feb 21 22:14:53 2021 rev:5 rq:874157 version:1.1.2 Changes: --- /work/SRC/openSUSE:Factory/python-awkward/python-awkward.changes 2021-02-15 23:21:33.135866459 +0100 +++ /work/SRC/openSUSE:Factory/.python-awkward.new.28504/python-awkward.changes 2021-02-21 22:15:01.470144476 +0100 @@ -1,0 +2,58 @@ +Sun Feb 21 14:25:27 UTC 2021 - Ben Greiner + +- Update to 1.1.2 + * The fix that motivates this patch release is @henryiii???s repair +of the SDist distribution: PR #720. The addition of dlpack +wasn???t included in the source distribution, so pip install +awkward without an available wheel was failing due to not +having all the headers it needed to compile. + * Also fixed jagged slices: issue #723, PRs #725 and #729, as +well as a segfault in ak.flatten: issue #724, PR #726. +- Release 1.1.1 + * New patch release motivated by a bug discovered in Uproot???s +tests: PR #719. (From now on, Uproot will test Awkward release +candidates.) + * Also, #717 adds an optional behavior argument to every function +that takes a highlevel=True/False. + * Also from now on, only critical bug-fixes (like this one) will +be patch releases and other updates will all go into release +candidates for the next non-patch release (e.g. 1.2.0, +[scheduled for 2021-04-01](https://github.com/scikit-hep/ +awkward-1.0#roadmap)). +- Release 1.1.0 + * Updates to Arrow 3.0. PR #709. + * Can now read and write Parquet datasets (conventions for sets +of multiple files): PR #706, fixes #368 (old!). + * Also, Python 2 can use ellipsis because we have pybind11 2.6 +now: PR #707, fixes #705. + * remove deprecated features + * Fixed #689, the dimension of arrays returned by empty slices: +PR #691. + * @ianna fixed tuple-building in ArrayBuilder to guard against +specifying a nonexistent slot and segfaulting: #697. + * Added [ak.materialized](https://awkward-array.readthedocs.io/ +en/latest/_auto/ak.materialized.html) to force-materialize +arrays (opposite of [ak.virtual](https://awkward-array. +readthedocs.io/en/latest/_auto/ak.virtual.html)) because +debugging very lazy deferments is hard. + * Can now use np.newaxis to give one array the same number of +dimensions as another for slicing (which closes #492). + * Fixed ak.min/ak.max with axis != None for partitioned data. + * Fixed a bug that affected boolean-masking of partitioned data. + * Reducing over-materialization of virtual arrays: PRs #643, +#644, #657, added Form-aware lazy Parquet: #688 + * Fixed ak.from_buffers to allow unreachable elements: PR #673 + * Developed the AwkwardForth VM: PRs #683, #648, #653, #661, +#664, #672 + * Removed right-broadcasting from all operations except those +that require it for NumPy compliance: #656, #680 + * @ianna improved sorting: PRs #639, #687, added complex numbers +support: PRs #652 + * @trickarcher generalized CuPy interop to JAX: PRs #645, #662 + * @reikdas cleaned up developer scripts: PRs #665, #666, #667 + * @henryiii added more code quality tests: PRs #675, #681, #682, +#677, #676, #685, #683 +- Somehow the missing python-devel BuildRequires was okay until + recently. + +--- Old: awkward-1.0.2.tar.gz New: awkward-1.1.2.tar.gz Other differences: -- ++ python-awkward.spec ++ --- /var/tmp/diff_new_pack.R8TYQp/_old 2021-02-21 22:15:02.054145092 +0100 +++ /var/tmp/diff_new_pack.R8TYQp/_new 2021-02-21 22:15:02.054145092 +0100 @@ -20,16 +20,17 @@ %global modname awkward %global skip_python36 1 Name: python-awkward -Version:1.0.2 +Version:1.1.2 Release:0 Summary:Manipulate arrays of complex data structures as easily as Numpy License:BSD-3-Clause -URL:https://github.com/scikit-hep/awkward-1.0 +URL:https://awkward-array.org/ Source: https://files.pythonhosted.org/packages/source/a/awkward/awkward-%{version}.tar.gz # PATCH-FETAURE-OPENSUSE awkward-cmake-build-with-RelWithDebInfo.patch badshah...@gmail.com -- Set CMAKE_BUILD_TYPE to RelWithDebInfo by default instead of Release Patch0: awkward-cmake-build-with-RelWithDebInfo.patch # PATCH-FEATURE-OPENSUSE awkward-correct-includedir.patch badshah400#gmail.com -- Make awkward.config return the correct includedir where we move
commit python-awkward for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-awkward for openSUSE:Factory checked in at 2021-02-15 23:19:42 Comparing /work/SRC/openSUSE:Factory/python-awkward (Old) and /work/SRC/openSUSE:Factory/.python-awkward.new.28504 (New) Package is "python-awkward" Mon Feb 15 23:19:42 2021 rev:4 rq:872168 version:1.0.2 Changes: --- /work/SRC/openSUSE:Factory/python-awkward/python-awkward.changes 2021-01-26 14:51:12.835797354 +0100 +++ /work/SRC/openSUSE:Factory/.python-awkward.new.28504/python-awkward.changes 2021-02-15 23:21:33.135866459 +0100 @@ -1,0 +2,5 @@ +Sun Feb 14 14:10:00 UTC 2021 - Dirk M??ller + +- skip python 3.6 (numbas requires scipy) + +--- Other differences: -- ++ python-awkward.spec ++ --- /var/tmp/diff_new_pack.4xxkRu/_old 2021-02-15 23:21:33.703867307 +0100 +++ /var/tmp/diff_new_pack.4xxkRu/_new 2021-02-15 23:21:33.707867312 +0100 @@ -18,6 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %global modname awkward +%global skip_python36 1 Name: python-awkward Version:1.0.2 Release:0
commit python-awkward for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-awkward for openSUSE:Factory checked in at 2021-01-26 14:47:21 Comparing /work/SRC/openSUSE:Factory/python-awkward (Old) and /work/SRC/openSUSE:Factory/.python-awkward.new.28504 (New) Package is "python-awkward" Tue Jan 26 14:47:21 2021 rev:3 rq:866781 version:1.0.2 Changes: --- /work/SRC/openSUSE:Factory/python-awkward/python-awkward.changes 2020-12-17 17:08:52.241944992 +0100 +++ /work/SRC/openSUSE:Factory/.python-awkward.new.28504/python-awkward.changes 2021-01-26 14:51:12.835797354 +0100 @@ -1,0 +2,43 @@ +Mon Jan 25 23:10:46 UTC 2021 - Ben Greiner + +- Update to 1.0.2 + * @nsmith- fixed virtual arrays in ak.to_arrow (PR #642). + * Fixed #628, allowing np.int64(N) to be used in a slice like +integer N (PR #636). + * Added the ability to select fields inside of nested +records with syntax like array[[???pt???, ???eta???, ???phi???], +???nominal???] (#619). + * Fixed Apache Arrow ??? Awkward Array (ak.from_arrow) for +sliced Arrow arrays: it has an offset attribute we had +been ignoring (#625). Thanks to @trickarcher for the +extensive tests! + * Ensured that an ak.Array???s behavior always gets passed to +output of any operation (#626), even if the input is a +dict (#627, affected ak.zip, ak.cartesian, and +ak.argcartesian). + * Fixed #629, ak.with_field dropping parameters (#631), +and #634, ak.fill_none not accepting a Record as a fill +value (#635). + * Added a roadmap and upvote/thumbs up instructions to the +README. + * @jpivarski revised the ak.concatenate implementation +(#610), fixed a bug related to axis handling (#612), and +made ak.concatenate friendlier to lazy arrays (#613; +???friendlier??? = ???materializes arrays in fewer cases???). + * @chrisburr added setuptools as a requirement because it +is used for pkg_resources. + * @ianna added validity-checking for strings, bytestrings, +and categorical (#571), including some revisions of +sorting and a partial implementation of checking for +uniqueness and identifying unique elements from arrays +that can later be used to implement np.unique. + * Updated Awkward Arrow conversion to preserve nullability +in type (PRs #602, #606). Preemptively avoiding warnings +from NumPy 1.20 (#599) and fixed 32-bit Linux cases in the +tests (#604). + * @henryiii fixed hardcoded threads in MacOS compilation +target (for deploying to conda-forge). +- Drop awkward-tests-on-32bit.patch merged upstream +- Fix python_expand for primary flavor check + +--- Old: awkward-1.0.1.tar.gz awkward-tests-on-32bit.patch New: awkward-1.0.2.tar.gz Other differences: -- ++ python-awkward.spec ++ --- /var/tmp/diff_new_pack.vlIwC9/_old 2021-01-26 14:51:13.431798166 +0100 +++ /var/tmp/diff_new_pack.vlIwC9/_new 2021-01-26 14:51:13.435798171 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-awkward # -# 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-%{**}} %global modname awkward Name: python-awkward -Version:1.0.1 +Version:1.0.2 Release:0 Summary:Manipulate arrays of complex data structures as easily as Numpy License:BSD-3-Clause @@ -29,8 +29,6 @@ Patch0: awkward-cmake-build-with-RelWithDebInfo.patch # PATCH-FEATURE-OPENSUSE awkward-correct-includedir.patch badshah400#gmail.com -- Make awkward.config return the correct includedir where we move the header files to Patch1: awkward-correct-includedir.patch -# PATCH-FIX-UPSTREAM awkward-tests-on-32bit.patch gh#scikit-hep/awkward-1.0#600 -- Fix tests on 32 bit systems; patch taken from upstream PR -Patch2: awkward-tests-on-32bit.patch BuildRequires: %{python_module setuptools} BuildRequires: cmake BuildRequires: fdupes @@ -83,8 +81,8 @@ %python_expand find %{buildroot}%{$python_sitearch}/%{modname}/ -name "*.a" -delete -print mkdir -p %{buildroot}%{_includedir}/awkward -%{python_expand # Move headers to standard include dir for one python version and delete for the other -if [ $python_ = python3_ ]; then +%{python_expand # Move headers to standard include dir for the primary python3 version and delete for the others +if [ "$python_" = "python3_" -o "%{$python_provides}" = "python3" ]; then mv
commit python-awkward for openSUSE:Factory
Hello community, here is the log from the commit of package python-awkward for openSUSE:Factory checked in at 2020-12-17 17:05:05 Comparing /work/SRC/openSUSE:Factory/python-awkward (Old) and /work/SRC/openSUSE:Factory/.python-awkward.new.5145 (New) Package is "python-awkward" Thu Dec 17 17:05:05 2020 rev:2 rq:856491 version:1.0.1 Changes: --- /work/SRC/openSUSE:Factory/python-awkward/python-awkward.changes 2020-12-16 11:01:10.735610645 +0100 +++ /work/SRC/openSUSE:Factory/.python-awkward.new.5145/python-awkward.changes 2020-12-17 17:08:52.241944992 +0100 @@ -1,0 +2,6 @@ +Wed Dec 16 00:13:41 UTC 2020 - Atri Bhattacharya + +- Add awkward-tests-on-32bit.patch: Fix tests on 32 bit systems; + patch taken from upstream PR [gh#scikit-hep/awkward-1.0#600]. + +--- New: awkward-tests-on-32bit.patch Other differences: -- ++ python-awkward.spec ++ --- /var/tmp/diff_new_pack.2bqyOn/_old 2020-12-17 17:08:52.749945496 +0100 +++ /var/tmp/diff_new_pack.2bqyOn/_new 2020-12-17 17:08:52.757945505 +0100 @@ -29,6 +29,8 @@ Patch0: awkward-cmake-build-with-RelWithDebInfo.patch # PATCH-FEATURE-OPENSUSE awkward-correct-includedir.patch badshah400#gmail.com -- Make awkward.config return the correct includedir where we move the header files to Patch1: awkward-correct-includedir.patch +# PATCH-FIX-UPSTREAM awkward-tests-on-32bit.patch gh#scikit-hep/awkward-1.0#600 -- Fix tests on 32 bit systems; patch taken from upstream PR +Patch2: awkward-tests-on-32bit.patch BuildRequires: %{python_module setuptools} BuildRequires: cmake BuildRequires: fdupes @@ -95,13 +97,7 @@ %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -# Disable tests failing on 32-bit due to use of 64 data types -# https://github.com/scikit-hep/awkward-1.0/issues/600 -%ifarch %ix86 -%pytest_arch -k "not (test_0056-partitioned-array.py or test_0080-flatpandas-multiindex-rows-and-columns.py or test_0166-0167-0170-random-issues.py or test_0331-pandas-indexedarray.py)" -%else %pytest_arch -%endif %files %{python_files} %doc README.md ++ awkward-tests-on-32bit.patch ++ From 5bafaebfe9783d92eda93262a11f4812d537659b Mon Sep 17 00:00:00 2001 From: Jim Pivarski Date: Tue, 15 Dec 2020 23:51:32 + Subject: [PATCH 1/2] Make tests work in 32-bit. --- src/awkward/_util.py | 1 + src/awkward/behaviors/string.py | 2 +- src/awkward/operations/convert.py| 2 +- tests/test_0115-generic-reducer-operation.py | 32 ++-- 4 files changed, 13 insertions(+), 24 deletions(-) diff --git a/src/awkward/_util.py b/src/awkward/_util.py index eaba93686..4d612f866 100644 --- a/src/awkward/_util.py +++ b/src/awkward/_util.py @@ -21,6 +21,7 @@ py27 = sys.version_info[0] < 3 py35 = sys.version_info[0] == 3 and sys.version_info[1] <= 5 win = os.name == "nt" +bits32 = ak.nplike.numpy.iinfo(np.intp).bits == 32 # to silence flake8 F821 errors if py27: diff --git a/src/awkward/behaviors/string.py b/src/awkward/behaviors/string.py index 0cc3e79b4..44b166cc6 100644 --- a/src/awkward/behaviors/string.py +++ b/src/awkward/behaviors/string.py @@ -155,7 +155,7 @@ def _string_broadcast(layout, offsets): nplike = ak.nplike.of(offsets) offsets = nplike.asarray(offsets) counts = offsets[1:] - offsets[:-1] -if ak._util.win: +if ak._util.win or ak._util.bits32: counts = counts.astype(np.int32) parents = nplike.repeat(nplike.arange(len(counts), dtype=counts.dtype), counts) return ak.layout.IndexedArray64(ak.layout.Index64(parents), layout).project() diff --git a/src/awkward/operations/convert.py b/src/awkward/operations/convert.py index 3b1d56c65..937e1c0ab 100644 --- a/src/awkward/operations/convert.py +++ b/src/awkward/operations/convert.py @@ -4592,7 +4592,7 @@ def recurse(layout, row_arrays, col_names): offsets = numpy.asarray(offsets) starts, stops = offsets[:-1], offsets[1:] counts = stops - starts -if ak._util.win: +if ak._util.win or ak._util.bits32: counts = counts.astype(np.int32) if len(row_arrays) == 0: newrows = [ diff --git a/tests/test_0115-generic-reducer-operation.py b/tests/test_0115-generic-reducer-operation.py index ba8139bbc..e988aea40 100644 --- a/tests/test_0115-generic-reducer-operation.py +++ b/tests/test_0115-generic-reducer-operation.py @@ -1427,28 +1427,16 @@ def test_nonreducers(): } ) -assert ak.to_list(ak.mean(y, axis=-1)) == ak.to_list( -np.mean(ak.to_numpy(y), axis=-1) -) -assert ak.to_list(ak.var(y, axis=-1)) ==