From 5cdd16f7dda5b52949f244501504b0906cdc0689 Mon Sep 17 00:00:00 2001 From: Javier Duarte Date: Tue, 7 Mar 2023 11:02:01 -0800 Subject: [PATCH] Bump to 3.4.0.5 (#179) * Update version.py * Update _generalevent.py * Update _multievent.py * Update _singleevent.py --- src/fastjet/_generalevent.py | 3 ++- src/fastjet/_multievent.py | 3 ++- src/fastjet/_singleevent.py | 3 ++- src/fastjet/version.py | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/fastjet/_generalevent.py b/src/fastjet/_generalevent.py index ce18466f..65ee5cac 100644 --- a/src/fastjet/_generalevent.py +++ b/src/fastjet/_generalevent.py @@ -311,7 +311,8 @@ def _warn_for_exclusive(self): ): warnings.formatwarning = fastjet.formatwarning warnings.warn( - "dcut and exclusive jets for jet-finders other than kt, C/A or genkt with p>=0 should be interpreted with care." + "dcut and exclusive jets for jet-finders other than kt, C/A or genkt with p>=0 should be interpreted with care.", + stacklevel=2, ) return diff --git a/src/fastjet/_multievent.py b/src/fastjet/_multievent.py index addc9997..36b3de83 100644 --- a/src/fastjet/_multievent.py +++ b/src/fastjet/_multievent.py @@ -71,7 +71,8 @@ def _warn_for_exclusive(self): ): warnings.formatwarning = fastjet.formatwarning warnings.warn( - "dcut and exclusive jets for jet-finders other than kt, C/A or genkt with p>=0 should be interpreted with care." + "dcut and exclusive jets for jet-finders other than kt, C/A or genkt with p>=0 should be interpreted with care.", + stacklevel=2, ) return diff --git a/src/fastjet/_singleevent.py b/src/fastjet/_singleevent.py index 7d1afc5c..bdb57b3b 100644 --- a/src/fastjet/_singleevent.py +++ b/src/fastjet/_singleevent.py @@ -76,7 +76,8 @@ def _warn_for_exclusive(self): ): warnings.formatwarning = fastjet.formatwarning warnings.warn( - "dcut and exclusive jets for jet-finders other than kt, C/A or genkt with p>=0 should be interpreted with care." + "dcut and exclusive jets for jet-finders other than kt, C/A or genkt with p>=0 should be interpreted with care.", + stacklevel=2, ) return diff --git a/src/fastjet/version.py b/src/fastjet/version.py index 6bb8f5f1..ab662eda 100644 --- a/src/fastjet/version.py +++ b/src/fastjet/version.py @@ -2,7 +2,7 @@ import re -__version__ = "3.4.0.4" +__version__ = "3.4.0.5" version = __version__ version_info = tuple(re.split(r"[-\.]", __version__))