Correctionlib

Latest version: v2.6.4

Safety actively analyzes 689550 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

2.6.4

Identical to v2.6.2. Fixes yet another deployment bug.

What's Changed
* Correctly use new artifacts action by nsmith- in https://github.com/cms-nanoAOD/correctionlib/pull/261


**Full Changelog**: https://github.com/cms-nanoAOD/correctionlib/compare/v2.6.3...v2.6.4

2.6.3

Identical to v2.6.2. Fixes a deployment bug.

What's Changed
* Use trusted publisher by nsmith- in https://github.com/cms-nanoAOD/correctionlib/pull/260


**Full Changelog**: https://github.com/cms-nanoAOD/correctionlib/compare/v2.6.2...v2.6.3

2.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 https://github.com/cms-nanoAOD/correctionlib/pull/253
* Bump pypa/cibuildwheel from 2.19.1 to 2.19.2 by dependabot in https://github.com/cms-nanoAOD/correctionlib/pull/249
* Use fast printing for pydantic validation errors by nsmith- in https://github.com/cms-nanoAOD/correctionlib/pull/256
* Add a validation option to ignore float infinities in bin edges by nsmith- in https://github.com/cms-nanoAOD/correctionlib/pull/257
* Make the help message slightly more clear by nsmith- in https://github.com/cms-nanoAOD/correctionlib/pull/259
* Link against libz and pthread privately by nsmith- in https://github.com/cms-nanoAOD/correctionlib/pull/258


**Full Changelog**: https://github.com/cms-nanoAOD/correctionlib/compare/v2.6.1...v2.6.2

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
* Re-enable rapidjson::kParseNanAndInfFlag for backwards-compatibility by nsmith- in https://github.com/cms-nanoAOD/correctionlib/pull/248


**Full Changelog**: https://github.com/cms-nanoAOD/correctionlib/compare/v2.6.0...v2.6.1

2.6.0

The main purpose of this release is to ensure numpy 2.0 compatibility.
⚠️ With previous versions of correctionlib and numpy 2.0, there are silent wrong results for vectorized evaluation ⚠️
See https://github.com/cms-nanoAOD/correctionlib/issues/240#issuecomment-2180894543 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 https://github.com/cms-nanoAOD/correctionlib/pull/224
* Update to pybind11 v2.12 and migrate to string infinity by nsmith- in https://github.com/cms-nanoAOD/correctionlib/pull/242
* Better error for missing input by nsmith- in https://github.com/cms-nanoAOD/correctionlib/pull/243
* Duplicate check in evaluator by nsmith- in https://github.com/cms-nanoAOD/correctionlib/pull/244
* Cast int inputs to double in binning evaluations by nsmith- in https://github.com/cms-nanoAOD/correctionlib/pull/245

Dependency updates
* Bump pypa/cibuildwheel from 2.16.5 to 2.17.0 by dependabot in https://github.com/cms-nanoAOD/correctionlib/pull/227
* Bump peaceiris/actions-gh-pages from 3.9.3 to 4.0.0 by dependabot in https://github.com/cms-nanoAOD/correctionlib/pull/229
* Bump conda-incubator/setup-miniconda from 2.2.0 to 3.0.4 by dependabot in https://github.com/cms-nanoAOD/correctionlib/pull/231
* Bump pypa/cibuildwheel from 2.17.0 to 2.19.1 by dependabot in https://github.com/cms-nanoAOD/correctionlib/pull/238
* Bump pypa/gh-action-pypi-publish from 1.8.11 to 1.9.0 by dependabot in https://github.com/cms-nanoAOD/correctionlib/pull/239

**Full Changelog**: https://github.com/cms-nanoAOD/correctionlib/compare/v2.5.0...v2.6.0

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 https://github.com/cms-nanoAOD/correctionlib/pull/215
* Bump pypa/gh-action-pypi-publish from 1.8.10 to 1.8.11 by dependabot in https://github.com/cms-nanoAOD/correctionlib/pull/216
* Migrate to pydantic2 by nsmith- in https://github.com/cms-nanoAOD/correctionlib/pull/220
* feat: add dask_awkward wrapper to Correction and CompoundCorrection by lgray in https://github.com/cms-nanoAOD/correctionlib/pull/219
* Move away from deprecated pkg_resources by eguiraud in https://github.com/cms-nanoAOD/correctionlib/pull/210
* Bump pypa/cibuildwheel from 2.14.1 to 2.16.5 by dependabot in https://github.com/cms-nanoAOD/correctionlib/pull/221


**Full Changelog**: https://github.com/cms-nanoAOD/correctionlib/compare/v2.4.0...v2.5.0

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.