From 4b37f8cdc531be41a7f7e57932f0b770244025d5 Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Fri, 6 Sep 2024 11:58:11 +0100 Subject: [PATCH] Bump version: v4.7.3 --- README.md | 10 ++++++++++ docs/conf.py | 2 +- pyinstrument/__init__.py | 2 +- setup.py | 2 +- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 82e11021..a27ab6a4 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,16 @@ Known issues Changelog --------- +### v4.7.3 + +_6 September 2024_ + +- Fix a bug introduced in 4.7.0 which would cause the profiler to crash when profiling code with unusual locals, notably some pytest extensions (#332) +- Fix a bug that causes pyinstrument to fail to import packages like `glom` on Python 3.12 or later, which mutate the locals() dict. (#336) +- Fix a bug that caused a `UnicodeDecodeError` on some platforms (#330) +- Fix a DivideByZero error that occurs in some situations +- The IPython integration takes greater step to ensure a clean profile output, by ensuring internal frames are trimmed before printing. (#321) + ### v4.7.2 _5 August 2024_ diff --git a/docs/conf.py b/docs/conf.py index 4fd3afde..efa94818 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -22,7 +22,7 @@ author = "Joe Rickerby" # The full version, including alpha/beta/rc tags -release = "4.7.2" +release = "4.7.3" # -- General configuration --------------------------------------------------- diff --git a/pyinstrument/__init__.py b/pyinstrument/__init__.py index b86a857d..23525f3d 100644 --- a/pyinstrument/__init__.py +++ b/pyinstrument/__init__.py @@ -4,7 +4,7 @@ from pyinstrument.profiler import Profiler __all__ = ["__version__", "Profiler", "load_ipython_extension", "profile"] -__version__ = "4.7.2" +__version__ = "4.7.3" # enable deprecation warnings warnings.filterwarnings("once", ".*", DeprecationWarning, r"pyinstrument\..*") diff --git a/setup.py b/setup.py index f65fc56f..3ae45bd9 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setup( name="pyinstrument", packages=find_namespace_packages(include=["pyinstrument*"]), - version="4.7.2", + version="4.7.3", ext_modules=[ Extension( "pyinstrument.low_level.stat_profile",