From 58de84945ff19bc359056b40239727004c9c328c Mon Sep 17 00:00:00 2001 From: Mike Kinney Date: Wed, 2 Mar 2022 11:39:07 -0800 Subject: [PATCH] change version per pypi reqs --- meshtastic/tests/test_main.py | 4 ++-- setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meshtastic/tests/test_main.py b/meshtastic/tests/test_main.py index 6e4248fb..725f5130 100644 --- a/meshtastic/tests/test_main.py +++ b/meshtastic/tests/test_main.py @@ -46,7 +46,7 @@ def test_main_init_parser_version(capsys): assert pytest_wrapped_e.type == SystemExit assert pytest_wrapped_e.value.code == 0 out, err = capsys.readouterr() - assert re.match(r'[0-9]+\.[0-9a-z]+\.[0-9]', out) + assert re.match(r'[0-9]+\.[0-9]+[\.a][0-9]', out) assert err == '' @@ -62,7 +62,7 @@ def test_main_main_version(capsys): assert pytest_wrapped_e.type == SystemExit assert pytest_wrapped_e.value.code == 0 out, err = capsys.readouterr() - assert re.match(r'[0-9]+\.[0-9a-z]+\.[0-9]', out) + assert re.match(r'[0-9]+\.[0-9]+[\.a][0-9]', out) assert err == '' diff --git a/setup.py b/setup.py index 2394c419..cc5bfb31 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ # This call to setup() does all the work setup( name="meshtastic", - version="1.3alpha0.1", + version="1.3alpha.1", description="Python API & client shell for talking to Meshtastic devices", long_description=long_description, long_description_content_type="text/markdown",