fix: release with python3.8
Context
There are issues in the aidge_core CI Release with Python3.8 like "TypeError: 'type' object is not subscriptable"
- Python3.8 doesn't support the newer type hinting syntax, requiring
from typing import Optional, Union, List
instead - The
|
syntax for union types was introduced in Python3.10 -
is_relative_to()
method was introduced in Python 3.9
This MR aims at fixing these.
Merge request reports
Activity
changed milestone to %aidge_core - v0.4.0
assigned to @pineapple
added 7 commits
-
b0127ee9...35e890ba - 6 commits from branch
dev
- 0214c5bb - fix: release with python3.8
-
b0127ee9...35e890ba - 6 commits from branch
enabled an automatic merge when all merge checks for 0214c5bb pass
mentioned in commit 3c4b68ec
@pineapple @gregkub Don't we have a 3.9 dependance with setuptools-scm ?
Here is the linked issue. I don’t seem to have noted the exact required python version but it happens at least on 3.7. You can try locally by running cibuilwheel with specific python version. To do that check the related section in pyprojet.toml aidge#177 (closed)
mentioned in issue #203 (closed)