pyvisa / pyvisa-py

A pure python PyVISA backend
https://pyvisa-py.readthedocs.io
MIT License
282 stars 120 forks source link

python 3.8 syntax breaks 3.7 compatibility #346

Closed ianccole closed 1 year ago

ianccole commented 1 year ago

https://github.com/pyvisa/pyvisa-py/blob/756152a97da3e7783d24b74fa09ae461eb92c787/pyvisa_py/tcpip.py#L1329

installing using pip3 install pyvisa-py on debian 10 (python 3.7.3) leads to no support for TCPIP

The above referenced line prevents the registration of TCP handlers TCPIPInstrSession, TCPIPSocketSession

MatthieuDartiailh commented 1 year ago

This will be fixed in 0.6.1 (PR #349) since the origin of the regression is minor but please note that 3.7 is not officially supported anymore.

MatthieuDartiailh commented 1 year ago

I will likely cut the release sometimes next week but if you can please test against main before

MatthieuDartiailh commented 1 year ago

0.6.1 is out