evolvablehardware / evolvablehardware/BitstreamEvolution

README Update Suggestion

Open
#16 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
18
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Hello, I've been working with BitstreamEvolution for a bit and wanted to note a possible inconsistency with the README, as it may help future people who use the repo.

Specifically, the README states that BitstreamEvolution requires Python version 3.7 or higher. Personally, I encountered an error when running evolve.py when using Python 3.8:

This was thrown for the Circuit.py file, line 33

in Circuit def get_bitstream(self) -> list[int]: TypeError: 'type' object is not subscriptable

After looking up the issue, it seemed like this is a type hinting feature only supported by Python version 3.9 and higher. This was confirmed when the issue went away for me after switching to Python 3.9. Would making this change to the README be helpful?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.