From 51608b06ffc1f5c37289d1939759ed870887b199 Mon Sep 17 00:00:00 2001 From: Karl-Petter Lindegaard <5760583+kplindegaard@users.noreply.github.com> Date: Sat, 19 Oct 2024 10:59:01 +0200 Subject: [PATCH] Prep release 0.5.0 (#116) --- .github/workflows/python-build-test.yml | 2 +- CHANGELOG.md | 11 +++++++++-- setup.py | 3 ++- smbus2/__init__.py | 2 +- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python-build-test.yml b/.github/workflows/python-build-test.yml index 823dbf5..0381895 100644 --- a/.github/workflows/python-build-test.yml +++ b/.github/workflows/python-build-test.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ef9cff..ab512ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,13 @@ Notable changes to the smbus2 project are recorded here. ## [Unreleased] -- Python 3.12 added. + +## [0.5.0] - 2024-10-19 +- Slight change of `SMBus` object life-cycle to better handle "open -> close -> open" scenarios. [107](https://github.com/kplindegaard/smbus2/pull/107). +- Maintenance updates: + - Documentation builds again! [106](https://github.com/kplindegaard/smbus2/pull/106). + - Typing corrections. [109](https://github.com/kplindegaard/smbus2/pull/109). + - Python 3.12, 3.13 added. ## [0.4.3] - 2023-08-25 - Build pipeline and test updates only: @@ -100,7 +106,8 @@ with SMBus(1) as bus: First published version. -[Unreleased]: https://github.com/kplindegaard/smbus2/compare/0.4.3...HEAD +[Unreleased]: https://github.com/kplindegaard/smbus2/compare/0.5.0...HEAD +[0.5.0]: https://github.com/kplindegaard/smbus2/compare/0.4.3...0.5.0 [0.4.3]: https://github.com/kplindegaard/smbus2/compare/0.4.2...0.4.3 [0.4.2]: https://github.com/kplindegaard/smbus2/compare/0.4.1...0.4.2 [0.4.1]: https://github.com/kplindegaard/smbus2/compare/0.4.0...0.4.1 diff --git a/setup.py b/setup.py index 4eeb38e..dbddb3b 100644 --- a/setup.py +++ b/setup.py @@ -61,6 +61,7 @@ def find_version(*file_paths): "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12" + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13" ], ) diff --git a/smbus2/__init__.py b/smbus2/__init__.py index f52948f..f7f465e 100644 --- a/smbus2/__init__.py +++ b/smbus2/__init__.py @@ -22,5 +22,5 @@ from .smbus2 import SMBus, i2c_msg, I2cFunc # noqa: F401 -__version__ = "0.4.3" +__version__ = "0.5.0" __all__ = ["SMBus", "i2c_msg", "I2cFunc"]