From 5b5b620f5f292572923a7a51217b7f65ded851eb Mon Sep 17 00:00:00 2001 From: Liu Fei Date: Wed, 5 Feb 2025 15:46:53 +0800 Subject: [PATCH 1/4] update pint to 0.24.4 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index a5e30300..a4401d9d 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.4"], ) From 574ec27c8f1687a5e136bbba92aed5774568e233 Mon Sep 17 00:00:00 2001 From: Liu Fei Date: Wed, 5 Feb 2025 15:47:40 +0800 Subject: [PATCH 2/4] bumped to v0.7.3 --- obd/__version__.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/obd/__version__.py b/obd/__version__.py index fb9b668f..1ef13195 100644 --- a/obd/__version__.py +++ b/obd/__version__.py @@ -1 +1 @@ -__version__ = '0.7.2' +__version__ = '0.7.3' diff --git a/setup.py b/setup.py index a4401d9d..4cf9c9e0 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setup( name="obd", - version="0.7.2", + version="0.7.3", description=("Serial module for handling live sensor data from a vehicle's OBD-II port"), long_description=long_description, long_description_content_type="text/markdown", From 2b94dbf77b1e4ca7bd5aa5e42b7e5a638daa7e45 Mon Sep 17 00:00:00 2001 From: Liu Fei Date: Wed, 5 Feb 2025 15:49:31 +0800 Subject: [PATCH 3/4] update shell script --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 319594e7..03df976f 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Installation ------------ ```Shell -$ pip install obd +$ pip install git+https://github.com/luckkyboy/python-OBD.git ``` Basic Usage From cf87f41ff5cbe071f08fa7c91c999905179f9acd Mon Sep 17 00:00:00 2001 From: Liu Fei Date: Tue, 11 Feb 2025 15:14:41 +0800 Subject: [PATCH 4/4] Fix escaped serial port label string --- obd/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obd/utils.py b/obd/utils.py index 77cb36e2..221d3e9c 100644 --- a/obd/utils.py +++ b/obd/utils.py @@ -174,7 +174,7 @@ def scan_serial(): possible_ports += glob.glob("/dev/ttyUSB[0-9]*") elif sys.platform.startswith('win'): - possible_ports += ["\\.\COM%d" % i for i in range(256)] + possible_ports += [r"\\.\COM%d" % i for i in range(256)] elif sys.platform.startswith('darwin'): exclude = [