Releases: scikit-hep/coffea
v2024.8.1
What's Changed
Note to users: due to the change of "r" to "rho" when using scikit-hep vector, this causes a fairly notable clash with the per-event pileup energy density, often called "rho". Since .rho
is an awkward behavior if you assign the pileup rho into a jet object, for instance, .rho
will always return the geometrical interpretation. To fix this you can either use object["rho"]
, if you continue to call the variable "rho" in the object, since that method will will only ever access field names. You can also call the pileup rho something else like object["PU_rho" ] = some_pu_variable; print(object.PU_rho)
, which will avoid the name clash in the first place.
New Features
- feat: Add ScoutingNanoAODSchema by @jslawless in #1151
Fixes
- fix: remove lru_cache from Weights by @lgray in #1160
- fix: remove unnecessary overrides of momentum accessors by @lgray in #1161
- fix: Physlite elementlink update 8/4/24 by @SamKelson in #1156
- fix: remove bad accessors for cylindrical pt/eta/phi vectors by @lgray in #1165
Misc.
- ci: bump actions/attest-build-provenance from 1.4.0 to 1.4.1 by @dependabot in #1157
- ci(pre-commit): pre-commit autoupdate by @pre-commit-ci in #1159
New Contributors
- @jslawless made their first contribution in #1151
Full Changelog: v2024.8.0...v2024.8.1
v2024.8.0
What's Changed
NOTE OF CAUTION: This release of coffea switches to use the vector backend which has many trivial differences from coffea's original vector class. There is one major functional difference, if you are using r
to represent cylindrical radius, that is now describe by rho
. This is usually denoted by particle physicists as pt
so there shouldn't be many collisions with existing code.
New Features
- feat: add low-pt electrons to NanoAOD methods and schema by @ikrommyd in #1121
- feat: Sync the DatasetDiscoveryCLI do_preprocess options with preprocess function by @NJManganelli in #1137
- refactor!: back nanoevents.methods.vector with scikit-hep vector by @lgray in #991
- fix: depend on vector v1.3.1 + trim down coffea vectors by @Saransh-cpp in #1061
- fix: add correct behaviors and projection classes for candidate classes by @Saransh-cpp in #1063
- fix: copy behaviors for the remaining vector sub-classes by @Saransh-cpp in #1124
- fix: updates from review by @Saransh-cpp in #1130
- fix: Revert "fix: updates from review" by @Saransh-cpp in #1133
- fix: use the new type signature for copy_behaviors by @Saransh-cpp in #1136
- fix: copy_behaviors should be called before class definition by @Saransh-cpp in #1152
- chore: bump vector version by @Saransh-cpp in #1153
Fixes
- fix: allow importing
ml_tools
modules withoutxgboost
by @Saransh-cpp in #1127 - fix: correct coffea version in docs by @Saransh-cpp in #1155
Misc.
- ci(pre-commit): pre-commit autoupdate by @pre-commit-ci in #1123
- ci(pre-commit): pre-commit autoupdate by @pre-commit-ci in #1126
- ci(pre-commit): pre-commit autoupdate by @pre-commit-ci in #1128
- build: pin sphinx < 8 while people are updating packages by @lgray in #1145
- ci(pre-commit): pre-commit autoupdate by @pre-commit-ci in #1132
- ci: bump actions/attest-build-provenance from 1.3.2 to 1.4.0 by @dependabot in #1143
- build: awkward pinned below from 2.6.7 by @lgray in #1146
- ci: use python -m pytest due to windows environment change by @lgray in #1149
- ci(pre-commit): pre-commit autoupdate by @pre-commit-ci in #1150
- ci(fix): remove fetch-tags by @lgray in #1154
New Contributors
- @NJManganelli made their first contribution in #1137
Full Changelog: v2024.6.1...v2024.8.0
v2024.6.1
What's Changed
New Features
Fixes
- fix: UpRoot's KeyInFileError Handling for Preprocessor's File Exception Parameter; Fixes #1107 by @SamKelson in #1106
- fix: deprecate json_lookup by @lgray in #1113
- fix: remove upper limit on numpy 2, update tests by @lgray in #1115
- fix(ci): numpy<2 in tests for windows by @lgray in #1122
Misc.
- ci(pre-commit): pre-commit autoupdate by @pre-commit-ci in #1105
- ci: bump actions/attest-build-provenance from 1.2.0 to 1.3.1 by @dependabot in #1109
- build(deps): pin numpy < 2 while boost_histogram is broken by @lgray in #1114
- ci: bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 by @dependabot in #1110
- ci(pre-commit): pre-commit autoupdate by @pre-commit-ci in #1116
- ci: bump actions/attest-build-provenance from 1.3.1 to 1.3.2 by @dependabot in #1117
New Contributors
- @SamKelson made their first contribution in #1106
Full Changelog: v2024.6.0...v2024.6.1
v2024.6.0
What's Changed
New Features
Fixes
Misc.
- ci(pre-commit): pre-commit autoupdate by @pre-commit-ci in #1093
- ci: Add GitHub artifact attestations to package distribution by @matthewfeickert in #1096
- ci(pre-commit): pre-commit autoupdate by @pre-commit-ci in #1098
- ci(pre-commit): pre-commit autoupdate by @pre-commit-ci in #1102
- ci: bump actions/attest-build-provenance from 1.1.2 to 1.2.0 by @dependabot in #1103
Full Changelog: v2024.5.0...v2024.6.0
v2024.5.0
What's Changed
New Features
Fixes
Misc
- ci(pre-commit): pre-commit autoupdate by @pre-commit-ci in #1084
- ci: drop python 3.8 (images not consistently available) by @lgray in #1085
- build: Disallow uproots with known form manipulation issue by @matthewfeickert in #1091
- ci(pre-commit): pre-commit autoupdate by @pre-commit-ci in #1087
- ci: Use uv for all pip installs by @matthewfeickert in #1090
Full Changelog: v2024.4.1...v2024.5.0
v2024.4.1
What's Changed
New Features
- feat: Request all arrays from uproot at once inside dask task by @nsmith- in #1076
- feat: use tree reduction to aggregate files in preprocessing by @alexander-held in #1079
Fixes
- fix: update Applying corrections notebook by @Saransh-cpp in #1070
Misc
- ci(pre-commit): pre-commit autoupdate by @pre-commit-ci in #1071
- ci(pre-commit): pre-commit autoupdate by @pre-commit-ci in #1081
Full Changelog: v2024.4.0...v2024.4.1
v2024.4.0
What's Changed
New Features
Fixes
Misc
- ci(pre-commit): pre-commit autoupdate by @pre-commit-ci in #1060
- ci(pre-commit): pre-commit autoupdate by @pre-commit-ci in #1062
- ci(pre-commit): pre-commit autoupdate by @pre-commit-ci in #1067
- build: bump awkward for numpy 2 compatibility by @lgray in #1068
- ci(pre-commit): pre-commit autoupdate by @pre-commit-ci in #1069
Full Changelog: v2024.3.0...v2024.4.0
v2024.3.0
What's Changed
New Features
Fixes
- fix: properly retain user metadata in preprocess by @lgray in #1051
- fix(build): unpin distributed as well! by @lgray in #1057
Misc.
- ci: bump pypa/gh-action-pypi-publish from 1.8.11 to 1.8.12 by @dependabot in #1049
- build: unpin dask and skooch dask-awkward pin by @lgray in #1055
- build: pin dask-histogram to >=2024.3.0 by @lgray in #1056
- ci: bump pypa/gh-action-pypi-publish from 1.8.12 to 1.8.14 by @dependabot in #1058
- build: for recent python use dask 2024.3.0 by @lgray in #1059
Full Changelog: v2024.2.2...v2024.3.0
v2024.2.2
What's Changed
This release is to pin to uproot 5.3.0 and adapt to the interface changes therein.
New Features
- feat:
modifier
argument forpartial_weights
method by @rkansal47 in #1042
Fixes
- fix: use ak.merge_union_of_records to generate input data format by @lgray in #1017
- fix: make
apply_to_fileset
be able to handle tuple outputs ofdata_manipulation
. by @iasonkrom in #1038 - fix: adjust to breaking changes in form mapping interface by @lgray in #1047
Other
- ci(pre-commit): pre-commit autoupdate by @pre-commit-ci in #1035
- chore: test in python 3.12 by @lgray in #1040
- perf: use an lru_cache for weight, partial_weight, require by @lgray in #1043
- ci(pre-commit): pre-commit autoupdate by @pre-commit-ci in #1044
Full Changelog: v2024.2.1...v2024.2.2
v2024.2.1
What's Changed
New Features
Fixes
- fix: update
DataDiscoveryCLI
usage of dataset_tools.preprocess by @iasonkrom in #1024 - fix: remove branches that aren't interpretable as nanoevents in preprocess by @lgray in #1031
- fix(build): pin dask < 2024.2.0 until a fix in awkward is in place by @lgray in #1033
Other
- ci(pre-commit): pre-commit autoupdate by @pre-commit-ci in #1026
- ci: bump ts-graphviz/setup-graphviz from 1 to 2 by @dependabot in #1028
- ci: bump pre-commit/action from 3.0.0 to 3.0.1 by @dependabot in #1029
Full Changelog: v2024.2.0...v2024.2.1