webknossos-libs icon indicating copy to clipboard operation
webknossos-libs copied to clipboard

Support Python 3.10

Open hotzenklotz opened this issue 4 years ago • 3 comments

Looks like Python 3.9 does not yet work with wkcuber.

https://github.com/scalableminds/webknossos-cuber/runs/1571097340?check_suite_focus=true

hotzenklotz avatar Dec 17 '20 15:12 hotzenklotz

It also does not work with webknossos. With Python 3.9 I get:

TypeError: Invalid first argument to `register()`. typing.Literal['color', 'segmentation'] is not a class.

for a simple:

import webknossos as wk

Please restrict the PyPi dependencies accordingly or run unit test also against 3.9 & 3.10. False badges in README.md do not help anyone ...

erjel avatar Apr 29 '22 17:04 erjel

Thanks for letting us know.

Please restrict the PyPi dependencies accordingly or run unit test also against 3.9 & 3.10. False badges in README.md do not help anyone ...

That's unfortunate. This are inferred automatically from the pyproject.toml. It seems newer versions are underspecified there. Will fix that.

hotzenklotz avatar May 02 '22 12:05 hotzenklotz

wk-libs supports Python 3.9 in the meantime, and the badges in the Readme are fixed. Python 3.10 is not tested yet and might not work.

jstriebel avatar Jun 09 '22 13:06 jstriebel