jetperch / pyjoulescope_ui

Joulescope graphical user interface
https://www.joulescope.com
Apache License 2.0
75 stars 23 forks source link

Software update action incorrect when running python package #192

Closed mliberty1 closed 1 year ago

mliberty1 commented 1 year ago

Joulescope model

JS220

UI version

1.0.19

What OS are you seeing the problem on?

Windows 11

What happened?

The software update feature as implemented downloads a new release installer. However, when running from python, the desired action is to update python:

<python> -m pip install -U --upgrade-strategy=eager joulescope_ui

What was expected?

The software update feature should not download an installer.

How to reproduce?

From source, bump down the version in pyjoulescope_ui/joulescope_ui/version.py. Run from source. Follow the software update prompt, which downloads and launches he installer.

Extra information

No response