pyOCD icon indicating copy to clipboard operation
pyOCD copied to clipboard

Increase supported python version to >=3.7.0

Open dvzrv opened this issue 2 years ago • 6 comments

Increase supported python version to >= 3.7.0

dvzrv avatar Feb 09 '22 22:02 dvzrv

Is there a reason to not support Python 3.6? I actually need it for one of the projects I work on due to the OS version and available packages. So I suspect other users also still need it.

flit avatar Feb 13 '22 22:02 flit

Btw, sorry for the slow replies this week, I've been moving into a new house.

flit avatar Feb 13 '22 22:02 flit

Is there a reason to not support Python 3.6? I actually need it for one of the projects I work on due to the OS version and available packages. So I suspect other users also still need it.

Python 3.6 is not supported by upstream anymore, so there is no reason to support it in downstreams. FWIW, prettytable now also only supports >= 3.7

dvzrv avatar Jun 07 '22 16:06 dvzrv

It appears that you have bumped the supported version of prettytable to < 4.0.0 in https://github.com/pyocd/pyOCD/pull/1359 ~~, so I guess this can be closed~~.

Dropping support for python 3.6 is nonetheless a good idea and should be done as soon as possible, as it prevents using newer language features, etc.

dvzrv avatar Jun 07 '22 16:06 dvzrv

I've rebased the commits on top of current default branch

dvzrv avatar Jun 07 '22 17:06 dvzrv

Ping?

dvzrv avatar Aug 27 '22 08:08 dvzrv

Fyi, I've created a new PR #1477 based on this one, with a few minor changes like removing the dataclasses dependency.

flit avatar Nov 23 '22 16:11 flit