Releases: cms-nanoAOD/correctionlib
v2.6.4
v2.6.3
v2.6.2
Mostly bugfixes, though a new validation option is available: correction validate --ignore-float-inf
. The plan is to migrate fully to string infinities on a longer timescale (potentially v3) as old evaluators are not forwards-compatible.
What's Changed
- fix: re-raise error if conditions for dispatch not met by @lgray in #253
- Bump pypa/cibuildwheel from 2.19.1 to 2.19.2 by @dependabot in #249
- Use fast printing for pydantic validation errors by @nsmith- in #256
- Add a validation option to ignore float infinities in bin edges by @nsmith- in #257
- Make the help message slightly more clear by @nsmith- in #259
- Link against libz and pthread privately by @nsmith- in #258
Full Changelog: v2.6.1...v2.6.2
Version 2.6.1
This is a patch release on v2.6 that allows the evaluator to read correctionlib JSON made prior to the migration to string infinity.
What's Changed
Full Changelog: v2.6.0...v2.6.1
Version 2.6.0
The main purpose of this release is to ensure numpy 2.0 compatibility.
See #240 (comment) for details.
Also, a new method of handling infinities in bin edges is introduced: one needs to use "inf"
or "-inf"
rather than floating point values. A warning explains in detail how to change corrections.
What's Changed
- Fix PyROOT binding registration by @nsmith- in #224
- Update to pybind11 v2.12 and migrate to string infinity by @nsmith- in #242
- Better error for missing input by @nsmith- in #243
- Duplicate check in evaluator by @nsmith- in #244
- Cast int inputs to double in binning evaluations by @nsmith- in #245
Dependency updates
- Bump pypa/cibuildwheel from 2.16.5 to 2.17.0 by @dependabot in #227
- Bump peaceiris/actions-gh-pages from 3.9.3 to 4.0.0 by @dependabot in #229
- Bump conda-incubator/setup-miniconda from 2.2.0 to 3.0.4 by @dependabot in #231
- Bump pypa/cibuildwheel from 2.17.0 to 2.19.1 by @dependabot in #238
- Bump pypa/gh-action-pypi-publish from 1.8.11 to 1.9.0 by @dependabot in #239
Full Changelog: v2.5.0...v2.6.0
Version 2.5.0
More dask-awkward support and pydantic 2 migration. Python 3.6 support is dropped, and 3.12 added.
What's Changed
- Make interfaces of C++ correction types more uniform by @eguiraud in #215
- Bump pypa/gh-action-pypi-publish from 1.8.10 to 1.8.11 by @dependabot in #216
- Migrate to pydantic2 by @nsmith- in #220
- feat: add dask_awkward wrapper to Correction and CompoundCorrection by @lgray in #219
- Move away from deprecated pkg_resources by @eguiraud in #210
- Bump pypa/cibuildwheel from 2.14.1 to 2.16.5 by @dependabot in #221
Full Changelog: v2.4.0...v2.5.0
Version 2.4.0
The parsed Formula objects are now readable via a python API, for use in upstream packages such as the forthcoming correctionlib-gradients utility.
What's Changed
- Add ARCHITECTURE.md by @eguiraud in #205
- Store all information about the AST in FormulaAST by @eguiraud in #212
- Expose FormulaAST from C++ to Python by @eguiraud in #214
- Factor out common logic in [Multi]Binning::child by @eguiraud in #207
Full Changelog: v2.3.3...v2.4.0
Version 2.3.3
This fixes hopefully the last deployment bug, otherwise identical to v2.3
What's Changed
Full Changelog: v2.3.2...v2.3.3
Version 2.3.2
This fixes yet another deployment bug (missing dependency), otherwise identical to v2.3
What's Changed
Full Changelog: v2.3.1...v2.3.2
Version 2.3.1
This release is the same as v2.3 but with a fix to the deployment. I've copied the v2.3 release notes below. In this release, awkward1 and awkward2 are now supported, but only awkward2 jagged arrays will be broadcast. For awkward1, users will still need to flatten arrays before passing to evaluate()
calls.
What's Changed
- Drop python 3.6 by @nsmith- in #167
- Release GIL in veval by @nsmith- in #168
- Fix all C++ compilation warnings in gcc 12.2 and clang 15 by @eguiraud in #179
- Add UniformBinning to schemav2 by @eguiraud in #186
- CI maintenance by @nsmith- in #195
- Update install.md by @nsmith- in #190
- Remove some unneeded build dependencies. by @tjni in #197
- feat: allow awkward arrays as input by @lgray in #188
- Fix py3.6 wheel test by @nsmith- in #200
Full Changelog: v2.3.0...v2.3.1