Releases: scikit-hep/awkward
Releases · scikit-hep/awkward
Version 2.8.2
New features
- feat: add segmented argmin and argmax by @ianna in #3449
- feat: change argmin and argmax algorithms to handle big data by @ianna in #3450
- feat: implement segment count_nonzero reducer by @ianna in #3452
- feat: support
unknown_lengthfor virtual arrays in order to read without any materialization by @ikrommyd in #3475 - feat: enable jax backend for virtual arrays by @ikrommyd in #3451
- feat: Add a parquet uuid calculation by @NJManganelli in #3440
Bug-fixes and performance
- fix: typo in
UnionArraycombinations by @ikrommyd in #3438 - fix: pyarrow 19.0 support by @ianna in #3416
- fix: force gc in numba test by @ianna in #3448
- fix: highlevel function dispatch type hint by @pfackeldey in #3447
- fix: remove mixed numpy<->jax arrays in Jax backend by @pfackeldey in #3446
- fix: better support for pyright by @henryiii in #3453
- fix: setitem in ak firsts with jax backend by @pfackeldey in #3455
- fix: replace some
__setitem__calls with.at[where].set(value)for the jax backend by @ikrommyd in #3457 - fix: remove duplicate failing raggedtensor test when you have a GPU on the system by @ikrommyd in #3461
- fix: single int slicing for named axis by @pfackeldey in #3469
- fix: add
ptrimplementation and fix__setitem__forIndexandtocarryrawto makeak.(arg)combinationswork for the jax backend by @ikrommyd in #3471 - fix: check for
errorbeingNonein the output of validity kernels by @ikrommyd in #3479 - fix: minor things required for the whole ci to work with virtual arrays by @ikrommyd in #3484
- fix: jax reducers returning incorrect output values or lengths by @ikrommyd in #3464
- fix: avoid calling
shape_generatorinsidegeneratorif it has already been called by @ikrommyd in #3490 - fix: add field metadata to record its option type by @ianna in #3478
- fix: add
maps_as_pydictsparameter toto_pylistby @ianna in #3492 - fix: consistent materializing length across all layouts by @ikrommyd in #3489
Other
- refactor: move
form_with_unique_keyshere by @pfackeldey in #3482 - revert: "fix: setitem in ak firsts with jax backend" by @ianna in #3460
- docs: minor fixes to JAX guide + add VJP example by @Saransh-cpp in #3439
- docs: add ikrommyd as a contributor for test by @allcontributors in #3472
- docs: add NJManganelli as a contributor for code by @allcontributors in #3481
- chore: update pre-commit hooks by @pre-commit-ci in #3436
- chore: update pre-commit hooks by @pre-commit-ci in #3443
- chore: update pre-commit hooks by @pre-commit-ci in #3445
- chore: update pre-commit hooks by @pre-commit-ci in #3470
- chore: use ubuntu-latest for coverage by @ianna in #3473
- chore: update pre-commit hooks by @pre-commit-ci in #3476
- chore: update pre-commit hooks by @pre-commit-ci in #3486
- chore: update pyarrow version in the full testing requirements by @ianna in #3487
- chore: remove the upper pin on pyarrow by @ianna in #3493
- chore(deps): bump scientific-python/upload-nightly-action from 0.6.1 to 0.6.2 in the actions group by @dependabot in #3442
- chore(deps): bump the actions group with 2 updates by @dependabot in #3485
New Contributors
- @NJManganelli made their first contribution in #3440
Full Changelog: v2.8.1...v2.8.2
Version 2.8.1
Version 2.8.0
New features
Bug-fixes and performance
- fix: Drop timezone in from_arrow by @martindurant in #3392
- fix: typo/bug in
to_nplikeby @ikrommyd in #3400 - fix: mark awkward as freedthread safe with pybind11 by @lgray in #3396
- fix: numexpr: no local_dict.clear() on Python 3.13 by @bnavigator in #3404
- fix: jax backend tracer leaks by @pfackeldey in #3405
- fix: structure removal order for unions by @pfackeldey in #3397
- fix: maintain tupleness of RecordForms when using _select_columns and _prune_columns by @ariostas in #3410
- fix:
rufflinting by @ianna in #3423 - fix:
ak.almost_equalandak.array_equalshould check that jagged arrays have the same offsets by @ikrommyd in #3425 - fix: cleanup ruff linter errors by @ianna in #3430
- fix: index with int in unionarray.py by @ianna in #3419
- fix: an
Index'sdatashould be passed intoarray_equal, not theIndexitself by @ikrommyd in #3432
Other
- docs: add
ak.zip_no_broadcastandak.with/without_named_axisto public API docs by @ikrommyd in #3399 - docs: fix
array_equalreference guide by @ianna in #3424 - docs: add ikrommyd as a contributor for code by @allcontributors in #3427
- chore: update pre-commit hooks by @pre-commit-ci in #3394
- chore: update pre-commit hooks by @pre-commit-ci in #3398
- chore: update pre-commit hooks by @pre-commit-ci in #3406
- chore: update pre-commit hooks by @pre-commit-ci in #3408
- chore: update ROOT test platform to ubuntu-latest by @ianna in #3409
- chore: update pre-commit hooks by @pre-commit-ci in #3415
- chore(deps): bump the actions group across 1 directory with 2 updates by @dependabot in #3411
- chore: update pre-commit hooks by @pre-commit-ci in #3417
New Contributors
- @ikrommyd made their first contribution in #3399
- @bnavigator made their first contribution in #3404
Full Changelog: v2.7.4...v2.8.0
Version 2.7.4
New features
- feat: add a non-touching
ak.zip, called'ak.zip_no_broadcast'by @pfackeldey in #3390
Bug-fixes and performance
(none!)
Other
- chore: update pre-commit hooks by @pre-commit-ci in #3389
- chore(deps): bump the actions group with 2 updates by @dependabot in #3388
Full Changelog: v2.7.3...v2.7.4
Version 2.7.3
New features
- feat: add pretty nbytes repr to .show and jupyter repr by @pfackeldey in #3348
- feat: improve error message when indexing placeholder arrays by @pfackeldey in #3353
Bug-fixes and performance
- perf: make the ak.Array.mask weakly dependent on the array itself by @pfackeldey in #3347
- perf: add caches to reduce python overhead by @pfackeldey in #3359
- fix: current failing jax tests for
jax>=0.4.36by @pfackeldey in #3340 - fix: placeholder arrays in record
__repr__by @pfackeldey in #3342 - fix: stacktraces for custom exception handling by @pfackeldey in #3343
- fix: control attrs better as described in issue #3277 by @pfackeldey in #3344
- fix: enforce string-only keys in
.attrsby @pfackeldey in #3350 - fix:
nbytesproperty ofak.Recordby @pfackeldey in #3352 - fix: hash of
HashableDictby @pfackeldey in #3355 - fix:
datetime.datetime.utcfromtimestampdeprecation warning by @ianna in #3338 - fix: version check in to_cudf for API change by @martindurant in #3339
- fix: nbytes repr for typetracers with nbytes=unknown_length by @pfackeldey in #3361
- fix: update Chicago Taxi Dataset URL to Zenodo by @jpivarski in #3357
- fix: always check '.length' for 'unknown_length' by @jpivarski in #3332
- fix:
_getitem_at_placeholderchecks by @pfackeldey in #3368 - fix: resulting setitem layout type for ak.Record by @pfackeldey in #3372
- fix: change
primitive_policyto allow converting Numpy arrays by @ianna in #3375 - fix: placeholder array repr with extra info by @pfackeldey in #3378
- fix: set allow_lazy to True to avoid touching potential placeholders by @pfackeldey in #3379
- fix: remove unsafe lru cache by @pfackeldey in #3384
- fix: test Pyodide with cibuildwheel and fix 32-bit issue by @henryiii in #3270
Other
- docs: add a performance tip to
ak.transformdocstring by @pfackeldey in #3369 - docs: add HavryliukAY as a contributor for code by @allcontributors in #3376
- refactor: propagate attrs & behavior with dict-like
ak.Arrayinput data by @pfackeldey in #3374 - refactor: simplify attrs & fix its pickability (for e.g. dask.distributed) by @pfackeldey in #3383
- ci: use native arm for wheels by @henryiii in #3381
- chore: remove WASM building in docs.yml by @jpivarski in #3333
- chore: use
_util.native_to_byteorderfunction inak.from_buffersby @pfackeldey in #3354 - chore: remove duplicate code by @pfackeldey in #3360
- chore: update pre-commit hooks by @pre-commit-ci in #3336
- chore(deps): bump the actions group across 1 directory with 3 updates by @dependabot in #3358
- chore: update pre-commit hooks by @pre-commit-ci in #3367
- chore(deps): bump docker/setup-qemu-action from 3.2.0 to 3.3.0 in the actions group by @dependabot in #3366
- chore: update pre-commit hooks by @pre-commit-ci in #3377
- chore: native Apple Silicon wheels by @henryiii in #3382
- chore: check if 32bit right broadcasting test pass again by @pfackeldey in #3386
- chore: reducing warnings by @henryiii in #3387
- chore: minor cleanup by @henryiii in #3385
Full Changelog: v2.7.2...v2.7.3
Version 2.7.2
This is the first version built with MacOS 13 instead of MacOS 12.
New features
- feat: Content.form_with_key_path() by @jpivarski in #3311
- feat: allow
np.arrays inak.full_likeas fill_value by @pfackeldey in #3315
Bug-fixes and performance
- fix: sorting of record arrays without fields (
ak.zip(tuple(...))) by @pfackeldey in #3314 - fix: concatenation of empty records by @pfackeldey in #3316
- fix: extend limit on number of regular arrays to concatenate by @ianna in #3312
- fix: typetracer lengths for optiontypes in 'ak.where' broadcastings by @pfackeldey in #3322
- fix: handle type tracer correctly in indexed option array flattening by @lgray in #3325
- fix: Upstream API changes in cuDF 24.10 by @jpivarski in #3328 (but actually by @martindurant; see #3309)
Other
- chore: update pre-commit hooks by @pre-commit-ci in #3319
- chore(deps): bump the actions group with 2 updates by @dependabot in #3318
- chore: upgrade macos-12 -> macos-13 by @jpivarski in #3327
- chore: update pre-commit hooks by @pre-commit-ci in #3323
Full Changelog: v2.7.1...v2.7.2
Version 2.7.1
New features
(none!)
Bug-fixes and performance
- fix: test from_raggedtensor on CUDA by @ianna in #3298
- fix: use None when ndims can't be inferred from a layout-like obj by @pfackeldey in #3299
- fix: ak.argcombinations should allow negative axis by @jpivarski in #3301
- fix: restrict
named_axisinferring toak.Arrays/ak.Records/ak.HighLevelContextsby default by @pfackeldey in #3304
Other
- chore: update pre-commit hooks by @pre-commit-ci in #3303
- chore: update pre-commit hooks by @pre-commit-ci in #3307
- chore(deps): bump the actions group across 1 directory with 3 updates by @dependabot in #3306
Full Changelog: v2.7.0...v2.7.1
Version 2.7.0
This release drops support for Python 3.8. The supported Python versions are now 3.9 through 3.13 (inclusive). Other than that, it does not differ from 2.6.10.
New features
(none!)
Bug-fixes and performance
(none!)
Other
- chore: remove Python 3.8, ensure Python 3.13 is included by @jpivarski in #3295
Full Changelog: v2.6.10...v2.7.0
Version 2.6.10
New features
- feat: named axis for
ak.Arrayby @pfackeldey in #3238 - feat: to/from TensorFlow Tensor by @maxymnaumchyk in #3292
- feat: updated LayoutBuilder.h (added functors) for C++11 compatibility by @jpivarski in #3281
Bug-fixes and performance
- fix: make sure 'at' is a cupy zero dim array by @ianna in #3271
- fix: add cuda backend support for
to_raggedtensorandfrom_raggedtensorfunctions by @maxymnaumchyk in #3263 - fix: test
from_raggedtensoron GPU by @ianna in #3288 - fix: correct handling of keepdims and mask_identity for weighted mean by @nj-vs-vh in #3291
Other
- docs: add tacaswell as a contributor for maintenance by @allcontributors in #3273
- docs: add basnijholt as a contributor for maintenance by @allcontributors in #3287
- docs: add nj-vs-vh as a contributor for code by @allcontributors in #3293
- chore: update pre-commit hooks by @pre-commit-ci in #3275
- chore: delete
.DS_Storeand add it to .gitignore by @basnijholt in #3286 - chore(deps): bump the actions group across 1 directory with 2 updates by @dependabot in #3290
- test: add simple slice test to cuda by @martindurant in #3242
- chore: update pre-commit hooks by @pre-commit-ci in #3284
- chore: increase try-it version of Awkward to 2.6.4 by @jpivarski in #3279
New Contributors
- @basnijholt made their first contribution in #3286
- @nj-vs-vh made their first contribution in #3291
Full Changelog: v2.6.9...v2.6.10
Version 2.6.9
New features
- feat: Add to_cudf by @martindurant in #3051
- feat: to/from PyTorch Tensor by @maxymnaumchyk in #3259
Bug-fixes and performance
- perf: avoid inflating UnmaskedArrays in broadcasting when you can by @jpivarski in #3254
- fix: TypeError fix for
can_castby @ianna in #3255 - fix: ListArray slicing on GPU by @ianna in #3248
- fix: ak.typetracer.length_one_if_typetracer with option and union types by @jpivarski in #3266
Other
- docs: add ariostas as a contributor for code by @allcontributors in #3240
- docs: add maxymnaumchyk as a contributor for code by @allcontributors in #3241
- docs: pybind11 demo project should have NumPy own the data by @jpivarski in #3261
- ci: use official GHA for uv by @henryiii in #3269
- ci: restore Windows 32-bit wheels by @henryiii in #3268
- chore: update RapidJSON by @tacaswell in #3249
- chore: update affiliation in CITATION.cff by @ManasviGoyal in #3251
- chore(deps): bump the actions group across 1 directory with 3 updates by @dependabot in #3260
- chore: update pre-commit hooks by @pre-commit-ci in #3245
New Contributors
- @tacaswell made their first contribution in #3249
Full Changelog: v2.6.8...v2.6.9