From 36ea9bc4592d6f338893bb897fccf4df40921976 Mon Sep 17 00:00:00 2001 From: Mark Smith <mark.smith@cern.ch> Date: Wed, 6 Sep 2023 18:26:45 +0200 Subject: [PATCH 1/2] Release notes for v14r8p5 --- CMakeLists.txt | 4 +-- ReleaseNotes/v14r8p5.md | 80 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+), 2 deletions(-) create mode 100644 ReleaseNotes/v14r8p5.md diff --git a/CMakeLists.txt b/CMakeLists.txt index 135fd3fa3..5b64ce77b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,6 +16,6 @@ find_package(GaudiProject) #--------------------------------------------------------------- # Declare project name and version -gaudi_project(Stripping v14r8p4 - USE Phys v25r12 +gaudi_project(Stripping v14r8p5 + USE Phys v25r13 DATA TMVAWeights) diff --git a/ReleaseNotes/v14r8p5.md b/ReleaseNotes/v14r8p5.md new file mode 100644 index 000000000..90cfa7385 --- /dev/null +++ b/ReleaseNotes/v14r8p5.md @@ -0,0 +1,80 @@ +2023-09-06 Stripping v14r8p5 +=== + +This version uses Phys v25r13, Rec v23r9, Lbcom v22r4, LHCb v44r9, Gaudi v29r5 and LCG 93. + +This version is released on `2018-patches` branch. It is intended for 2018 incremental stripping (`S34r0p3`), 2017 incremental stripping (`S29r2p3`), 2016 incremental stripping (`S28r2p2`) and patches to stripping in 2016, 2017 and 2018 simulation workflows. Builds with gcc62 on centos7. +Built relative to Stripping [v14r8p4](../-/tags/v14r8p4), with the following changes: + + +### Fixes ~"bug fix" ~workaround + +- Add RelInfoTools for SS, DDK modes in B2STauTauInclusive, !1908 (@avenkate) +- Fixed fake pi Line bug and renamed NoPID to ReversePID, !1906 (@lmadhanm) +- Bug fix Beauty2Majo lines, !1902 (@valukash) +- Fix to StrippingBandQ/__init__.py, !1689 (@vazhovko) +- Fix to StrippingB2OC/__init__.py, !1687 (@abertoli) + + +### Enhancements ~enhancement + +- Flake8 on Phys/Stripping/, !1732 (@erodrigu) +- Selectively run Flake8 with a .flake8 file, !1730 (@erodrigu) +- Add Flake8 linting in 2018-patches, targetting only Phys/StrippingConf for now, !1727 (@erodrigu) +- Add Validation tests to CI (2018-patches), !1722 (@ngrieser) + + +### Code cleanups and changes to tests ~modernisation ~cleanup ~testing + +- Add TMVAWeights to the CI checkout flow., !1845 (@ngrieser) +- Update CI to use 2018-patches of Rec and Phys to get needed updates updates., !1817 (@ngrieser) +- Update coordinator retention test to run all three years., !1814 (@ngrieser) +- Flake8 on (a good fraction of) Phys/CommonParticlesArchive, !1753 (@erodrigu) +- Add Rare Decays CI tests, !1749 (@ngrieser) +- Fix typo in CI yml file., !1731 (@ngrieser) +- Cleanup old versions on 2018-patches, !1726 (@ngrieser) [#48] +- Modernize stripping tests, !1728 (@ngrieser) +- Lint Stripping/2018-patches - take 2, !1725 (@erodrigu) +- Lint Stripping/2018-patches - take 1, !1723 (@erodrigu) +- Run autopep8 over the whole Stripping/2018-patches to comply with modern linting, !1710 (@erodrigu) + + +### Documentation ~Documentation + +- Summary plot making, !1750 (@ngrieser) + +### Other + +- Make necessary changes to fix hanging commas., !1911 (@ngrieser) +- Validation1 db/archive update, !1910 (@ngrieser) +- Update RD configure, !1909 (@yitang) +- Change stream of Lb2PKLTauHadronic module from Leptonic to Semileptonic, !1907 (@fbetti) +- Fix B2PiMuNuMVA misID, !1905 (@masmith) +- CharmWG - Fix for the `StrippingDstarD02ETau` after local MC production and check of validation datasets, !1903 (@matzeni) +- BnoC fixes for Xibm2hyperon_hh_4h and Xibm2V03, !1901 (@msaur) +- CharmWG: Fix the Xic02LmdLLPiPiline by using verylooseLmdLL, !1904 (@yinghao) +- Rd update DarkBoson configuration, !1900 (@yitang) +- RD_fixInclDet6muLongLivedDownDown-2018_patches, !1899 (@emrodrig) +- Move Lb2LcLcn Lines to BhadronCompleteEvent, !1896 (@nhowarth) +- DarkBoson. Moving busy lines to Bhadron stream, !1895 (@acasaisv) +- Removing RD_MultiLeptonLines with rates above threshold, !1892 (@yitang) +- 2023 campaign dbases and archives, !1890 (@ngrieser) +- Fix formatting typo in LineDict S29r2p3, !1889 (@ngrieser) +- Remove duplicate input containers from StrippingNeutralCBaryons, !1888 (@avenkate) +- Rd 2018 patches, !1742 (@yitang) +- Remove duplicate input particle containers, !1887 (@avenkate) +- B2OC 2018 patches, !1744 (@lzhu) +- BandQ 2018 patches, !1743 (@ssheng) +- Charm 2018 patches, !1741 (@sjaimese) +- QEE 2018 patches, !1740 (@xiaolinw) +- BnoC 2018 patches, !1739 (@gawang) +- Ift 2018 patches, !1738 (@hjage) +- Semileptonic 2018 patches, !1736 (@facglase) +- B2CC 2018 patches, !1735 (@jiew) +- 2023 restrip skeleton, !1729 (@ngrieser) +- Revert "Merge branch 'erodrigu-lint-2018-patches' into '2018-patches'", !1716 (@masmith) +- New files from 28r2p1, !1704 (@masmith) +- Last parts of v28r2p1 merging, !1703 (@masmith) +- Add 28r2p1 line config dictionaries, !1702 (@masmith) +- Add Stripping 28r2p1 archive, !1699 (@masmith) +- Move away from using CERN-SWTEST, !1697 (@rmatev) -- GitLab From 064b4c256881c5a3d686d3b926cef65f02519ec3 Mon Sep 17 00:00:00 2001 From: Mark Smith <mark.smith@cern.ch> Date: Wed, 6 Sep 2023 18:37:59 +0200 Subject: [PATCH 2/2] fix linting --- Phys/StrippingConf/python/StrippingConf/Configuration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Phys/StrippingConf/python/StrippingConf/Configuration.py b/Phys/StrippingConf/python/StrippingConf/Configuration.py index 5e535cf89..261f48d78 100644 --- a/Phys/StrippingConf/python/StrippingConf/Configuration.py +++ b/Phys/StrippingConf/python/StrippingConf/Configuration.py @@ -523,7 +523,7 @@ def __enroll__(self, # the object """ - if type(self) == str: + if type(self) is str: cfg = string2Configurable(self) if cfg: self = cfg @@ -537,7 +537,7 @@ def __enroll__(self, # the object try: line = _indent_ + self.name() except: # noqa - line = _indent_ + (self if type(self) == str else '<UNKNOWN>') + line = _indent_ + (self if type(self) is str else '<UNKNOWN>') if len1(line) > (_tab-1): line += '\n' + _tab*' ' -- GitLab