From 0c019019fddfae2435209fbf8b3d2c53483647a6 Mon Sep 17 00:00:00 2001 From: Brendan Whitfield Date: Sun, 6 Apr 2025 20:24:33 -0700 Subject: [PATCH 1/2] Uprev pint to 0.24.* for python 3.13+ support --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index a5e30300..ac3274c0 100644 --- a/setup.py +++ b/setup.py @@ -30,5 +30,5 @@ packages=find_packages(), include_package_data=True, zip_safe=False, - install_requires=["pyserial==3.*", "pint==0.20.*"], + install_requires=["pyserial==3.*", "pint==0.24.*"], ) From c30cfc3511122f7519582559805d2e87c677dba5 Mon Sep 17 00:00:00 2001 From: Brendan Whitfield Date: Sun, 6 Apr 2025 21:00:20 -0700 Subject: [PATCH 2/2] Uprev tox.ini to test python 3.13 Also corrected some of the package classifiers to indicate that this python library no longer supports python 2. It didn't even with the older 0.20.* Pint, though Pint itself now only supports python 3.9+ --- setup.py | 6 +++++- tox.ini | 5 +++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index ac3274c0..f16a0232 100644 --- a/setup.py +++ b/setup.py @@ -16,8 +16,12 @@ "Operating System :: POSIX :: Linux", "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", "Topic :: System :: Monitoring", - "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Development Status :: 3 - Alpha", "Topic :: System :: Logging", "Intended Audience :: Developers", diff --git a/tox.ini b/tox.ini index 20476082..6fe55f43 100644 --- a/tox.ini +++ b/tox.ini @@ -1,14 +1,15 @@ [tox] envlist = - py{38,39,310,311}, + py{39,310,311,312,313}, coverage [gh-actions] python = - 3.8: py38 3.9: py39 3.10: py310 3.11: py311 + 3.12: py312 + 3.13: py313 [testenv] usedevelop = true