Skip to content

Commit d5ecdeb

Browse files
committed
Prepare release 0.10.0
1 parent 7d7628b commit d5ecdeb

4 files changed

Lines changed: 12 additions & 3 deletions

File tree

HISTORY.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release History
22

3+
## 0.10.0 (2025-02-19)
4+
### Improvements
5+
- Python 3.13 supported.
6+
- Added `message` and `time_str` properties to `CodeTimer` class.
7+
38
## 0.9.1 (2023-10-25)
49
### Fixes
510
- `StringBuffers.flush(file)` does not raise `ValueError` if `file` has not been previously added.

jacktrade/benchmark.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ class CodeTimer:
4444
- m: Code execution time in minutes.
4545
- h: Code execution time in hours.
4646
- d: Code execution time in days.
47+
48+
Properties:
49+
- time_str: Returns the formatted string representation of execution time.
50+
- message: Returns the message normally printed on measurement completion.
4751
"""
4852

4953
_UNITS_SECONDS = ("ns", "us", "ms", "s")

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ profile = "black"
1010

1111
[project]
1212
name = "jacktrade"
13-
version = "0.9.1"
13+
version = "0.10.0"
1414
authors = [
1515
{ name="Mario Zaja", email="mzaja0@gmail.com" },
1616
]

scripts/deploy.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
@REM Check history, commit, tag the release and push to remote
1414
@REM =========================================================
1515
@REM Set release version here:
16-
SET RELEASE_VERSION=0.9.1
16+
SET RELEASE_VERSION=0.10.0
1717

1818
@REM Check that the distribution has been built already
1919
IF NOT EXIST "dist\jacktrade-%RELEASE_VERSION%-py3-none-any.whl" (
@@ -47,7 +47,7 @@ IF %ERRORLEVEL% NEQ 0 (
4747
)
4848

4949
@REM Stage and commit files, add tags and push
50-
git add .
50+
git add pyproject.toml HISTORY.md deploy.bat
5151
git commit -m "Prepare release %RELEASE_VERSION%"
5252
git tag v%RELEASE_VERSION%
5353
git push

0 commit comments

Comments
 (0)