Skip to content

[core] python 3.7/3.8 support broken

What commit version of aidge do you use

Problem description

The script aidge_core/show_graphview.py uses dict, list type hints available only from python 3.9+.

A side effect for instance is that the CI pip release builds on dev branch are broken for CI build with python 3.8.

Reproducible example code

Just execute on python 3.8: aidge_core/show_graphview.py

Proposal

I could either:

  • propose a fix for the script to be python 3.7+ compatible
  • wait for a decision on this discussion aidge#165 (closed)

Please advise.

Additional context

As far as I'm concerned, python >=3.10 would be fine as it is available since Ubuntu 22.04.

Ref also to discussion aidge#165 (closed).